CVE-2025-40051Published Oct 28, 2025 · Oct 28Updated Oct 28
vhost: vringh: Modify the return value check
Linux
High7.8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s vhost vringh code incorrectly checks the return values of copy_from_iter and copy_to_iter, which cannot be negative. The input does not specify an attacker outcome or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the affected vhost vringh code should check their versions; the affected versions are not specified.