Host kernel compromise via unchecked short copies
Published Oct 28, 2025 · Updated Oct 28, 2025
Memory corruption in Linux kernel 6.0 and later affected builds allows local users to compromise the host through vhost-vdpa ioctls. The vringh IOTLB copy path treats short copy_from_iter and copy_to_iter results as successful, leaving request data uninitialized and enabling out-of-bounds kernel heap reads and writes. Access to /dev/vhost-vdpa-N is required; a local process can disclose stale kernel data, overwrite kernel memory, or cause an oops or panic.
Summary
What happened
Memory corruption in Linux kernel 6.0 and later affected builds allows local users to compromise the host through vhost-vdpa ioctls. The vringh IOTLB copy path treats short copy_from_iter and copy_to_iter results as successful, leaving request data uninitialized and enabling out-of-bounds kernel heap reads and writes. Access to /dev/vhost-vdpa-N is required; a local process can disclose stale kernel data, overwrite kernel memory, or cause an oops or panic.
The record
- CVE
- CVE-2025-40051
- Published
- Oct 28, 2025
- Updated
- Oct 28, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 28, 2025CVE publishedPublication date reported by the CVE source.
- Oct 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <78dc7362662fedaa1928fb8e4f27401c8322905d
- Affected versionversion=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <82a8d0fda55b35361ee7f35b54fa2b66d7847d2b
- Affected versionversion=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <baa37b1c7e29546f79c39bef0d18c4edc9f39bb1
- Affected versionversion=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <cfa0654402c06d086201a9ff167eb95da5844fc3
- Affected versionversion=309bba39c945ac8ab8083ac05cd6cfe5822968e0 <db042925a5ab7a550b710addeadbf6f72e3a8a4b
- Affected versionversion=6.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo