CVE-2025-40051

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

VendorProductVersion RangeStatus
LinuxLinux309bba39c945ac8ab8083ac05cd6cfe5822968e0 < db042925a5ab7a550b710addeadbf6f72e3a8a4baffected
LinuxLinux309bba39c945ac8ab8083ac05cd6cfe5822968e0 < 78dc7362662fedaa1928fb8e4f27401c8322905daffected
LinuxLinux309bba39c945ac8ab8083ac05cd6cfe5822968e0 < baa37b1c7e29546f79c39bef0d18c4edc9f39bb1affected
LinuxLinux309bba39c945ac8ab8083ac05cd6cfe5822968e0 < cfa0654402c06d086201a9ff167eb95da5844fc3affected
LinuxLinux309bba39c945ac8ab8083ac05cd6cfe5822968e0 < 82a8d0fda55b35361ee7f35b54fa2b66d7847d2baffected
LinuxLinux6.0affected
LinuxLinux0 < 6.0unaffected
LinuxLinux6.1.156 <= 6.1.*unaffected
LinuxLinux6.6.112 <= 6.6.*unaffected
LinuxLinux6.12.53 <= 6.12.*unaffected
LinuxLinux6.17.3 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References