All reports
Medium

kernel: vhost: vringh: Modify the return value check

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40051

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-20

Description

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.

A flaw was found in the Linux kernel's vhost subsystem. An improper return value check when copying data across memory buffers allows incomplete copies to be erroneously treated as successful. A local user with access to host virtualization interfaces could exploit this vulnerability to trigger memory corruption, resulting in a Denial of Service (DoS) via a system crash.