Kernel-stack disclosure via single-sample Comedi emulation
Published Sep 5, 2025 · Updated Sep 5, 2025
Information disclosure in Linux allows local users to read uninitialized kernel-stack data through multi-sample Comedi INSN_READ requests. The insn_rw_emulate_bits() fallback constructs and processes only one INSN_BITS sample, while the Comedi core returns the requested insn->n samples to user space. Reachability requires a Comedi subdevice with an INSN_BITS handler but no INSN_READ handler; requesting more than one sample can disclose stale stack contents.
Summary
What happened
Information disclosure in Linux allows local users to read uninitialized kernel-stack data through multi-sample Comedi INSN_READ requests. The insn_rw_emulate_bits() fallback constructs and processes only one INSN_BITS sample, while the Comedi core returns the requested insn->n samples to user space. Reachability requires a Comedi subdevice with an INSN_BITS handler but no INSN_READ handler; requesting more than one sample can disclose stale stack contents.
The record
- CVE
- CVE-2025-39686
- Published
- Sep 5, 2025
- Updated
- Sep 5, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 5, 2025CVE publishedPublication date reported by the CVE source.
- Sep 5, 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=2.6.29
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <7afba9221f70d4cbce0f417c558879cba0eb5e66
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <842f307a1d115b24f2bcb2415c4e344f11f55930
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <92352ed2f9ac422181e381c2430c2d0dfb46faa0
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <ab77e85bd3bc006ef40738f26f446a660813da44
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <ae8bc1f07bcb31b8636420e03d1f9c3df6219a2b
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <dc0a2f142d655700db43de90cb6abf141b73d908
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
No sourced classifications are available.
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