CVE-2025-40056 Details
Description
In the Linux kernel, the following vulnerability has been resolved: vhost: vringh: Fix copy_to_iter return value check The return value of copy_to_iter can't be negative, check whether the copied length is equal to the requested length instead of checking for negative values.
A vulnerability exists in the Linux kernel's vhost component, specifically within the vringh driver. The issue arises because the return value of the 'copy_to_iter' function can never be negative. The vulnerability has been addressed by modifying the return value check to ensure that the copied length matches the requested length, rather than checking for negative values. This change is crucial for maintaining the integrity of data transfer operations within the vhost framework.
The vulnerability has been fixed in the Linux kernel stable tree. Users should upgrade to the latest version available in this repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/439263376c2c4e126cac0d07e4987568de4eaba5 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/68aac2b335d474b938d154b9c95cbc58838cb2ce | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/781226e11d5bdea0d69c7b5aa3cda874093c73b8 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b3a950d236e98440c07405ba597b11bce56a8050 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/bd71e7e0a612740e4de5524880c7cd40293af5f7 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 28, 2025 | New CVE Received | kernel.org |
Volerion