Kernel-memory disclosure via partially initialized Comedi buffers
Published Sep 5, 2025 · Updated Sep 5, 2025
Information disclosure in the Linux Comedi ioctl path allows local users to read uninitialized kernel memory through crafted instructions. The do_insn_ioctl() and do_insnlist_ioctl() paths copy insn->n samples to user space even when handlers such as insn_rw_emulate_bits() initialize fewer samples. A local user who can open an affected Comedi device can recover residual kernel data, with no reported write or code-execution impact.
Summary
What happened
Information disclosure in the Linux Comedi ioctl path allows local users to read uninitialized kernel memory through crafted instructions. The do_insn_ioctl() and do_insnlist_ioctl() paths copy insn->n samples to user space even when handlers such as insn_rw_emulate_bits() initialize fewer samples. A local user who can open an affected Comedi device can recover residual kernel data, with no reported write or code-execution impact.
The record
- CVE
- CVE-2025-39684
- Published
- Sep 5, 2025
- Updated
- Sep 5, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1005
- 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 <3cd212e895ca2d58963fdc6422502b10dd3966bb
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <868a1b68dcd9f2805bb86aa64862402f785d8c4a
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <aecf0d557ddd95ce68193a5ee1dc4c87415ff08a
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <d84f6e77ebe3359394df32ecd97e0d76a25283dc
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <f3b0c9ec54736f3b8118f93a473d22e11ee65743
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <ff4a7c18799c7fe999fa56c5cf276e13866b8c1a
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