Description
A use-after-free flaw was found in the Linux Kernel. When a disk is removed, bdi_unregister is called to stop further write-back and waits for associated delayed work to complete. However, wb_inode_writeback_end() may schedule bandwidth estimation work after this has completed, which can result in the timer attempting to access the recently freed bdi_writeback.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | kernel | < 6.0-rc3 | 6.0-rc3 |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | — | — |
| Red Hat | Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 5.19.6-1 | — |
| Debian 13 | linux | 5.19.6-1 | — |
| Debian 12 | linux | 5.19.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux +1 | 5.15.0-53.59 | — |
| Ubuntu 22.04 LTS | linux-aws | 5.15.0-1023.27 | — |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1023.29 | — |
| Ubuntu 22.04 LTS | linux-azure-fde | 5.15.0-1024.30.1 | — |
| Ubuntu 22.04 LTS | linux-gcp | 5.15.0-1022.29 | — |
| Ubuntu 22.04 LTS | linux-gke | 5.15.0-1020.25 | — |
| Ubuntu 22.04 LTS | linux-gkeop | 5.15.0-1008.12 | — |
| Ubuntu 22.04 LTS | linux-ibm | 5.15.0-1018.21 | — |
| Ubuntu 22.04 LTS | linux-intel-iotg | 5.15.0-1018.23 | — |
| Ubuntu 22.04 LTS | linux-kvm | 5.15.0-1021.26 | — |
| Ubuntu 22.04 LTS | linux-nvidia | 5.15.0-1015.15 | — |
| Ubuntu 22.04 LTS | linux-oracle | 5.15.0-1022.28 | — |
| Ubuntu 22.04 LTS | linux-raspi | 5.15.0-1018.20 | — |
| Ubuntu 22.04 LTS | linux-riscv +21 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-aws-5.15 +1 | 5.15.0-1023.27~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-azure-5.15 | 5.15.0-1023.29~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-azure-fde-5.15 | 5.15.0-1029.36~20.04.1.1 | — |
| Ubuntu 20.04 LTS | linux-gcp-5.15 | 5.15.0-1022.29~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-gke +26 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gkeop-5.15 | 5.15.0-1008.12~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-hwe-5.15 +1 | 5.15.0-53.59~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1018.23~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-oracle-5.15 | 5.15.0-1022.28~20.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +13 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime | 5.15.0-1025.28 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhev Hypervisor 4 | perf +2 | 4.18.0-372.87.1.el8_6 | RHSA-2024:0412 |
| RHEL 8.6 EUS | perf +26 | 4.18.0-372.87.1.el8_6 | RHSA-2024:0412 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | kernel-livepatch-6.1.10-15.42 | 1.0-0.amzn2023 | ALAS2023-2023-070 |
| Amazon Linux 2023 | perf +12 | 6.1.10-15.42.amzn2023 | ALAS2023-2023-070 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | kernel | 5.15.153.1-1 | — |
Advisories 3
- RHSA-2024:0412 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- WID-SEC-2024-0086 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 23, 2024
- ALAS2023-2023-070 Important: kernel security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Apr 10, 2024
References
- RHSA-2024:0412 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-0562 vdb-entry
- RHBZ#2258475 issue-tracking
- https://patchwork.kernel.org/project/linux-mm/patch/20220801155034.3772543-1-khazhy@google.com/