Kernel memory corruption via debugfs bounds errors
Published Jun 18, 2025 · Updated Aug 5, 2026
Out-of-bounds write in the Linux kernel gpio-virtuser driver allows local users to corrupt kernel memory through debugfs writes. The direction and consumer write handlers mishandle truncated, oversized, or zero-length input and place a NUL outside a 32-byte stack buffer. Access requires a configured gpio-virtuser device and write permission to its debugfs nodes; default permissions restrict access to root, while delegated mounts can expose low-privileged accounts.
Summary
What happened
Out-of-bounds write in the Linux kernel gpio-virtuser driver allows local users to corrupt kernel memory through debugfs writes. The direction and consumer write handlers mishandle truncated, oversized, or zero-length input and place a NUL outside a 32-byte stack buffer. Access requires a configured gpio-virtuser device and write permission to its debugfs nodes; default permissions restrict access to root, while delegated mounts can expose low-privileged accounts.
The record
- CVE
- CVE-2025-38082
- Published
- Jun 18, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record 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=6.11
- Affected versionversion=91581c4b3f29e2e22aeb1a62e842d529ca638b2d <7118be7c6072f40391923543fdd1563b8d56377c
- Affected versionversion=91581c4b3f29e2e22aeb1a62e842d529ca638b2d <afe090366f470f77e140ff3407db813f57852c04
- Affected versionversion=91581c4b3f29e2e22aeb1a62e842d529ca638b2d <b96feaaa0fda1e3871b438143c3446954b32d3a7
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