All reports
Medium

kernel: Linux kernel: Data corruption and denial of service in vhost/vringh due to improper copy_to_iter 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-40056

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-21

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.

A flaw was found in the Linux kernel's vhost/vringh component. This vulnerability arises from an improper check of the copy_to_iter() function's return value, which could lead to the system processing partially copied data. A local attacker with access to the vhost/virtio path (such as root or a user in the kvm/vhost group) could exploit this to cause data corruption or trigger a kernel fault, leading to a denial of service.