# CVE-2024-0340: Kernel: information disclosure in vhost/vhost.c:vhost_new_msg()

Status: published. Published: 2024-01-09. Updated: 2026-11-06.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

-  /  (kernel): ≥ 0; < 6.4-rc6 (affected, semver). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (kernel-rt): ≥ 0:4.18.0-553.5.1.rt7.346.el8_10; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (kernel): ≥ 0:4.18.0-553.5.1.el8_10; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (kernel): ≥ 0:5.14.0-503.11.1.el9_5; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9.4 Extended Update Support (kernel): ≥ 0:5.14.0-427.68.1.el9_4; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (kernel): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (kernel): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (kernel-rt): Version range not reported. Source: CNA: redhat

## Severity and prioritization

- CVSS 3.1: 4.4 (medium); CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N; source: CNA: redhat

- CISA KEV: No listing in collected sources

- EPSS: 0.24% as of 2026-11-05; percentile 14.47%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-200

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/errata/RHSA-2024:3618 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2024:3627 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2024:9315 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2025:7526 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2024-0340 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2257406 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://lore.kernel.org/lkml/5kn47peabxjrptkqa6dwtyus35ahf4pcj4qm4pumse33kxqpjw@mec4se5relrc/T/ (CNA: redhat)

- https://access.redhat.com/errata/RHSA-2024:3618 (ADP: CVE; vendor-advisory, x_refsource_REDHAT, x_transferred)

- https://access.redhat.com/errata/RHSA-2024:3627 (ADP: CVE; vendor-advisory, x_refsource_REDHAT, x_transferred)

- https://access.redhat.com/security/cve/CVE-2024-0340 (ADP: CVE; vdb-entry, x_refsource_REDHAT, x_transferred)

- https://bugzilla.redhat.com/show_bug.cgi?id=2257406 (ADP: CVE; issue-tracking, x_refsource_REDHAT, x_transferred)

- https://lore.kernel.org/lkml/5kn47peabxjrptkqa6dwtyus35ahf4pcj4qm4pumse33kxqpjw@mec4se5relrc/T/ (ADP: CVE; x_transferred)

- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html (ADP: CVE; x_transferred)

- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html (ADP: CVE; x_transferred)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2024-0340; retrieved 2026-11-06; source updated 2026-11-06

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2024-0340; retrieved 2026-11-06; source updated Not reported

Revision: 38af18570c24bb2e1fc0926fc06cdb0bf3b2ddc1148a45b7c92dc5274bb6c345

Canonical: https://y2.dev/cve/CVE-2024-0340

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.