CVE-2025-40051 Details
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.
A vulnerability has been addressed in the Linux kernel's vhost component, specifically within the vringh driver. The issue arose from an improper return value check in the functions copy_from_iter and copy_to_iter, which can’t return negative values. The vulnerability has been fixed by ensuring that the lengths of the copied data are equal, thereby preventing potential data handling errors.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit addressing this issue is 78dc7362662fedaa1928fb8e4f27401c8322905d.
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, 2025CISA-ADP
Assessed Oct 15, 2026References 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/78dc7362662fedaa1928fb8e4f27401c8322905d | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/82a8d0fda55b35361ee7f35b54fa2b66d7847d2b | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/baa37b1c7e29546f79c39bef0d18c4edc9f39bb1 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cfa0654402c06d086201a9ff167eb95da5844fc3 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/db042925a5ab7a550b710addeadbf6f72e3a8a4b | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| vhost vringh | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 28, 2025 | New CVE Received | kernel.org |
Volerion