Kernel memory corruption via software-node double free
Published Sep 4, 2025 · Updated May 11, 2026
Double free in the Linux kernel I2C core 6.16 allows local users to corrupt kernel memory while unregistering a device. i2c_unregister_device() unconditionally releases the primary firmware node, and device_remove_software_node() releases the same software node again. Reachability requires an I2C client with no ACPI or device-tree node but with a software node; teardown produces a refcount underflow and use-after-free.
Summary
What happened
Double free in the Linux kernel I2C core 6.16 allows local users to corrupt kernel memory while unregistering a device. i2c_unregister_device() unconditionally releases the primary firmware node, and device_remove_software_node() releases the same software node again. Reachability requires an I2C client with no ACPI or device-tree node but with a software node; teardown produces a refcount underflow and use-after-free.
The record
- CVE
- CVE-2025-38682
- Published
- Sep 4, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-415
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 4, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 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.16
- Affected versionversion=df6d7277e5525d6cce63127dd93ebec4c6354fa0 <1c24e5fc0c7096e00c202a6a3e0c342c1afb47c2
- Affected versionversion=df6d7277e5525d6cce63127dd93ebec4c6354fa0 <ffe02f7c4e36090154646612e67d331832f92037
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