{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-39882","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T07:20:57.144Z","datePublished":"2025-09-23T06:00:51.036Z","dateUpdated":"2026-05-11T21:38:15.126Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:38:15.126Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/mediatek: fix potential OF node use-after-free\n\nThe for_each_child_of_node() helper drops the reference it takes to each\nnode as it iterates over children and an explicit of_node_put() is only\nneeded when exiting the loop early.\n\nDrop the recently introduced bogus additional reference count decrement\nat each iteration that could potentially lead to a use-after-free."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/mediatek/mtk_drm_drv.c"],"versions":[{"version":"7d98166183d627c0b9daca7672b2191fae0f8a03","lessThan":"b2fbe0f9f80b9cfa1e06ddcf8b863d918394ef1d","status":"affected","versionType":"git"},{"version":"31ce7c089b50c3d3056c37e0e25e7535e4428ae1","lessThan":"b58a26cdd4795c1ce6a80e38e9348885555dacd6","status":"affected","versionType":"git"},{"version":"fae58d0155a979a8c414bbc12db09dd4b2f910d0","lessThan":"c4901802ed1ce859242e10af06e6a7752cba0497","status":"affected","versionType":"git"},{"version":"1f403699c40f0806a707a9a6eed3b8904224021a","lessThan":"4de37a48b6b58faaded9eb765047cf0d8785ea18","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/mediatek/mtk_drm_drv.c"],"versions":[{"version":"6.6.105","lessThan":"6.6.107","status":"affected","versionType":"semver"},{"version":"6.12.45","lessThan":"6.12.48","status":"affected","versionType":"semver"},{"version":"6.16.5","lessThan":"6.16.8","status":"affected","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.105","versionEndExcluding":"6.6.107"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.45","versionEndExcluding":"6.12.48"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16.5","versionEndExcluding":"6.16.8"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/b2fbe0f9f80b9cfa1e06ddcf8b863d918394ef1d"},{"url":"https://git.kernel.org/stable/c/b58a26cdd4795c1ce6a80e38e9348885555dacd6"},{"url":"https://git.kernel.org/stable/c/c4901802ed1ce859242e10af06e6a7752cba0497"},{"url":"https://git.kernel.org/stable/c/4de37a48b6b58faaded9eb765047cf0d8785ea18"}],"title":"drm/mediatek: fix potential OF node use-after-free","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.8,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2025-39882","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-01-14T19:25:43.286538Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-416","description":"CWE-416 Use After Free"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-01-14T19:33:12.579Z"}}]}}