CVE-2025-40051

published 28 Oct 2025 · updated 15 Oct 2026

vhost: vringh: Modify the return value check

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 78dc7362662fedaa1928fb8e4f27401c8322905d, Kernel 82a8d0fda55b35361ee7f35b54fa2b66d7847d2b, Kernel baa37b1c7e29546f79c39bef0d18c4edc9f39bb1 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.0, >=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <78dc7362662fedaa1928fb8e4f27401c8322905d, >=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <82a8d0fda55b35361ee7f35b54fa2b66d7847d2b, >=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <baa37b1c7e29546f79c39bef0d18c4edc9f39bb1, >=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <cfa0654402c06d086201a9ff167eb95da5844fc3, >=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <db042925a5ab7a550b710addeadbf6f72e3a8a4b78dc7362662fedaa1928fb8e4f27401c8322905d, 82a8d0fda55b35361ee7f35b54fa2b66d7847d2b, baa37b1c7e29546f79c39bef0d18c4edc9f39bb1, cfa0654402c06d086201a9ff167eb95da5844fc3, db042925a5ab7a550b710addeadbf6f72e3a8a4b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40051 severity on Zeptric[![CVE-2025-40051](https://zeptric.io/badge/cve/CVE-2025-40051.svg)](https://zeptric.io/cve/CVE-2025-40051)