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.
Affected versions
Linux kernel versions
6.0
and later are affected. Fixed in
6.1.156,
6.6.112,
6.12.53,
6.17.3,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-40051 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/78dc7362662fedaa1928fb8e4f27401c8322905d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/82a8d0fda55b35361ee7f35b54fa2b66d7847d2b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/baa37b1c7e29546f79c39bef0d18c4edc9f39bb1
Frequently asked questions
-
What is CVE-2025-40051?
CVE-2025-40051 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.0 onward and has been patched in 6.1.156, 6.6.112, 6.12.53 and others. CVE-2025-40051 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40051?
Yes — CVE-2025-40051 has been patched. Fixed versions include 6.1.156, 6.6.112, 6.12.53 and others. If you are running Linux kernel 6.0 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40051 actively exploited?
No — CVE-2025-40051 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.