CVE-2025-39882
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-23

Last updated on: 2025-12-12

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-23
Last Modified
2025-12-12
Generated
2026-05-07
AI Q&A
2025-09-23
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 5 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.6.105 (inc) to 6.6.107 (exc)
linux linux_kernel From 6.12.45 (inc) to 6.12.48 (exc)
linux linux_kernel From 6.16.5 (inc) to 6.16.8 (exc)
linux linux_kernel 6.17
linux linux_kernel 6.17
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a use-after-free issue in the Linux kernel's drm/mediatek component. It occurs because the for_each_child_of_node() helper function incorrectly decrements the reference count of device tree nodes during iteration, leading to a potential use-after-free scenario. The fix involved removing the extra, incorrect reference count decrement that could cause this problem.


How can this vulnerability impact me? :

This vulnerability could lead to instability or crashes in the Linux kernel due to use-after-free errors. Such errors might be exploited to cause denial of service or potentially execute arbitrary code with kernel privileges, depending on the context and exploitability.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart