CVE-2024-0340: Kernel: information disclosure in vhost/vhost.c:vhost_new_msg()
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.23% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: git.kernel.org/pub/scm/linux/kernel kernel 6.4-rc6.
Low priority for now. Upgrade to git.kernel.org/pub/scm/linux/kernel kernel 6.4-rc6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Jan 9, 2024
- Updated
- Oct 29, 2026
- EPSS
- 0.2% · 14th percentile
- CWE
- CWE-200
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.5
- CNA · redhat
- 4.4
- 1.1 point gap
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernelbefore 6.4
- linux linux kernel6.4
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
git.kernel.org/pub/scm/linux/kernel kernel
- before 6.4-rc6affected · semver
Red Hat Red Hat Enterprise Linux 6
- all versionsaffected
Red Hat Red Hat Enterprise Linux 7
- all versionsaffected
- all versionsaffected
Red Hat Red Hat Enterprise Linux 8
- 0:4.18.0-553.5.1.rt7.346.el8_10 and laternot affected · rpm
- 0:4.18.0-553.5.1.el8_10 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9
- 0:5.14.0-503.11.1.el9_5 and laternot affected · rpm
- 0:5.14.0-503.11.1.el9_5 and laternot affected · rpm
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support
- 0:5.14.0-427.68.1.el9_4 and laternot affected · rpm
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | kernel-rt | before 4.18.0-553.5.1.rt7.346.el8_10 | 4.18.0-553.5.1.rt7.346.el8_10 |
| AlmaLinux:8 | kernel-rt-core | before 4.18.0-553.5.1.rt7.346.el8_10 | 4.18.0-553.5.1.rt7.346.el8_10 |
| AlmaLinux:8 | kernel-rt-debug | before 4.18.0-553.5.1.rt7.346.el8_10 | 4.18.0-553.5.1.rt7.346.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-core | before 4.18.0-553.5.1.rt7.346.el8_10 | 4.18.0-553.5.1.rt7.346.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-devel | before 4.18.0-553.5.1.rt7.346.el8_10 | 4.18.0-553.5.1.rt7.346.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-kvm | before 4.18.0-553.5.1.rt7.346.el8_10 | 4.18.0-553.5.1.rt7.346.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules | before 4.18.0-553.5.1.rt7.346.el8_10 | 4.18.0-553.5.1.rt7.346.el8_10 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | before 4.18.0-553.5.1.rt7.346.el8_10 | 4.18.0-553.5.1.rt7.346.el8_10 |
| AlmaLinux:8 | kernel-rt-devel | before 4.18.0-553.5.1.rt7.346.el8_10 | 4.18.0-553.5.1.rt7.346.el8_10 |
| AlmaLinux:8 | kernel-rt-kvm | before 4.18.0-553.5.1.rt7.346.el8_10 | 4.18.0-553.5.1.rt7.346.el8_10 |
| AlmaLinux:8 | kernel-rt-modules | before 4.18.0-553.5.1.rt7.346.el8_10 | 4.18.0-553.5.1.rt7.346.el8_10 |
| AlmaLinux:8 | kernel-rt-modules-extra | before 4.18.0-553.5.1.rt7.346.el8_10 | 4.18.0-553.5.1.rt7.346.el8_10 |
| Debian:12 | linux | before 6.1.82-1 | 6.1.82-1 |
| Debian:13 | linux | before 6.4.4-1 | 6.4.4-1 |
| openSUSE:Leap 15.5 | dtb-aarch64 | before 5.14.21-150500.55.49.1 | 5.14.21-150500.55.49.1 |
| openSUSE:Leap 15.5 | kernel-64kb | before 5.14.21-150500.55.49.1 | 5.14.21-150500.55.49.1 |
| openSUSE:Leap 15.5 | kernel-azure | before 5.14.21-150500.33.34.1 | 5.14.21-150500.33.34.1 |
| openSUSE:Leap 15.5 | kernel-debug | before 5.14.21-150500.55.49.1 | 5.14.21-150500.55.49.1 |
| openSUSE:Leap 15.5 | kernel-default | before 5.14.21-150500.55.49.1 | 5.14.21-150500.55.49.1 |
| openSUSE:Leap 15.5 | kernel-default-base | before 5.14.21-150500.55.49.1.150500.6.21.2 | 5.14.21-150500.55.49.1.150500.6.21.2 |
| openSUSE:Leap 15.5 | kernel-docs | before 5.14.21-150500.55.49.1 | 5.14.21-150500.55.49.1 |
| openSUSE:Leap 15.5 | kernel-kvmsmall | before 5.14.21-150500.55.49.1 | 5.14.21-150500.55.49.1 |
| openSUSE:Leap 15.5 | kernel-obs-build | before 5.14.21-150500.55.49.1 | 5.14.21-150500.55.49.1 |
| openSUSE:Leap 15.5 | kernel-obs-qa | before 5.14.21-150500.55.49.1 | 5.14.21-150500.55.49.1 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2022-2588Jan 8, 2024 · It was discovered that the cls_route filter implementation in the Linux kernel would not remove an old filter from the hashtable before free33Monitor
- ← EarlierCVE-2022-2602Jan 8, 2024 · io_uring UAF, Unix SCM garbage collection28Monitor
- Later →CVE-2023-51780Jan 11, 2024 · An issue was discovered in the Linux kernel before 6.6.8.28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| git.kernel.org/pub/scm/linux/kernel kernel | 6.4-rc6 | Vendor (CNA) |
| almalinux:kernel-rt | 4.18.0-553.5.1.rt7.346.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-core | 4.18.0-553.5.1.rt7.346.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug | 4.18.0-553.5.1.rt7.346.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-core | 4.18.0-553.5.1.rt7.346.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-devel | 4.18.0-553.5.1.rt7.346.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-kvm | 4.18.0-553.5.1.rt7.346.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-modules | 4.18.0-553.5.1.rt7.346.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-debug-modules-extra | 4.18.0-553.5.1.rt7.346.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-devel | 4.18.0-553.5.1.rt7.346.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-kvm | 4.18.0-553.5.1.rt7.346.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-modules | 4.18.0-553.5.1.rt7.346.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:kernel-rt-modules-extra | 4.18.0-553.5.1.rt7.346.el8_10 · AlmaLinux:8 | Package registry (OSV) |
| debian:linux | 6.1.82-1 · Debian:12 | Package registry (OSV) |
| opensuse:dtb-aarch64 | 5.14.21-150500.55.49.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-64kb | 5.14.21-150500.55.49.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-azure | 5.14.21-150500.33.34.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-debug | 5.14.21-150500.55.49.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-default | 5.14.21-150400.24.108.1 · openSUSE:Leap Micro 5.3 | Package registry (OSV) |
| opensuse:kernel-default-base | 5.14.21-150400.24.108.1.150400.24.50.2 · openSUSE:Leap Micro 5.3 | Package registry (OSV) |
| opensuse:kernel-docs | 5.14.21-150500.55.49.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-kvmsmall | 5.14.21-150500.55.49.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-obs-build | 5.14.21-150500.55.49.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-rt | 5.14.21-150400.15.68.1 · openSUSE:Leap Micro 5.3 | Package registry (OSV) |
| opensuse:kernel-source-azure | 5.14.21-150500.33.34.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-syms-azure | 5.14.21-150500.33.34.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:7.3.0-427.68.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-427.68.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-427.68.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-427.68.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
+25
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-36910142 days apartuio_hv_generic: Don't free decrypted memory33Monitor
- CVE-2024-2686499 days aparttcp: Fix refcnt handling in __inet_hash_connect().31Monitor
- CVE-2024-36955142 days apartALSA: hda: intel-sdw-acpi: fix usage of device_get_named_child_node()30Monitor
- CVE-2021-47403133 days apartipack: ipoctal: fix module reference leak28Monitor
- CVE-2022-0850498 days apartA vulnerability was found in linux kernel, where an information leak occurs via ext4_extent_header to userspace.28Monitor
- CVE-2021-3714504 days apartA flaw was found in the Linux kernels memory deduplication mechanism.23Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-200 · Exposure of Sensitive Information to an Unauthorized ActorCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Root cause
The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.
The bug in code
The whole CWE-200 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
{
"permissions": ["tabs", "<all_urls>"],
"background": { "service_worker": "analytics.js" }
}Fixed
{
"permissions": ["activeTab"],
"host_permissions": ["https://yildiz.example/*"]
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- ExcavationCAPEC-116likelihood: High · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
- FootprintingCAPEC-169likelihood: High · Very Low
- Exploiting Trust in ClientCAPEC-22likelihood: High · High
- FingerprintingCAPEC-224likelihood: High · Very Low
- ICMP Echo Request PingCAPEC-285likelihood: Medium · Low
- TCP SYN ScanCAPEC-287Low
- Enumerate Mail Exchange (MX) RecordsCAPEC-290Low
ATT&CK techniques
- System Service DiscoveryT1007
- System Network Configuration DiscoveryT1016
- Remote System DiscoveryT1018
- System Owner/User DiscoveryT1033
- Masquerading: Match Legitimate Name or LocationT1036.005
- Network Service ScanningT1046
- System Network Connections DiscoveryT1049
- Process DiscoveryT1057
- Permission Groups DiscoveryT1069
- System Information DiscoveryT1082
- File and Directory DiscoveryT1083
- Account DiscoveryT1087
- Multi-Factor Authentication InterceptionT1111
- Peripheral Device DiscoveryT1120
- System Time DiscoveryT1124
- Access Token Manipulation:Token Impersonation/TheftT1134.001
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- access.redhat.com/errata/RHSA-2024:3627
- access.redhat.com/errata/RHSA-2024:9315
- access.redhat.com/errata/RHSA-2025:7526
- access.redhat.com/security/cve/CVE-2024-0340
- bugzilla.redhat.com/show_bug.cgi?id=2257406
- lore.kernel.org/lkml/5kn47peabxjrptkqa6dwtyus35ahf4pcj4qm4pumse33kxqpjw@mec4se5relrc/T/
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.