Local kernel compromise via device-tree node over-release
Published Sep 23, 2025 · Updated Sep 23, 2025
Use-after-free in Linux 6.6.105 through 6.6.106, 6.12.45 through 6.12.47, and 6.16.5 through 6.16.7 allows local users to compromise the kernel. During mtk_drm_get_all_drm_priv() iteration, an extra of_node_put() decrements each child after for_each_child_of_node() has already released its reference, leaving reachable device_node objects freed. Exploitation requires local code on MediaTek hardware with the driver active; reclaimed node callbacks permit kernel control-flow hijacking, while warning paths can panic the host.
Summary
What happened
Use-after-free in Linux 6.6.105 through 6.6.106, 6.12.45 through 6.12.47, and 6.16.5 through 6.16.7 allows local users to compromise the kernel. During mtk_drm_get_all_drm_priv() iteration, an extra of_node_put() decrements each child after for_each_child_of_node() has already released its reference, leaving reachable device_node objects freed. Exploitation requires local code on MediaTek hardware with the driver active; reclaimed node callbacks permit kernel control-flow hijacking, while warning paths can panic the host.
The record
- CVE
- CVE-2025-39882
- Published
- Sep 23, 2025
- Updated
- Sep 23, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 23, 2025CVE publishedPublication date reported by the CVE source.
- Sep 23, 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=1f403699c40f0806a707a9a6eed3b8904224021a <4de37a48b6b58faaded9eb765047cf0d8785ea18
- Affected versionversion=31ce7c089b50c3d3056c37e0e25e7535e4428ae1 <b58a26cdd4795c1ce6a80e38e9348885555dacd6
- Affected versionversion=6.17-rc4
- Affected versionversion=7d98166183d627c0b9daca7672b2191fae0f8a03 <b2fbe0f9f80b9cfa1e06ddcf8b863d918394ef1d
- Affected versionversion=fae58d0155a979a8c414bbc12db09dd4b2f910d0 <c4901802ed1ce859242e10af06e6a7752cba0497
What conditions does exploitation require?
What is affected?
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.
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