CVE Catalog

CVE-2025-39882

HighCVSS 8.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

4th percentile - higher than 4% of all known CVEs

Summary

In the Linux kernel's DRM driver for MediaTek SoCs, a potential use-after-free vulnerability was found. The for_each_child_of_node() loop incorrectly decrements the reference count, potentially leading to use of freed memory.

Risk Assessment

This vulnerability could allow an attacker to access kernel memory, leading to privilege escalation or system crash.

Recommendation

Update the Linux kernel to a version containing the fix for CVE-2025-39882.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS