CVE-2025-40056
Published Oct 28, 2025
Modified Apr 15, 2026
Description
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.
Is your site exposed to CVE-2025-40056?
Run a free security scan — no signup, results in seconds.
References
Other References
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
Frequently Asked Questions
What is CVE-2025-40056? +
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.
How do I check if I'm vulnerable to CVE-2025-40056? +
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.