CVE-2025-40056

published 28 Oct 2025 · updated 11 May 2026

vhost: vringh: Fix copy_to_iter return value check

5.5MediumCVSS 5.5EPSS 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 439263376c2c4e126cac0d07e4987568de4eaba5, Kernel 68aac2b335d474b938d154b9c95cbc58838cb2ce, Kernel 781226e11d5bdea0d69c7b5aa3cda874093c73b8 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.0, >=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <439263376c2c4e126cac0d07e4987568de4eaba5, >=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <68aac2b335d474b938d154b9c95cbc58838cb2ce, >=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <781226e11d5bdea0d69c7b5aa3cda874093c73b8, >=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <b3a950d236e98440c07405ba597b11bce56a8050, >=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <bd71e7e0a612740e4de5524880c7cd40293af5f7439263376c2c4e126cac0d07e4987568de4eaba5, 68aac2b335d474b938d154b9c95cbc58838cb2ce, 781226e11d5bdea0d69c7b5aa3cda874093c73b8, b3a950d236e98440c07405ba597b11bce56a8050, bd71e7e0a612740e4de5524880c7cd40293af5f7

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-40056 severity on Zeptric[![CVE-2025-40056](https://zeptric.io/badge/cve/CVE-2025-40056.svg)](https://zeptric.io/cve/CVE-2025-40056)