Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-0340: A vulnerability was found in vhost_new_msg in drivers/vhost/vhost.c in the Linux kernel, which does not proper

24
Routine
MEDIUM 4.4WATCHLISTUPGRADE

CVE-2024-0340 is a medium-severity flaw (CVSS 4.4) affecting linux kernel. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score4.4 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededHigh
User interactionNone
EPSS exploit chance0.2% (top 86%)
CISA exploited listNo
WeaknessCWE-200
Published2024-01-09
Last modified2026-10-29
Publisher (CNA): Red Hat, Inc. · Vendor: linux

Share: LinkedIn · X · Reddit

Last updated 2026-10-29 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

linux linux kernel UPGRADE
Affected: < 6.4 · 6.4 rc1 · 6.4 rc2 · 6.4 rc3 · 6.4 rc4 · 6.4 rc5
Fixed in: 6.4
Safe to downgrade to: no unaffected older release
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-0340?

linux kernel: upgrade to 6.4. Exact commands for each OS are on this page.

Is CVE-2024-0340 being exploited?

CVE-2024-0340 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-0340 affect?

CVE-2024-0340 affects linux kernel. Severity is medium (CVSS 4.4). 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()

How urgent is CVE-2024-0340?

Priority 24/100. On your watchlist

Software pages

Linux kernel vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.