CVE-2025-21715

published 27 Feb 2025 · updated 17 Nov 2026

net: davicom: fix UAF in dm9000_drv_remove

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel db79e982c5f9e39ab710cbce55b05f2f5e6f1ca9, Kernel 4.5, Kernel 4.10 and 17 more.

In the Linux kernel, the following vulnerability has been resolved: net: davicom: fix UAF in dm9000_drv_remove dm is netdev private data and it cannot be used after free_netdev() call. Using dm after free_netdev() can cause UAF bug. Fix it by moving free_netdev() at the end of the function. This is similar to the issue fixed in commit ad297cd2db89 ("net: qcom/emac: fix UAF in emac_remove"). This bug is detected by our static analysis tool.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=d28e783c20033b90a64d4e1307bafb56085d8184 <db79e982c5f9e39ab710cbce55b05f2f5e6f1ca9, >=4.4.262 <4.5, >=4.9.262 <4.10, >=4fd0654b8f2129b68203974ddee15f804ec011c2 <a53cb72043443ac787ec0b5fa17bb3f8ff3d462b, >=5.10.24 <5.10.235, >=5.11.7 <5.12, >=5.4.106 <5.4.291, >=cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b <19e65c45a1507a1a2926649d2db3583ed9d55fd9, >=cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b <2013c95df6752d9c88221d0f0f37b6f197969390, >=cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b <5a54367a7c2378c65aaa4d3cfd952f26adef7aa7, >=cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b <7d7d201eb3b766abe590ac0dda7a508b7db3e357, >=cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b <c411f9a5fdc9158e8f7c57eac961d3df3eb4d8ca, >=cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b <c94ab07edc2843e2f3d46dbd82e5c681503aaadf, =427b3fc3d5244fef9c1f910a9c699f2690642f83, =5.12, =9808f032c4d971cbf2b01411a0a2a8ee0040efe3, =9c49181c201d434186ca6b1a7b52e29f4169f6f8, =a1f308089257616cdb91b4334c5eaa81ae17e387, =d182994b2b6e23778b146a230efac8f1d77a3445, >=4.14.226 <4.15, >=4.19.181 <4.20db79e982c5f9e39ab710cbce55b05f2f5e6f1ca9, 4.5, 4.10, a53cb72043443ac787ec0b5fa17bb3f8ff3d462b, 5.10.235, 5.12, 5.4.291, 19e65c45a1507a1a2926649d2db3583ed9d55fd9, 2013c95df6752d9c88221d0f0f37b6f197969390, 5a54367a7c2378c65aaa4d3cfd952f26adef7aa7, 7d7d201eb3b766abe590ac0dda7a508b7db3e357, c411f9a5fdc9158e8f7c57eac961d3df3eb4d8ca, c94ab07edc2843e2f3d46dbd82e5c681503aaadf, 4.15, 4.20
linux-kernel: Kernel>=4.19.181 <4.20, >=4.4.262 <4.5, >=4.9.262 <4.10, >=5.10.24 <5.10.235, >=5.11.7 <5.12, >=5.12.0 <5.15.179, >=5.16.0 <6.1.129, >=5.4.106 <5.4.291, >=6.13.0 <6.13.2, >=6.2.0 <6.6.76, >=6.7.0 <6.12.13, >=4.14.226 <4.154.20, 4.5, 4.10, 5.10.235, 5.12, 5.15.179, 6.1.129, 5.4.291, 6.13.2, 6.6.76, 6.12.13, 4.15

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21715 severity on Zeptric[![CVE-2025-21715](https://zeptric.io/badge/cve/CVE-2025-21715.svg)](https://zeptric.io/cve/CVE-2025-21715)