CVE-2024-0562
published 2024-01-15CVE-2024-0562: 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…
PriorityP341high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.25%
17.0th percentile
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
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.19.6-1 (bookworm) | linux 5.19.6-1 (bookworm) |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.19.6-1 | 5.19.6-1 |
| linux | linux_kernel | >= 0 < 5.19.6-1 | 5.19.6-1 |
| linux | linux_kernel | >= 0 < 5.19.6-1 | 5.19.6-1 |
| linux | linux_kernel | >= 5.15 < 5.15.164 | 5.15.164 |
| linux | linux_kernel | >= 5.16 < 5.19.6 | 5.19.6 |
| msrc | cbl2_kernel_5.15.153.1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_kernel_5.15.164.1-1_on_cbl_mariner_2.0 | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
Kernel: use-after-free after removing device in wb_inode_writeback_end in mm/page-writeback.c
vendor_msrc·2024-01-09·CVSS 7.8
CVE-2024-0562 [HIGH] CWE-416 Kernel: use-after-free after removing device in wb_inode_writeback_end in mm/page-writeback.c
Kernel: use-after-free after removing device in wb_inode_writeback_end in mm/page-writeback.c
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Ma
Debian
CVE-2024-0562: linux - A use-after-free flaw was found in the Linux Kernel. When a disk is removed, bdi...
vendor_debian·2024·CVSS 7.8
CVE-2024-0562 [HIGH] CVE-2024-0562: linux - A use-after-free flaw was found in the Linux Kernel. When a disk is removed, bdi...
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.
Scope: local
bookworm: resolved (fixed in 5.19.6-1)
bullseye: resolved
forky: resolved (fixed in 5.19.6-1)
sid: resolved (fixed in 5.19.6-1)
trixie: resolved (fixed in 5.19.6-1)
Red Hat
kernel: use-after-free after removing device in wb_inode_writeback_end in mm/page-writeback.c
vendor_redhat·2023-03-10·CVSS 7.8
CVE-2024-0562 [HIGH] CWE-416 kernel: use-after-free after removing device in wb_inode_writeback_end in mm/page-writeback.c
kernel: use-after-free after removing device in wb_inode_writeback_end in mm/page-writeback.c
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.
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 recent
GHSA
GHSA-q94c-x56g-qr59: A use-after-free flaw was found in the Linux Kernel
ghsa_unreviewed·2024-01-15
CVE-2024-0562 [HIGH] CWE-416 GHSA-q94c-x56g-qr59: A use-after-free flaw was found in the Linux Kernel
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.
OSV
CVE-2024-0562: A use-after-free flaw was found in the Linux Kernel
osv·2024-01-15·CVSS 7.8
CVE-2024-0562 [HIGH] CVE-2024-0562: A use-after-free flaw was found in the Linux Kernel
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.
No detection rules found.
No public exploits indexed.
https://access.redhat.com/errata/RHSA-2024:0412https://access.redhat.com/security/cve/CVE-2024-0562https://bugzilla.redhat.com/show_bug.cgi?id=2258475https://patchwork.kernel.org/project/linux-mm/patch/[email protected]/https://access.redhat.com/errata/RHSA-2024:0412https://access.redhat.com/security/cve/CVE-2024-0562https://bugzilla.redhat.com/show_bug.cgi?id=2258475https://patchwork.kernel.org/project/linux-mm/patch/[email protected]/
2024-01-15
Published