Skip to main content

Linux Kernel CVE-2025-40051

HIGH
2025-10-28 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local access to vhost/vDPA-enabled host
  2. Delivery
    Submit virtqueue descriptor to vringh backend
  3. Exploit
    Force partial copy_from/to_iter (short copy)
  4. Execution
    Missing length check treats copy as complete
  5. Persist
    Kernel processes uninitialized buffer
  6. Impact
    Disclose residual kernel memory

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local access to a host that has the vhost/vringh (and typically vDPA) backend active and reachable - the vulnerable copy_from_iter/copy_to_iter paths only execute when a vringh-based virtqueue is in use, so systems without vhost/vDPA backends are not exposed. Per the CVSS vector the actor needs some privilege (PR:L) and local vector (AV:L), with no user interaction; the practical trigger is causing an incomplete copy so the missing length check is exercised. Limiting factors: the code path must be compiled in and loaded, the actor must be able to reach the vhost/vDPA device, and impact is bounded by what the short-copy buffer exposes rather than arbitrary control.

Impact

The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8) indicates local, low-complexity, low-privilege access with high impact across confidentiality, integrity and availability, but the I:H/A:H rating looks aggressive for what the description and 'Information Disclosure' tag frame as a short-copy handling defect - verify with the maintainers, as the practical impact leans toward leaking stale/uninitialized kernel memory rather than full compromise. Corroborating signals are muted: EPSS is 0.20% (10th percentile), there is no KEV listing, and no POC is referenced, so this is a real hygiene fix but not an urgent widely-exploited priority. The realistic exposure is confined to hosts that actually run vhost/vDPA/vringh backends (virtualization hosts), which sharply narrows the attack surface versus a generic 'any Linux' reading of AV:L.

Exploit ScenarioDerived

A local low-privileged actor with access to a vhost/vDPA backend - for example a guest or a local process that can submit virtqueue descriptors - arranges for a copy operation to complete only partially (a short copy). Because the code treats the short copy as success, the kernel proceeds using an incompletely populated buffer, exposing residual/uninitialized kernel memory back to the requester. No public POC is referenced, and exploitation depends on the host actually running the vringh-backed path.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Improper return-value handling in the Linux kernel's vhost vringh host-side virtqueue library allows a local low-privileged actor (including a malicious or misbehaving guest driving a vhost/vDPA backend) to trigger processing of partially-copied descriptor data, potentially disclosing kernel memory. The vringh code checked copy_from_iter/copy_to_iter results for a negative error that these functions cannot return, so short (incomplete) copies were silently treated as success. No public exploit identified at time of analysis; EPSS is low at 0.20% (10th percentile) and the CVE is not in CISA KEV.

RemediationAI

