CVE-2025-40316: Linux kernel · drm/mediatek: Fix device use-after-free on unbind
Source GCVE Database
Not known to be exploited.
Data as of 25 Nov 2026, 21:39 UTC
Rated High by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Exploitation evidence
Disclosed: evidence found.
CVE published 8 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to address this vulnerability by correcting the reference counting logic during component bind() failures and unbind(). Users should update to the fixed kernel version once available. No additional mitigation steps are indicated.
Description
A use-after-free vulnerability was identified and fixed in the drm/mediatek component of the Linux kernel. The issue stemmed from a reference imbalance during component bind() failures and unbind(), caused by an incomplete fix in a previous commit. This could lead to accessing freed memory, potentially causing instability or crashes.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40316 (opens in a new tab)
- git.kernel.org/stable/c/0142fe895986addf35885b43440718e567121155 (opens in a new tab)
- git.kernel.org/stable/c/8ba827e09eb586e952d10e39406fa02d10bb591e (opens in a new tab)
- git.kernel.org/stable/c/926d002e6d7e2f1fd5c1b53cf6208153ee7d380d (opens in a new tab)
- git.kernel.org/stable/c/a5a896f8315de358a2932e2c23c42d550256046a (opens in a new tab)