CVE Database
/

CVE-2024-0340

Back to search

CVE-2024-0340

Published: Jan 9, 2024

Modified: Nov 7, 2025

PUBLISHED

CVSS v3.1

4.4

MEDIUM

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.

VendorProductVersions

Unknown

kernel

affected
0 - < 6.4-rc6

Red Hat

Red Hat Enterprise Linux 8

unaffected
0:4.18.0-553.5.1.rt7.346.el8_10 - < *

Red Hat

Red Hat Enterprise Linux 8

unaffected
0:4.18.0-553.5.1.el8_10 - < *

Red Hat

Red Hat Enterprise Linux 9

unaffected
0:5.14.0-503.11.1.el9_5 - < *

Red Hat

Red Hat Enterprise Linux 9

unaffected
0:5.14.0-503.11.1.el9_5 - < *

Red Hat

Red Hat Enterprise Linux 9.4 Extended Update Support

unaffected
0:5.14.0-427.68.1.el9_4 - < *

Red Hat

Red Hat Enterprise Linux 6

All versions

Red Hat

Red Hat Enterprise Linux 7

All versions

Red Hat

Red Hat Enterprise Linux 7

All versions

Red Hat

Red Hat Enterprise Linux 9

All versions

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

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

Attack Vector

Local

Attack Complexity

Low

Privileges Required

High

User Interaction

None

Scope

Unchanged

Confidentiality

High

Integrity

None

Availability

None

References

RHSA-2024:3618
vendor-advisory
x_refsource_REDHAT
RHSA-2024:3627
vendor-advisory
x_refsource_REDHAT
RHSA-2024:9315
vendor-advisory
x_refsource_REDHAT
RHSA-2025:7526
vendor-advisory
x_refsource_REDHAT
RHBZ#2257406
issue-tracking
x_refsource_REDHAT

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now