Upstream fix available (multiple stable-tree commits); a released patched tag is not independently confirmed from the provided data - update to the kernel build from your distribution that incorporates the vringh return-value fix (commits 78dc7362, 82a8d0fd, baa37b1c, cfa06544, db042925 at https://git.kernel.org/stable/c/). Because the fix is a small correctness change with no documented feature-level workaround, the primary compensating control until patching is to reduce exposure of the vulnerable code path: avoid loading/using vhost, vringh and vDPA backends on hosts that do not require them (e.g., do not attach untrusted guests to vDPA/vhost devices), and restrict which local users and guests can access /dev/vhost-* and vDPA management interfaces. The trade-off is that disabling vhost/vDPA degrades para-virtualized I/O performance for VMs, so it is only viable where those backends are unused.

Affected ProductsAI

The affected component is the Linux kernel vhost vringh subsystem (drivers/vhost/vringh). Exact affected version ranges are not enumerated in the provided data (no CPE strings and no NVD-tagged version boundaries were supplied); the fix is distributed across multiple stable-tree commits referenced at git.kernel.org (78dc7362662fedaa1928fb8e4f27401c8322905d, 82a8d0fda55b35361ee7f35b54fa2b66d7847d2b, baa37b1c7e29546f79c39bef0d18c4edc9f39bb1, cfa0654402c06d086201a9ff167eb95da5844fc3, db042925a5ab7a550b710addeadbf6f72e3a8a4b), indicating backports to several stable branches. Consult your distribution's kernel advisory to map these commits to your kernel version.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

vringh is the kernel's host-side implementation of the VirtIO vring (virtqueue) abstraction, used by vhost and vDPA to move descriptor and buffer data between host and guest memory via iov_iter helpers (copy_from_iter/copy_to_iter). Those helpers return the number of bytes actually copied and never return a negative value, so the original code's test for a negative return could never detect a short copy. The correct check is whether the copied length equals the requested length. The root-cause class is improper validation of a return value / incomplete data handling (no CWE was assigned in the input; conceptually akin to CWE-253 Incorrect Check of Function Return Value and downstream exposure of resource/uninitialized memory).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.6 MEDIUM

Local access to an active vhost/vringh backend with low privilege (AV:L/PR:L); primary effect is kernel-memory disclosure (C:H) with only minor integrity/availability impact from mishandled short copies.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

vhost: vringh: Modify the return value check

The return value of copy_from_iter and copy_to_iter can't be negative, check whether the copied lengths are equal.

Executive ViewAI

Why It Matters

A kernel memory disclosure vulnerability in Linux's vhost virtual machine support (CVE-2025-40051) allows guest VMs to read sensitive host kernel memory through improper error handling. No public exploit identified at time of analysis. Organizations operating virtualized infrastructure face potential exposure of cryptographic keys and sensitive kernel data; while exploitation requires local guest access, the CVSS 7.8 severity and kernel-level disclosure risk demand prioritized remediation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restrict high-privilege and untrusted guest VM workloads on affected hypervisors; enforce strict hypervisor-level network and I/O segmentation between guests; monitor guest processes for suspicious memory access patterns; restrict guest access to host kernel memory interfaces; consider running security-sensitive services on dedicated non-virtualized systems until patching is available; implement additional kernel hardening (SMACK, AppArmor, SELinux) to limit guest lateral movement.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
High
Linux kernel is ubiquitous, but vringh/vhost/vDPA path only active on virtualization hosts
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/hpc/warewulf4-x86_64/sle-hpc-node:15.6.17.8.134 Image SLES15-SP6 Image SLES15-SP6-BYOS Image SLES15-SP6-BYOS-Azure Image SLES15-SP6-BYOS-EC2 Image SLES15-SP6-BYOS-GCE Image SLES15-SP6-CHOST-BYOS Image SLES15-SP6-CHOST-BYOS-Aliyun Image SLES15-SP6-CHOST-BYOS-Azure Image SLES15-SP6-CHOST-BYOS-EC2 Image SLES15-SP6-CHOST-BYOS-GCE Image SLES15-SP6-CHOST-BYOS-GDC Image SLES15-SP6-CHOST-BYOS-SAP-CCloud Image SLES15-SP6-EC2 Image SLES15-SP6-EC2-ECS-HVM Image SLES15-SP6-GCE Image SLES15-SP6-HPC-BYOS Image SLES15-SP6-HPC-BYOS-Azure Image SLES15-SP6-HPC-BYOS-EC2 Image SLES15-SP6-HPC-BYOS-GCE Image SLES15-SP6-HPC-EC2 Image SLES15-SP6-HPC-GCE Image SLES15-SP6-Hardened-BYOS Image SLES15-SP6-Hardened-BYOS-Azure Image SLES15-SP6-Hardened-BYOS-EC2 Image SLES15-SP6-Hardened-BYOS-GCE Image SLES15-SP6-SAP Image SLES15-SP6-SAP-Azure Image SLES15-SP6-SAP-EC2 Image SLES15-SP6-SAP-GCE Image SLES15-SP6-SAPCAL Image SLES15-SP6-SAPCAL-Azure Image SLES15-SP6-SAPCAL-EC2 Image SLES15-SP6-SAPCAL-GCE Affected
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Affected
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.65 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.88 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.105 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy