Bug 1228139 (CVE-2024-0562) - VUL-0: CVE-2024-0562: kernel: use-after-free after removing device in wb_inode_writeback_end in mm/page-writeback.c
Summary: VUL-0: CVE-2024-0562: kernel: use-after-free after removing device in wb_inod...
Status: NEW
Alias: CVE-2024-0562
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/391216/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-0562:4.5:(AV:L...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-19 09:46 UTC by SMASH SMASH
Modified: 2024-07-19 10:15 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-07-19 09:46:01 UTC
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:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-0562
https://bugzilla.redhat.com/show_bug.cgi?id=2258475
https://www.cve.org/CVERecord?id=CVE-2024-0562
https://access.redhat.com/security/cve/CVE-2024-0562
https://patchwork.kernel.org/project/linux-mm/patch/20220801155034.3772543-1-khazhy@google.com/
https://access.redhat.com/errata/RHSA-2024:0412