Not scored
vhost: vringh: Fix copy_to_iter return value check
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 309bba39c945ac8ab8083ac05cd6cfe5822968e0 before bd71e7e0a612740e4de5524880c7cd40293af5f7, from 309bba39c945ac8ab8083ac05cd6cfe5822968e0 before 781226e11d5bdea0d69c7b5aa3cda874093c73b8, from 309bba39c945ac8ab8083ac05cd6cfe5822968e0 before b3a950d236e98440c07405ba597b11bce56a8050, from 309bba39c945ac8ab8083ac05cd6cfe5822968e0 before 68aac2b335d474b938d154b9c95cbc58838cb2ce, from 309bba39c945ac8ab8083ac05cd6cfe5822968e0 before 439263376c2c4e126cac0d07e4987568de4eaba5, 6.0 Not affected: before 6.0, from 6.1.156 up to 6.1.*, from 6.6.112 up to 6.6.*, from 6.12.53 up to 6.12.*, from 6.17.3 up to 6.17.*, from 6.18 up to * | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: vhost: vringh: Corrección de la comprobación del valor de retorno de copy_to_iter El valor de retorno de copy_to_iter no puede ser negativo; compruebe si la longitud copiada es igual a la longitud solicitada en lugar de comprobar valores negativos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-40056 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-40056 changed 2026-10-19 | Public domain |