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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
kernel
https://git.kernel.org/pub/scm/linux/kernel |
≥ 0; < 6.4-rc6 (affected, semver)
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat kernel-rt
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:4.18.0-553.5.1.rt7.346.el8_10; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat kernel
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:4.18.0-553.5.1.el8_10; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat kernel
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:5.14.0-503.11.1.el9_5; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.4 Extended Update Support Red Hat kernel
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:5.14.0-427.68.1.el9_4; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 6 Red Hat kernel
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Red Hat kernel
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Red Hat kernel-rt
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 4.4 medium |
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | CNA: redhat |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2024:3618CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:3627CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2024:9315CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:7526CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-0340CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2257406CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://lore.kernel.org/lkml/5kn47peabxjrptkqa6dwtyus35ahf4pcj4qm4pumse33kxqpjw@mec4se5relrc/T/CNA: redhat
- https://access.redhat.com/errata/RHSA-2024:3618ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2024:3627ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/security/cve/CVE-2024-0340ADP: CVE · vdb-entry, x_refsource_REDHAT, x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2257406ADP: CVE · issue-tracking, x_refsource_REDHAT, x_transferred
- https://lore.kernel.org/lkml/5kn47peabxjrptkqa6dwtyus35ahf4pcj4qm4pumse33kxqpjw@mec4se5relrc/T/ADP: CVE · x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlADP: CVE · x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlADP: CVE · x_transferred
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.