CVE-2024-0340
Kernel: information disclosure in vhost/vhost.c:vhost_new_msg()
CVSS 3.1 4.4 MEDIUMCheck source for fixed versionsKEV status unknown
cve-program · CVE-2024-0340
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2024-0340 · CVE overview and exploitation status
cve-program · CVE-2024-0340
- https://access.redhat.com/errata/RHSA-2024:3618
- https://access.redhat.com/errata/RHSA-2024:3627
- https://access.redhat.com/errata/RHSA-2024:9315
- https://access.redhat.com/errata/RHSA-2025:7526
- https://access.redhat.com/security/cve/CVE-2024-0340
- https://bugzilla.redhat.com/show_bug.cgi?id=2257406
- https://lore.kernel.org/lkml/5kn47peabxjrptkqa6dwtyus35ahf4pcj4qm4pumse33kxqpjw@mec4se5relrc/T/
Related changes
Linked by CVE identifier- Kernel: information disclosure in vhost/vhost.c:vhost_new_msg() · Affected-version evidence changed · 6 Nov 2026
- Kernel: information disclosure in vhost/vhost.c:vhost_new_msg() · Affected-version evidence changed · 29 Oct 2026