CVE-2024-0340

published 9 Jan 2024 · updated 6 Nov 2026

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

4.4MediumCVSS 4.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.4 and 6.4-rc6.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel<6.4, =6.46.4
Red HatEnterprise Linux
<6.4-rc66.4-rc6

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-0340 severity on Zeptric[![CVE-2024-0340](https://zeptric.io/badge/cve/CVE-2024-0340.svg)](https://zeptric.io/cve/CVE-2024-0340)