Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Not supplied / Not supplied | affected 0 before 6.0-rc3 |
| Red Hat / Red Hat Enterprise Linux 8.6 Extended Update Support | unaffected 0:4.18.0-372.87.1.el8_6 before * |
| Red Hat / Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | unaffected 0:4.18.0-372.87.1.el8_6 before * |
| Red Hat / Red Hat Enterprise Linux 6 | unaffected |
| Red Hat / Red Hat Enterprise Linux 7 | unaffected |
| Red Hat / Red Hat Enterprise Linux 7 | unaffected |
| Red Hat / Red Hat Enterprise Linux 8 | affected |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected |
CWE
CWE-416
References
- https://access.redhat.com/errata/RHSA-2024:0412
- https://access.redhat.com/security/cve/CVE-2024-0562
- https://bugzilla.redhat.com/show_bug.cgi?id=2258475
- https://patchwork.kernel.org/project/linux-mm/patch/20220801155034.3772543-1-khazhy@google.com/
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.