« List of all CVEs

CVE-2024-0562

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

Published: 1/15/2024 Last updated: 6/17/2025 Reserved: 1/15/2024

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.

CNA assigner: redhat (53f830b8-0a3f-465b-8143-3b8a9948e749) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 7.8 High CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Opam packages affected (27)

albatross cdrom conf-bpftool conf-libbpf conf-linux-libc-dev core core_unix hvsock mirage-block-unix mm ocaml-probes orun rawlink rawlink-eio rawlink-lwt shell solo5 solo5-bindings-hvt solo5-bindings-spt solo5-cross-aarch64 solo5-kernel-ukvm tracy-client tuntap uring vhd-format vhd-format-lwt xapi-stdext-unix

Products affected (10)

Product Vendor Version
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 Red Hat Robotics RB3 Platform
Red Hat Enterprise Linux 9 Red Hat n/a
QCS4290
Red Hat Enterprise Linux 6 Red Hat SA6155P
Red Hat Enterprise Linux 7 Red Hat n/a
Red Hat Enterprise Linux 8.6 Extended Update Support Red Hat QCS4490
Red Hat Enterprise Linux 8 Red Hat n/a
Red Hat Enterprise Linux 9 Red Hat n/a
Red Hat Enterprise Linux 7 Red Hat n/a
Red Hat Enterprise Linux 8 Red Hat < a75b8f493dfc48aa38c518430bd9e03b53bffebe

References (8)