Skip to main content
← All vulnerabilities
CVE-2025-21715

net: davicom: fix UAF in dm9000_drv_remove

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.291, 5.10.235, 4.5, 4.10, 4.15, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From 5.4.106 · fixed in 5.4.291; From 5.10.24 · fixed in 5.10.235; From 4.4.262 · fixed in 4.5; From 4.9.262 · fixed in 4.10; From 4.14.226 · fixed in 4.15; From 4.19.181 · fixed in 4.20; From 5.11.7 · fixed in 5.12

  • Linux Linux

    5.12

References 8

git.kernel.org