CVE-2025-40056
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 309bba39c945ac8ab8083ac05cd6cfe5822968e0 < bd71e7e0a612740e4de5524880c7cd40293af5f7 | affected |
| Linux | Linux | 309bba39c945ac8ab8083ac05cd6cfe5822968e0 < 781226e11d5bdea0d69c7b5aa3cda874093c73b8 | affected |
| Linux | Linux | 309bba39c945ac8ab8083ac05cd6cfe5822968e0 < b3a950d236e98440c07405ba597b11bce56a8050 | affected |
| Linux | Linux | 309bba39c945ac8ab8083ac05cd6cfe5822968e0 < 68aac2b335d474b938d154b9c95cbc58838cb2ce | affected |
| Linux | Linux | 309bba39c945ac8ab8083ac05cd6cfe5822968e0 < 439263376c2c4e126cac0d07e4987568de4eaba5 | 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/bd71e7e0a612740e4de5524880c7cd40293af5f7
- https://git.kernel.org/stable/c/781226e11d5bdea0d69c7b5aa3cda874093c73b8
- https://git.kernel.org/stable/c/b3a950d236e98440c07405ba597b11bce56a8050
- https://git.kernel.org/stable/c/68aac2b335d474b938d154b9c95cbc58838cb2ce
- https://git.kernel.org/stable/c/439263376c2c4e126cac0d07e4987568de4eaba5
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.