« 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: 11/15/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 (18)

Product Vendor Version
< 10.0.17763.5820
Red Hat Enterprise Linux 8.6 Extended Update Support Red Hat 6.6
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 Red Hat 7.2-LTS.4.1-JDK7
Red Hat Enterprise Linux 6 Red Hat < 10.0.10240.19685
Red Hat Enterprise Linux 7 Red Hat < 6.6
Red Hat Enterprise Linux 8.6 Extended Update Support Red Hat 1.21.0 to 1.26.11
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 Red Hat 3.3
Red Hat Enterprise Linux 6 Red Hat n/a
Red Hat Enterprise Linux 8 Red Hat < 102.8
Red Hat Enterprise Linux 9 Red Hat 1.0.0 to 1.2.14
Red Hat Enterprise Linux 8 Red Hat 7.2-RC3.2-JDK7
Red Hat Enterprise Linux 9 Red Hat < 10.0.19041.1415
ChakraCore
Red Hat Enterprise Linux 7 Red Hat 1.0
Red Hat Enterprise Linux 7 Red Hat < 6.3.8
Red Hat Enterprise Linux 9 Red Hat n/a
Red Hat Enterprise Linux 9 Red Hat <= 6.6.*
Red Hat Enterprise Linux 8 Red Hat 1.21.0 to 1.26.11

References (16)