CVE-2024-0562

published 15 Jan 2024 · updated 5 Nov 2026

Kernel: use-after-free after removing device in wb_inode_writeback_end in mm/page-writeback.c

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.164, Kernel 5.19.6 and 6.0-rc3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.15 <5.15.164, >=5.16 <5.19.6, =6.05.15.164, 5.19.6
Red HatEnterprise Linux
Red HatVirtualization
redhatenterprise_linux=9.0, =8.0
<6.0-rc36.0-rc3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-0562 severity on Zeptric[![CVE-2024-0562](https://zeptric.io/badge/cve/CVE-2024-0562.svg)](https://zeptric.io/cve/CVE-2024-0562)