« List of all CVEs

CVE-2024-0340

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

Published: 1/9/2024 Last updated: 6/17/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 (10)

Product Vendor Version
Windows 10 for x64-based Systems
Red Hat Enterprise Linux 9.4 Extended Update Support Red Hat <= 1.4.0
Red Hat Enterprise Linux 6 Red Hat Fixed in OpenSSL 3.0.1 (Affected 3.0.0)
Red Hat Enterprise Linux 7 Red Hat n/a
Red Hat Enterprise Linux 8 Red Hat < 8.5
Red Hat Enterprise Linux 9 Red Hat n/a
Red Hat Enterprise Linux 9 Red Hat < 2.8.3
Red Hat Enterprise Linux 8 Red Hat Windows 10 Version 1607 for x64-based Systems
Red Hat Enterprise Linux 7 Red Hat n/a
Red Hat Enterprise Linux 9 Red Hat n/a

References (14)