Use-after-free vulnerability in Linux Kernel: Accessing Freed Memory in bdi_unregister

Use-after-free vulnerability in Linux Kernel: Accessing Freed Memory in bdi_unregister

CVE-2024-0562 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.