All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-0562

Probability of exploitation in the next 30 days: 0.25%

FIRST EPSS · 2026-11-24

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.

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.