CVE-2024-0340

Executive Summary

CVE-2024-0340 exposes a flaw in the Linux kernel’s vhost_new_msg() routine, where uninitialized memory in messages exchanged between virtual guests and the host can be read via /dev/vhost-net. Local users with sufficient privileges can exploit this to leak kernel memory contents, potentially aiding further attacks. The vulnerability is not yet listed in CISA KEV.


Authoritative CVE Metadata

  • CVSS Base Score: 4.4 (MEDIUM)
  • Last Modified: 29-10-26

Original 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.