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.
Problem types
Product status
Any version before 6.0-rc3
0:4.18.0-372.87.1.el8_6 (rpm) before *
0:4.18.0-372.87.1.el8_6 (rpm) before *
Timeline
| 2024-01-15: | Reported to Red Hat. |
| 2023-03-10: | Made public. |
References
access.redhat.com/errata/RHSA-2024:0412 (RHSA-2024:0412)
access.redhat.com/security/cve/CVE-2024-0562
bugzilla.redhat.com/show_bug.cgi?id=2258475 (RHBZ#2258475)
patchwork.kernel.org/...1155034.3772543-1-khazhy@google.com/
access.redhat.com/errata/RHSA-2024:0412 (RHSA-2024:0412)
access.redhat.com/security/cve/CVE-2024-0562
bugzilla.redhat.com/show_bug.cgi?id=2258475 (RHBZ#2258475)
patchwork.kernel.org/...1155034.3772543-1-khazhy@google.com/