CVE-2025-40051: Linux kernel · vhost: vringh: Modify the return value check
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.8.0-1052.55~22.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-1052.55~22.04.1, 6.8.0-1051.57~22.04.1, 6.8.0-1050.53~22.04.1 +2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| linux-hwe-edge | Affected
| Fixed in
|
AI-suggested
A fix has been implemented in the Linux kernel to address this issue by modifying the return value checks. Since no explicit patch links or vendor advisories are provided, users should update their Linux kernel to the latest version containing this fix once available.
Description
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.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40051 (opens in a new tab)
- git.kernel.org/stable/c/78dc7362662fedaa1928fb8e4f27401c8322905d (opens in a new tab)
- git.kernel.org/stable/c/82a8d0fda55b35361ee7f35b54fa2b66d7847d2b (opens in a new tab)
- git.kernel.org/stable/c/baa37b1c7e29546f79c39bef0d18c4edc9f39bb1 (opens in a new tab)
- git.kernel.org/stable/c/cfa0654402c06d086201a9ff167eb95da5844fc3 (opens in a new tab)
- git.kernel.org/stable/c/db042925a5ab7a550b710addeadbf6f72e3a8a4b (opens in a new tab)
- ubuntu.com/security/CVE-2025-40051 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40051 (opens in a new tab)
- git.kernel.org/linus/82a8d0fda55b35361ee7f35b54fa2b66d7847d2b (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8030-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8048-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8100-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8125-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8126-1 (opens in a new tab)