CVE-2025-40051
Published Oct 28, 2025
Modified Apr 15, 2026
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.
Is your site exposed to CVE-2025-40051?
Run a free security scan — no signup, results in seconds.
References
Other References
https://git.kernel.org/stable/c/78dc7362662fedaa1928fb8e4f27401c8322905d
https://git.kernel.org/stable/c/82a8d0fda55b35361ee7f35b54fa2b66d7847d2b
https://git.kernel.org/stable/c/baa37b1c7e29546f79c39bef0d18c4edc9f39bb1
https://git.kernel.org/stable/c/cfa0654402c06d086201a9ff167eb95da5844fc3
https://git.kernel.org/stable/c/db042925a5ab7a550b710addeadbf6f72e3a8a4b
Frequently Asked Questions
What is CVE-2025-40051? +
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.
How do I check if I'm vulnerable to CVE-2025-40051? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.