CVE-2024-0340: A vulnerability was found in vhost_new_msg in drivers/vhost/vhost.c in the Linux kernel, which does not proper
CVE-2024-0340 is a medium-severity flaw (CVSS 4.4) affecting linux kernel. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.4 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 86%) |
| CISA exploited list | No |
| Weakness | CWE-200 |
| Published | 2024-01-09 |
| Last modified | 2026-10-29 |
Last updated 2026-10-29 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-0340?
linux kernel: upgrade to 6.4. Exact commands for each OS are on this page.
Is CVE-2024-0340 being exploited?
CVE-2024-0340 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-0340 affect?
CVE-2024-0340 affects linux kernel. Severity is medium (CVSS 4.4). 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()
How urgent is CVE-2024-0340?
Priority 24/100. On your watchlist
Software pages
Related CVEs
- CVE-2026-63889 HIGH 8.1 UPGRADE In the Linux kernel, the following vulnerability has been resolved: scsi: scsi_transport_fc: Widen FPIN pname
- CVE-2026-98059 MEDIUM 5.5 UPGRADE In the Linux kernel, the following vulnerability has been resolved: bpf: Mark sched_process_wait argument as
- CVE-2026-46300 HIGH 7.8 EXPLOITED UPGRADE UPGRADE Linux Kernel Missing Initialization of a Variable Vulnerability
- CVE-2026-64024 CRITICAL 9.4 UPGRADE In the Linux kernel, the following vulnerability has been resolved: tcp: fix stale per-CPU tcp_tw_isn leak en
- CVE-2023-53676 HIGH 8.8 UPGRADE In the Linux kernel, the following vulnerability has been resolved: scsi: target: iscsi: Fix buffer overflow