Vulnerabilities · 2024 · Linux
CVE-2024-0340
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugzilla.redhat.com/show_bug.cgi?id=2257406 · Patch
- lore.kernel.org/lkml/5kn47peabxjrptkqa6dwtyus35ahf4pcj4qm4pumse33kxqpjw@mec4se5relrc/T/ · Patch
- access.redhat.com/security/cve/CVE-2024-0340 · Third Party Advisory
- access.redhat.com/errata/RHSA-2024:3618
- access.redhat.com/errata/RHSA-2024:3627
- access.redhat.com/errata/RHSA-2024:9315
- access.redhat.com/errata/RHSA-2025:7526
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- nvd.nist.gov/vuln/detail/CVE-2024-0340
- cve.org/CVERecord?id=CVE-2024-0340
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.