CVE-2024-0340
Kernel: information disclosure in vhost/vhost.c:vhost_new_msg()
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Timeline
ID reserved
By redhat
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.24% · top 86% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.4.
Weakness
Affected products
kernel
- affected < 6.4-rc6
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:4.18.0-553.5.1.rt7.346.el8_10 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:4.18.0-553.5.1.el8_10 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:5.14.0-503.11.1.el9_5 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:5.14.0-503.11.1.el9_5 – < *
Red Hat · Red Hat Enterprise Linux 9.4 Extended Update Support
- unaffected 0:5.14.0-427.68.1.el9_4 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: affected
Red Hat · Red Hat Enterprise Linux 7
All versions: affected
Red Hat · Red Hat Enterprise Linux 7
All versions: affected
References (9)
- RHSA-2024:3618 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:3627 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:9315 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2025:7526 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-0340 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2257406 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://lore.kernel.org/lkml/5kn47peabxjrptkqa6dwtyus35ahf4pcj4qm4pumse33kxqpjw@mec4se5relrc/T/ (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-0340)Record last updated .