LiveActive security incident?Get immediate response
CVE Record

CVE-2025-40051: vhost: vringh: Modify the return value check

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2025-40051 is a high-severity Linux kernel flaw in vhost vringh handling. A local, low-privileged user may trigger incorrect handling of incomplete data copies, potentially compromising confidentiality, integrity, and availability. Exposure depends on the running kernel and whether the affected functionality is reachable.

Executive priority

Treat as a high-priority kernel update, especially on multi-user or virtualization infrastructure. The vulnerability requires local low-privileged access, reducing internet-scale exposure, but the stated impact spans full confidentiality, integrity, and availability. Patch promptly after vendor applicability and operational testing.

Technical view

The vringh code incorrectly evaluated copy_from_iter and copy_to_iter results as potentially negative. These functions return copied lengths, so the correct condition is whether the copied length equals the requested length. The supplied kernel commits change that validation. The bundle does not describe the precise failure mode or demonstrate exploitability.

Likely exposure

Risk is primarily to Linux systems running an affected kernel where vhost vringh functionality is present and reachable by a local low-privileged user. The supplied affected-version data is ambiguous and includes versions from 6.0 through 6.18; confirm exact distribution kernel applicability with vendor guidance.

Exploitation context

The CVSS vector indicates local access, low complexity, low privileges, and no user interaction, with potentially high confidentiality, integrity, and availability impact. The bundle marks this CVE as absent from KEV and provides no evidence of active exploitation or a public exploit.

Researcher notes

The core defect is a return-value semantic mismatch: copied byte counts must be compared with requested lengths. The source bundle supplies five stable-kernel fix commits but no CWE, crash trace, proof of concept, affected configuration details, or exploitation evidence. Version boundaries should not be inferred solely from the flattened version list.

Mitigation direction

  • Apply the appropriate Linux distribution kernel security update containing the referenced upstream fix.
  • Check vendor advisories to map distribution kernel builds to the supplied affected versions and commits.
  • Restrict untrusted local access until affected systems are updated.
  • Prioritize shared virtualization hosts and other systems where vhost functionality is operationally important.

Validation and detection

  • Inventory running kernel versions across Linux systems.
  • Determine whether each kernel contains an applicable referenced fix commit or vendor backport.
  • Confirm whether vhost vringh functionality is configured, loaded, or reachable by local users.
  • Verify updated systems are running the new kernel after installation and reboot.
  • Monitor vendor advisories for clarified affected-version boundaries and exploitation information.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-40051 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
0ADP providers
6Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2025-40051Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux309bba39c945ac8ab8083ac05cd6cfe5822968e0, 309bba39c945ac8ab8083ac05cd6cfe5822968e0, 309bba39c945ac8ab8083ac05cd6cfe5822968e0, 309bba39c945ac8ab8083ac05cd6cfe5822968e0, 309bba39c945ac8ab8083ac05cd6cfe5822968e0unaffected
LinuxLinux6.0, 0, 6.1.156, 6.6.112, 6.12.53, 6.17.3, 6.18affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.