CVE-2024-0562

high

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.

References

https://patchwork.kernel.org/project/linux-mm/patch/[email protected]/

https://bugzilla.redhat.com/show_bug.cgi?id=2258475

https://access.redhat.com/security/cve/CVE-2024-0562

https://access.redhat.com/errata/RHSA-2024:0412

Details

Source: Mitre, NVD

Published: 2024-01-15

Updated: 2024-01-25

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.8

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

Severity: High