SARA / Free Tools / CVE / CVE-2024-0562

CVE-2024-0562 — A use-after-free flaw was found in the Linux Kernel

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, w

CVSS
7.8 HIGH
EPSS
0.02% (top 95.30%)
CWE
CWE-416
Published
2024-01-15T19:01:36.947Z
Last modified
2025-11-15T08:17:20.196Z
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

01What is this vulnerability?

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.

02Affected products

VendorProductVersions
??0
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support0:4.18.0-372.87.1.el8_6
Red HatRed Hat Virtualization 4 for Red Hat Enterprise Linux 80:4.18.0-372.87.1.el8_6
Red HatRed Hat Enterprise Linux 6unspecified
Red HatRed Hat Enterprise Linux 7unspecified
Red HatRed Hat Enterprise Linux 7unspecified
Red HatRed Hat Enterprise Linux 8unspecified
Red HatRed Hat Enterprise Linux 8unspecified
Red HatRed Hat Enterprise Linux 9unspecified
Red HatRed Hat Enterprise Linux 9unspecified

03Active exploitation status

Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.

04Recommended remediation

05Technical details

For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.

06Detection signatures

Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.

07Related CVEs

No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.

08Timeline

09References

Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →