Security Resilience

CVE-2024-0340

Info Disclosure in Linux Kernel ≤ 6.4

Published
09 January 2024
Modified
06 November 2026
Patch / advisory
CVSS Score v3.1 4.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0024 15th percentile
Risk Priority 34 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-0340 is a medium-severity Exposure of Sensitive Information to an Unauthorized Actor (CWE-200) vulnerability in Linux Kernel. Its CVSS base score is 4.4 (Medium).

Operationally, ranked at the 15th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

to read some kernel memory contents when reading from the /dev/vhost-net device file.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-36910Same product: Linux Linux Kernel
CVE-2024-26864Same product: Linux Linux Kernel
CVE-2024-36955Same product: Linux Linux Kernel
CVE-2023-0597Same product: Linux Linux Kernel
CVE-2023-1075Same product: Linux Linux Kernel
CVE-2023-3439Same product: Linux Linux Kernel
CVE-2023-1281Same product: Linux Linux Kernel
CVE-2023-2008Same product: Linux Linux Kernel
CVE-2023-0468Same product: Linux Linux Kernel
CVE-2023-38429Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
6.4 · ≤ 6.4

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Access enforcement directly stops unauthorized actors from obtaining sensitive information.

Information flow enforcement structurally prevents sensitive data from reaching unauthorized recipients.

Protection of information at rest prevents unauthorized exposure of stored sensitive data.

Transmission confidentiality mechanisms stop exposure of sensitive data on the wire.

Least privilege reduces the set of actors who can reach sensitive information.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Penetration testing and vulnerability scanning are performed to discover unintended exposure of sensitive data resulting from misconfigurations or coding errors.

blocks

Restricting anonymous or unknown access and encrypting high-value information limits the exposure of sensitive data that would otherwise be obtainable by unauthorized actors.

blocks

By requiring removal or masking of sensitive operational data before it enters test environments, the control sharply reduces the chance that such data will be exposed to unauthorized actors who have access to those environments.

A.8.11 Data masking partial match
blocks

Data masking hides sensitive data from unauthorized viewers, blocking exploitation of the exposure for masked data, but it only covers data that is explicitly masked and does not address exposures from error messages, debug logs, or indirect information leaks.

finds

By continuously inspecting data flows and blocking transmissions that contain classified sensitive content, the control stops the unauthorized release of information that would otherwise occur through missing or bypassed access-control checks.

prevents

Source-code protection via configuration-management tools and access-control rules reduces the chance that sensitive implementation details or credentials will be exposed to unauthorized readers.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

References