CVE-2025-21715: Linux kernel · net: davicom: fix UAF in dm9000_drv_remove
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 01:12 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 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 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability is available as it has been resolved by reordering the free_netdev() call in the Linux kernel source code. Users and administrators should apply the official Linux kernel updates that include this fix. No additional mitigation is indicated by the vendor advisory.
Description
CVE-2025-21715 is a use-after-free (UAF) vulnerability in the Linux kernel's net: davicom driver, specifically in the dm9000_drv_remove function. The issue arises because the netdev private data (dm) is used after the free_netdev() call, which leads to a UAF condition. This flaw has been fixed by reordering the free_netdev() call to the end of the function. The vulnerability was identified through static analysis and is similar to a previously fixed UAF in the qcom/emac driver.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21715 (opens in a new tab)
- git.kernel.org/stable/c/19e65c45a1507a1a2926649d2db3583ed9d55fd9 (opens in a new tab)
- git.kernel.org/stable/c/2013c95df6752d9c88221d0f0f37b6f197969390 (opens in a new tab)
- git.kernel.org/stable/c/5a54367a7c2378c65aaa4d3cfd952f26adef7aa7 (opens in a new tab)
- git.kernel.org/stable/c/7d7d201eb3b766abe590ac0dda7a508b7db3e357 (opens in a new tab)
- git.kernel.org/stable/c/a53cb72043443ac787ec0b5fa17bb3f8ff3d462b (opens in a new tab)
- git.kernel.org/stable/c/c411f9a5fdc9158e8f7c57eac961d3df3eb4d8ca (opens in a new tab)
- git.kernel.org/stable/c/c94ab07edc2843e2f3d46dbd82e5c681503aaadf (opens in a new tab)
- git.kernel.org/stable/c/db79e982c5f9e39ab710cbce55b05f2f5e6f1ca9 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)