CVE-2025-40056
Not scored
vhost: vringh: Fix copy_to_iter return value check
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.
Exploit probability
0.2%
Published
October 28, 2025
Required by
Not available
Last source change
July 15, 2026
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2025-40056
View original source
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/439263376c2c4e126cac0d07e4987568de4eaba5
- https://git.kernel.org/stable/c/68aac2b335d474b938d154b9c95cbc58838cb2ce
- https://git.kernel.org/stable/c/781226e11d5bdea0d69c7b5aa3cda874093c73b8
- https://git.kernel.org/stable/c/b3a950d236e98440c07405ba597b11bce56a8050
- https://git.kernel.org/stable/c/bd71e7e0a612740e4de5524880c7cd40293af5f7
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40056.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-40056