« List of all CVEs

CVE-2024-0340

Kernel: information disclosure in vhost/vhost.c:vhost_new_msg()

Published: 1/9/2024 Last updated: 11/7/2025 Reserved: 1/9/2024

A vulnerability was found in vhost_new_msg in drivers/vhost/vhost.c in the Linux kernel, which does not properly initialize memory in messages passed between virtual guests and the host operating system in the vhost/vhost.c:vhost_new_msg() function. This issue can allow local privileged users to read some kernel memory contents when reading from the /dev/vhost-net device file.

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

Metrics

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

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 (20)

Product Vendor Version
22.1.1
Red Hat Enterprise Linux 8 Red Hat 6.6
Red Hat Enterprise Linux 9 Red Hat < 6.6
Red Hat Enterprise Linux 9 Red Hat < 6.1.7601.25829
Red Hat Enterprise Linux 9.4 Extended Update Support Red Hat <= 6.6.*
Red Hat Enterprise Linux 6 Red Hat < 10.0.14393.7969
Red Hat Enterprise Linux 7 Red Hat <= 6.8.*
Red Hat Enterprise Linux 8 Red Hat 7 for x64-based Systems Service Pack 1
Red Hat Enterprise Linux 9 Red Hat Windows 10 Version 1607 for 32-bit Systems
Red Hat Enterprise Linux 9 Red Hat < R147-V6
Red Hat Enterprise Linux 9.4 Extended Update Support Red Hat 22.2
Red Hat Enterprise Linux 6 Red Hat 7.3(0)D1(1)
Red Hat Enterprise Linux 7 Red Hat 8.1 for 32-bit systems
< 6.1.7601.25829
Red Hat Enterprise Linux 8 Red Hat 6.0(2)A6(5b)
Red Hat Enterprise Linux 7 Red Hat <= 6.9.*
Red Hat Enterprise Linux 7 Red Hat Windows 10 Version 1607 for x64-based Systems
Red Hat Enterprise Linux 9 Red Hat 6.2(17a)
Red Hat Enterprise Linux 9 Red Hat n/a
Red Hat Enterprise Linux 8 Red Hat < 10.0.14393.7969

References (28)