CVE-2025-39882
published 2025-09-23CVE-2025-39882: 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…
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.14%
3.9th percentile
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
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.16.8-1 (forky) | linux 6.16.8-1 (forky) |
| linux | linux | >= 1f403699c40f0806a707a9a6eed3b8904224021a < 4de37a48b6b58faaded9eb765047cf0d8785ea18 | 4de37a48b6b58faaded9eb765047cf0d8785ea18 |
| linux | linux | >= 31ce7c089b50c3d3056c37e0e25e7535e4428ae1 < b58a26cdd4795c1ce6a80e38e9348885555dacd6 | b58a26cdd4795c1ce6a80e38e9348885555dacd6 |
| linux | linux | >= 6.12.45 < 6.12.48 | 6.12.48 |
| linux | linux | >= 6.16.5 < 6.16.8 | 6.16.8 |
| linux | linux | >= 6.6.105 < 6.6.107 | 6.6.107 |
| linux | linux | >= 7d98166183d627c0b9daca7672b2191fae0f8a03 < b2fbe0f9f80b9cfa1e06ddcf8b863d918394ef1d | b2fbe0f9f80b9cfa1e06ddcf8b863d918394ef1d |
| linux | linux | >= fae58d0155a979a8c414bbc12db09dd4b2f910d0 < c4901802ed1ce859242e10af06e6a7752cba0497 | c4901802ed1ce859242e10af06e6a7752cba0497 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 6.12.48-1 | 6.12.48-1 |
| linux | linux_kernel | >= 0 < 6.16.8-1 | 6.16.8-1 |
| linux | linux_kernel | >= 6.12.45 < 6.12.48 | 6.12.48 |
| linux | linux_kernel | >= 6.16.5 < 6.16.8 | 6.16.8 |
| linux | linux_kernel | >= 6.6.105 < 6.6.107 | 6.6.107 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8LOW
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: drm/mediatek: fix potential OF node use-after-free
vendor_redhat·2025-09-23·CVSS 7.8
CVE-2025-39882 [HIGH] kernel: drm/mediatek: fix potential OF node use-after-free
kernel: drm/mediatek: fix potential OF node use-after-free
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not a
Debian
CVE-2025-39882: linux - In the Linux kernel, the following vulnerability has been resolved: drm/mediate...
vendor_debian·2025·CVSS 7.8
CVE-2025-39882 [HIGH] CVE-2025-39882: linux - In the Linux kernel, the following vulnerability has been resolved: drm/mediate...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved (fixed in 6.16.8-1)
sid: resolved (fixed in 6.16.8-1)
trixie: resolved (fixed in 6.12.48-1)
OSV
CVE-2025-39882: 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() he
osv·2025-09-23·CVSS 7.8
CVE-2025-39882 [HIGH] CVE-2025-39882: 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() he
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.
GHSA
GHSA-wpx2-5m46-33qp: 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()
ghsa_unreviewed·2025-09-23
CVE-2025-39882 [HIGH] CWE-416 GHSA-wpx2-5m46-33qp: 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()
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-09-23
Published