CVE-2024-0340

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

At a glance

Severity
MEDIUM 4.4
EPSS
EPSS 0.24 % · percentile 14 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

Description

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.

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:Nredhat
CVSS 3.1MEDIUM 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:NNVD · secalert@redhat.com (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD · nvd@nist.gov (Primary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
kernelaffected 0 < 6.4-rc6
Red Hat · Red Hat Enterprise Linux 8unaffected 0:4.18.0-553.5.1.rt7.346.el8_10 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 0:4.18.0-553.5.1.el8_10 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:5.14.0-503.11.1.el9_5 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:5.14.0-503.11.1.el9_5 < *
Red Hat · Red Hat Enterprise Linux 9.4 Extended Update Supportunaffected 0:5.14.0-427.68.1.el9_4 < *
Red Hat · Red Hat Enterprise Linux 6
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat Enterprise Linux 9

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD