CVE-2024-0340
CVE-2024-0340 — Kernel: information disclosure in vhost/vhost.c:vhost_new_msg()
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.
Published Updated Sources: cvelistV5, redhat
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
4.4
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (6)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 4.4 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-200
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1562.003Impair Defenses: Impair Command History Logging
- T1574.006Hijack Execution Flow: Dynamic Linker Hijacking
- T1574.007Hijack Execution Flow: Path Interception by PATH Environment Variable
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /vhost/vhost.c, /vhost.c:vhost_new_msg(), /dev/vhost-net.
References
9 on the record
- access.redhat.com/errata/RHSA-2024:3618
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2024:3627
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2024:9315
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2025:7526
vendor-advisory, x_refsource_REDHAT
- access.redhat.com/security/cve/CVE-2024-0340
vdb-entry, x_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgi?id=2257406
issue-tracking, x_refsource_REDHAT
- lore.kernel.org/lkml/5kn47peabxjrptkqa6dwtyus35ahf4pcj4qm4pumse33kxqpjw@mec4se5relrc/T/
reference
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html
x_transferred
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2022-0995 Linux Kernel Out-of-Bounds Write VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2022-0492 Linux Kernel Improper Authentication VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2018-14634 Linux Kernel Integer Overflow VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2024-50302 Linux Kernel Use of Uninitialized Resource VulnerabilityCVSS 5.5 · CISA KEV
- CVE-2026-93834 Qemu-kvm: 9pfs: use-after-free race in tlcreate/twalk allows vm guest escapeCVSS 8.8
- CVE-2026-133842 Flatpak: flatpak: flatpak-system-helper extra-data privilege escalation if canonicalizing permissions fails with emfileCVSS 8.2
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.