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.
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-40056 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/439263376c2c4e126cac0d07e4987568de4eaba5
-
PatchKernel patch commithttps://git.kernel.org/stable/c/68aac2b335d474b938d154b9c95cbc58838cb2ce
-
PatchKernel patch commithttps://git.kernel.org/stable/c/781226e11d5bdea0d69c7b5aa3cda874093c73b8
Frequently asked questions
-
What is CVE-2025-40056?
CVE-2025-40056 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-40056 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40056?
Yes — CVE-2025-40056 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-40056 actively exploited?
No — CVE-2025-40056 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.