Linux Kernel Vhost Component Copy_to_Iter Return Value Check Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's vhost component, specifically within the vringh driver. The issue arises because the return value of the 'copy_to_iter' function can never be negative. The vulnerability has been addressed by modifying the return value check to ensure that the copied length matches the requested length, rather than checking for negative values. This change is crucial for maintaining the integrity of data transfer operations within the vhost framework.

Impact

The vulnerability could potentially lead to incorrect data handling during I/O operations, which might be exploited to cause unintended behavior in applications relying on the vhost component.

Reproduction

To reproduce this vulnerability, use a version of the Linux kernel that includes the vhost component with the original 'copy_to_iter' return value check. This can be done by applying the upstream commit '439263376c2c4e126cac0d07e4987568de4eaba5' which introduces the vulnerability. Once this commit is applied, the incorrect return value check can be observed, allowing for potential exploitation.

Remediation

The vulnerability has been fixed in the Linux kernel stable tree. Users should upgrade to the latest version available in this repository.

Added: Oct 28, 2025, 12:50 PM
Updated: Oct 28, 2025, 12:50 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
7.7
relevance
0.8
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.