| Name | CVE-2025-40056 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6053-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bullseye | 5.10.223-1 | fixed |
| bullseye (security) | 5.10.244-1 | fixed | |
| bookworm | 6.1.148-1 | vulnerable | |
| bookworm (security) | 6.1.158-1 | fixed | |
| trixie | 6.12.57-1 | fixed | |
| trixie (security) | 6.12.48-1 | vulnerable | |
| forky | 6.16.12-2 | vulnerable | |
| sid | 6.17.8-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | bullseye | (not affected) | |||
| linux | source | bookworm | 6.1.158-1 | DSA-6053-1 | ||
| linux | source | trixie | 6.12.57-1 | |||
| linux | source | (unstable) | 6.17.6-1 |
[bullseye] - linux <not-affected> (Vulnerable code not present)
https://git.kernel.org/linus/439263376c2c4e126cac0d07e4987568de4eaba5 (6.18-rc1)