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.
References
Link | Resource |
---|---|
https://access.redhat.com/errata/RHSA-2024:0412 | |
https://access.redhat.com/security/cve/CVE-2024-0562 | Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2258475 | Issue Tracking Third Party Advisory |
https://patchwork.kernel.org/project/linux-mm/patch/20220801155034.3772543-1-khazhy@google.com/ | Mailing List Patch |
Configurations
History
No history.
Information
Published : 2024-01-15 19:15
Updated : 2024-01-25 20:15
NVD link : CVE-2024-0562
Mitre link : CVE-2024-0562
CVE.ORG link : CVE-2024-0562
JSON object : View
Products Affected
redhat
- enterprise_linux
linux
- linux_kernel
CWE
CWE-416
Use After Free