Skip to main content
Network Thinking Solutions Logo

CVE-2024-0340

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.

All CVEs
CVE-2024-0340Published 1/9/2024

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.

Vendor advisory
CVSS 3.15.5Medium

Overview

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
1/9/2024
Last modified
11/27/2026
CVE assigner
redhat
NVD analysis
Modified

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 6.4

Verify advisory

Source
linux kernel
linux
6.4

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

access.redhat.com/errata/RHSA-2024:3618vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2024:3627vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2024:9315vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:7526vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2024:3618vendor-advisory · x_refsource_REDHAT · x_transferred
access.redhat.com/errata/RHSA-2024:3627vendor-advisory · x_refsource_REDHAT · x_transferred
bugzilla.redhat.com/show_bug.cgi?id=2257406Issue Tracking · Patch · Third Party Advisory

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

4.4 · Medium CVSS 3.1

Scored by redhat

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

4.4 · Medium CVSS 3.1

Scored by secalert@redhat.com

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

5.5 · Medium CVSS 3.1

Scored by nvd@nist.gov

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

Related weaknesses

Sources & references

access.redhat.com/errata/RHSA-2024:3618
vendor-advisory
x_refsource_REDHAT
x_transferred
access.redhat.com/errata/RHSA-2024:3627
vendor-advisory
x_refsource_REDHAT
x_transferred
access.redhat.com/errata/RHSA-2024:9315
vendor-advisory
x_refsource_REDHAT
access.redhat.com/errata/RHSA-2025:7526
vendor-advisory
x_refsource_REDHAT
access.redhat.com/security/cve/CVE-2024-0340
vdb-entry
x_refsource_REDHAT
x_transferred
Third Party Advisory
bugzilla.redhat.com/show_bug.cgi?id=2257406
issue-tracking
x_refsource_REDHAT
x_transferred
Issue Tracking
Patch
Third Party Advisory

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.