CVE-2025-40051
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 309bba39c945ac8ab8083ac05cd6cfe5822968e0 < db042925a5ab7a550b710addeadbf6f72e3a8a4b | affected |
| Linux | Linux | 309bba39c945ac8ab8083ac05cd6cfe5822968e0 < 78dc7362662fedaa1928fb8e4f27401c8322905d | affected |
| Linux | Linux | 309bba39c945ac8ab8083ac05cd6cfe5822968e0 < baa37b1c7e29546f79c39bef0d18c4edc9f39bb1 | affected |
| Linux | Linux | 309bba39c945ac8ab8083ac05cd6cfe5822968e0 < cfa0654402c06d086201a9ff167eb95da5844fc3 | affected |
| Linux | Linux | 309bba39c945ac8ab8083ac05cd6cfe5822968e0 < 82a8d0fda55b35361ee7f35b54fa2b66d7847d2b | affected |
| Linux | Linux | 6.0 | affected |
| Linux | Linux | 0 < 6.0 | unaffected |
| Linux | Linux | 6.1.156 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.112 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.53 <= 6.12.* | unaffected |
| Linux | Linux | 6.17.3 <= 6.17.* | unaffected |
| Linux | Linux | 6.18 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/db042925a5ab7a550b710addeadbf6f72e3a8a4b
- https://git.kernel.org/stable/c/78dc7362662fedaa1928fb8e4f27401c8322905d
- https://git.kernel.org/stable/c/baa37b1c7e29546f79c39bef0d18c4edc9f39bb1
- https://git.kernel.org/stable/c/cfa0654402c06d086201a9ff167eb95da5844fc3
- https://git.kernel.org/stable/c/82a8d0fda55b35361ee7f35b54fa2b66d7847d2b
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.