CVE-2025-39882

drm/mediatek: fix potential OF node use-after-free

HIGH
7.8
CVSS Score
Published: September 23, 2025 at 06:00 AM UTC
Updated: October 19, 2026 at 09:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: fix potential OF node use-after-free The for_each_child_of_node() helper drops the reference it takes to each node as it iterates over children and an explicit of_node_put() is only needed when exiting the loop early. Drop the recently introduced bogus additional reference count decrement at each iteration that could potentially lead to a use-after-free.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.12.45 ≤ v < 6.12.486.16.5 ≤ v < 6.16.86.6.105 ≤ v < 6.6.1071f403699c40f0806a707a9a6eed3b8904224021a31ce7c089b50c3d3056c37e0e25e7535e4428ae16.12.456.16.56.176.17 rc46.17 rc56.6.1057d98166183d627c0b9daca7672b2191fae0f8a03fae58d0155a979a8c414bbc12db09dd4b2f910d0
Vendor states this is fixed in 4de37a48b6b58faaded9eb765047cf0d8785ea18 (fixed)
Vendor states this is fixed in b2fbe0f9f80b9cfa1e06ddcf8b863d918394ef1d (fixed)
Vendor states this is fixed in b58a26cdd4795c1ce6a80e38e9348885555dacd6 (fixed)
Vendor states this is fixed in c4901802ed1ce859242e10af06e6a7752cba0497 (fixed)
Affected range stops below 6.12.48, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.16.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.6.107, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card