Use After Free in Linux Kernel
CVE-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 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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 17.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel — versions 6.0
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux — versions 8.0, 9.0
Weakness classification (CWE)
References
- access.redhat.com/errata/RHSA-2024:0412 (vendor-advisory, Third Party Advisory)
- access.redhat.com/security/cve/CVE-2024-0562 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- patchwork.kernel.org/project/linux-mm/patch/20220801155034.3772543-1-khazhy@goo… (Patch, Mailing List)