Kernel: information disclosure in vhost/vhost.c:vhost_new_msg()

Summary

CVECVE-2024-0340
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-01-09 18:15:47 UTC
Updated2026-11-06 14:17:03 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

EPSS: 0.002350000 probability, percentile 0.144490000 (date 2026-11-06)

Problem Types: CWE-200 | NVD-CWE-noinfo | CWE-200 Exposure of Sensitive Information to an Unauthorized Actor


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
3.1[email protected]Secondary4.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
3.1CNACVSS4.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All
Operating System Linux Linux Kernel 6.4 rc1 All All
Operating System Linux Linux Kernel 6.4 rc2 All All
Operating System Linux Linux Kernel 6.4 rc3 All All
Operating System Linux Linux Kernel 6.4 rc4 All All
Operating System Linux Linux Kernel 6.4 rc5 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:4.18.0-553.5.1.rt7.346.el8_10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:4.18.0-553.5.1.el8_10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:5.14.0-503.11.1.el9_5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:5.14.0-503.11.1.el9_5 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support unaffected 0:5.14.0-427.68.1.el9_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified

References

ReferenceSourceLinkTags
lists.debian.org/debian-lts-announce/2024/06/msg00017.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
2257406 – (CVE-2024-0340) CVE-2024-0340 kernel: Information disclosure in vhost/vhost.c:vhost_new_msg() af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
access.redhat.com/errata/RHSA-2024:3618 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2025:7526 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2024:3627 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
[PATCH] vhost: use kzalloc() instead of kmalloc() followed by memset() af854a3a-2127-422b-91ae-364da2661108 lore.kernel.org Mailing List, Patch
access.redhat.com/errata/RHSA-2024:9315 [email protected] access.redhat.com
lists.debian.org/debian-lts-announce/2024/06/msg00020.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2024-01-09T00:00:00.000ZReported to Red Hat.
CNA2023-05-22T00:00:00.000ZMade public.

Legacy QID Mappings

  • 161470 Oracle Enterprise Linux Security Update for unbreakable enterprise kernel-container (ELSA-2024-12274)
  • 161471 Oracle Enterprise Linux Security Update for unbreakable enterprise kernel (ELSA-2024-12271)
  • 161472 Oracle Enterprise Linux Security Update for unbreakable enterprise kernel-container (ELSA-2024-12275)
  • 200171 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6681-1)
  • 200179 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6686-1)
  • 200182 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-6688-1)
  • 200183 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6681-2)
  • 200191 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6686-2)
  • 200192 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6681-3)
  • 200203 Ubuntu Security Notification for Linux kernel (AWS) Vulnerabilities (USN-6681-4)
  • 200206 Ubuntu Security Notification for Linux kernel (Oracle) Vulnerabilities (USN-6686-3)
  • 200208 Ubuntu Security Notification for Linux kernel (KVM) Vulnerabilities (USN-6686-4)
  • 200214 Ubuntu Security Notification for Linux kernel (AWS) Vulnerabilities (USN-6705-1)
  • 200221 Ubuntu Security Notification for Linux kernel (Azure) Vulnerabilities (USN-6716-1)
  • 200231 Ubuntu Security Notification for Linux kernel (Intel IoTG) Vulnerabilities (USN-6686-5)
  • 357301 Amazon Linux Security Advisory for kernel : ALAS2023-2024-549
  • 357317 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.4-2024-061
  • 357319 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2024-051
  • 6000567 Debian Security Update for linux (DSA 5658-1)
  • 6140439 AWS Bottlerocket Security Update for kernel (GHSA-v23w-8gv3-8rxc)
  • 673321 EulerOS Security Update for kernel (EulerOS-SA-2024-1337)
  • 673547 EulerOS Security Update for kernel (EulerOS-SA-2024-1315)
  • 673723 EulerOS Security Update for kernel (EulerOS-SA-2024-1237)
  • 673992 EulerOS Security Update for kernel (EulerOS-SA-2024-1215)
  • 674156 EulerOS Security Update for kernel (EulerOS-SA-2024-1509)
  • 674158 EulerOS Security Update for kernel (EulerOS-SA-2024-1488)
  • 755750 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0476-1)
  • 755753 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0484-1)
  • 755754 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0516-1)
  • 755755 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0515-1)
  • 755756 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0514-1)
  • 755765 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0483-1)
  • 755966 SUSE Enterprise Linux Security Update for the linux kernel (SUSE-SU-2024:0857-1)
  • 756004 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2024:0926-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report