Kernel: information disclosure in vhost/vhost.c:vhost_new_msg()
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 14 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-200.
Summary
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 it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | kernel | before 6.4-rc6 | 6.4-rc6 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | 4.18.0-553.5.1.rt7.346.el8_10 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | 4.18.0-553.5.1.el8_10 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 5.14.0-503.11.1.el9_5 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 5.14.0-503.11.1.el9_5 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | — | 5.14.0-427.68.1.el9_4 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | No fix listed | CNA |
- kernel Vendor— Affected before 6.4-rc6 Fixed in 6.4-rc6 Patch available CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 4.18.0-553.5.1.rt7.346.el8_10 Patch available CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 4.18.0-553.5.1.el8_10 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 5.14.0-503.11.1.el9_5 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 5.14.0-503.11.1.el9_5 Patch available CNA
- Red Hat Enterprise Linux 9.4 Extended Update Support VendorRed Hat Affected — Fixed in 5.14.0-427.68.1.el9_4 Patch available CNA
- Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | before 6.4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.4:rc1:*:*:*:*:*:* | 6.4 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.4:rc2:*:*:*:*:*:* | 6.4 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.4:rc3:*:*:*:*:*:* | 6.4 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.4:rc4:*:*:*:*:*:* | 6.4 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.4:rc5:*:*:*:*:*:* | 6.4 rc5 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions before 6.4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.4:rc1:*:*:*:*:*:* Versions 6.4 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.4:rc2:*:*:*:*:*:* Versions 6.4 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.4:rc3:*:*:*:*:*:* Versions 6.4 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.4:rc4:*:*:*:*:*:* Versions 6.4 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.4:rc5:*:*:*:*:*:* Versions 6.4 rc5 Vulnerable ·Linux
Remediation
- Fix · CNA kernel Fixed in 6.4-rc6
Red Hat 4 advisories
- RHSA-2025:7526 Released 2025-05-14 · Red Hat rating Importantkernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.4) kernel-tools-libs-devel-5.14.0-427.68.1.el9_4, libperf-5.14.0-427.68.1.el9_4
- Red Hat Enterprise Linux AppStream EUS (v.9.4) kernel-64k-debug-devel-5.14.0-427.68.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.68.1.el9_4, kernel-64k-devel-5.14.0-427.68.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool-7.3.0-427.68.1.el9_4, kernel-5.14.0-427.68.1.el9_4, kernel-64k-5.14.0-427.68.1.el9_4 +29
- Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt-5.14.0-427.68.1.el9_4, kernel-rt-core-5.14.0-427.68.1.el9_4, kernel-rt-debug-5.14.0-427.68.1.el9_4 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt-5.14.0-427.68.1.el9_4, kernel-rt-core-5.14.0-427.68.1.el9_4, kernel-rt-debug-5.14.0-427.68.1.el9_4 +11
- RHSA-2024:9315 Released 2024-11-12 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder (v. 9) kernel-cross-headers-5.14.0-503.11.1.el9_5, kernel-tools-libs-devel-5.14.0-503.11.1.el9_5, libperf-5.14.0-503.11.1.el9_5
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-503.11.1.el9_5, kernel-64k-debug-devel-matched-5.14.0-503.11.1.el9_5, kernel-64k-devel-5.14.0-503.11.1.el9_5 +12
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.4.0-503.11.1.el9_5, kernel-5.14.0-503.11.1.el9_5, kernel-64k-5.14.0-503.11.1.el9_5 +30
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-503.11.1.el9_5, kernel-rt-core-5.14.0-503.11.1.el9_5, kernel-rt-debug-5.14.0-503.11.1.el9_5 +9
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-503.11.1.el9_5, kernel-rt-core-5.14.0-503.11.1.el9_5, kernel-rt-debug-5.14.0-503.11.1.el9_5 +11
- RHSA-2024:3627 Released 2024-06-05 · Red Hat rating Moderatekernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-core-4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-debug-4.18.0-553.5.1.rt7.346.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-core-4.18.0-553.5.1.rt7.346.el8_10, kernel-rt-debug-4.18.0-553.5.1.rt7.346.el8_10 +7
Show 1 more Red Hat advisories
- RHSA-2024:3618 Released 2024-06-05 · Red Hat rating Moderatekernel update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.5.1.el8_10, kernel-4.18.0-553.5.1.el8_10, kernel-abi-stablelists-4.18.0-553.5.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.5.1.el8_10
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2024:9315 |
| Red Hat CodeReady Linux Builder EUS (v.9.4) | Fixed | RHSA-2025:7526 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:9315 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2025:7526 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2024:3618 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2024:9315 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.4) | Fixed | RHSA-2025:7526 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2024:3618 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2024:3627 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2024:3627 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2024:9315 |
| Red Hat Enterprise Linux Real Time EUS (v.9.4) | Fixed | RHSA-2025:7526 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2024:9315 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) | Fixed | RHSA-2025:7526 |
Not affected: 2 products
- Red Hat CodeReady Linux Builder (v. 9)
- Red Hat Enterprise Linux AppStream (v. 9)
Timeline
- 2026-10-02 Threatist record created from CVE-2024-0340
- 2026-10-03 Alias added: GHSA-59h3-54m2-3jm7
- 2026-10-29 Affected versions changed · CNA
- 2026-10-29 Affected versions changed · Red Hat
References
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-0340 · CVE Program
- CVE-2024-0340 · NVD
- FIRST EPSS
- GHSA-59h3-54m2-3jm7 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-0340 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences