CVE-2025-21715: Linux kernel · net: davicom: fix UAF in dm9000_drv_remove dm is netdev private data and it cannot be
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 4.4.0-1150.156 : patch Linux kernel soon.
Data as of 12 Nov 2026, 19:35 UTC
- Patch
- Available – fixed in 4.4.0-1150.156, 4.15.0-1195.210~14.04.1, 4.4.0-276.310~14.04.1 +106
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 12 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7510-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7511-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7511-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7512-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7516-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7516-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7517-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7518-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-4 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch fixing this vulnerability is available and included in Linux kernel versions 4.4.0-1150.156, 4.15.0-1195.210~14.04.1, and other specified fixed versions. Users should update their Linux kernel to one of these fixed versions or later. After updating, a system reboot is required to apply the fix. No additional mitigation actions are necessary beyond applying the official kernel updates.
Description
A use-after-free (UAF) vulnerability was identified and fixed in the Linux kernel's net: davicom driver, specifically in the dm9000_drv_remove function. The issue arises because the driver attempts to use netdev private data after the free_netdev() call, which leads to a UAF condition. This flaw was detected by static analysis and is similar to a previously fixed UAF in the qcom/emac driver. Multiple Linux kernel versions, including various linux-aws versions, are affected. The vulnerability has been addressed by moving the free_netdev() call to the end of the function to prevent use-after-free. The fix is included in several updated kernel versions.
References
- ubuntu.com/security/CVE-2025-21715 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21715 (opens in a new tab)
- git.kernel.org/linus/19e65c45a1507a1a2926649d2db3583ed9d55fd9 (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/c411f9a5fdc9158e8f7c57eac961d3df3eb4d8ca (opens in a new tab)
- git.kernel.org/stable/c/c94ab07edc2843e2f3d46dbd82e5c681503aaadf (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7511-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7511-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7512-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7516-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7516-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7517-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7518-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7510-4 (opens in a new tab)