CVE-2025-40056

vhost: vringh: Fix copy_to_iter return value check

N/A
Published: October 28, 2025 at 11:48 AM UTC
Updated: October 19, 2026 at 09:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

309bba39c945ac8ab8083ac05cd6cfe5822968e06.0
Vendor states this is fixed in 439263376c2c4e126cac0d07e4987568de4eaba5 (fixed)
Vendor states this is fixed in 68aac2b335d474b938d154b9c95cbc58838cb2ce (fixed)
Vendor states this is fixed in 781226e11d5bdea0d69c7b5aa3cda874093c73b8 (fixed)
Vendor states this is fixed in b3a950d236e98440c07405ba597b11bce56a8050 (fixed)
Vendor states this is fixed in bd71e7e0a612740e4de5524880c7cd40293af5f7 (fixed)
Vendor states this is fixed in 6.0 (unaffected)
Vendor states this is fixed in 6.1.156 (unaffected)
Vendor states this is fixed in 6.12.53 (unaffected)
Vendor states this is fixed in 6.17.3 (unaffected)
Vendor states this is fixed in 6.18 (unaffected)
Vendor states this is fixed in 6.6.112 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card