{"id":"CVE-2025-21715","aliases":["CVE-2025-21715"],"related":[],"kind":"vulnerability","state":"published","title":"net: davicom: fix UAF in dm9000_drv_remove","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: davicom: fix UAF in dm9000_drv_remove\n\ndm is netdev private data and it cannot be\nused after free_netdev() call. Using dm after free_netdev()\ncan cause UAF bug. Fix it by moving free_netdev() at the end of the\nfunction.\n\nThis is similar to the issue fixed in commit\nad297cd2db89 (\"net: qcom/emac: fix UAF in emac_remove\").\n\nThis bug is detected by our static analysis tool.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: davicom: fix UAF in dm9000_drv_remove\n\ndm is netdev private data and it cannot be\nused after free_netdev() call. Using dm after free_netdev()\ncan cause UAF bug. Fix it by moving free_netdev() at the end of the\nfunction.\n\nThis is similar to the issue fixed in commit\nad297cd2db89 (\"net: qcom/emac: fix UAF in emac_remove\").\n\nThis bug is detected by our static analysis tool.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: davicom: fix UAF in dm9000_drv_remove dm son datos privados de netdev y no se pueden usar después de la llamada a free_netdev(). El uso de dm después de free_netdev() puede provocar un error de UAF. Solucione el problema moviendo free_netdev() al final de la función. Esto es similar al problema solucionado en el commit ad297cd2db89 (\"net: qcom/emac: fix UAF in emac_remove\"). Nuestra herramienta de análisis estático detecta este error.","source":"nvd"}],"published":"2025-02-27T02:07:26.174Z","modified":"2026-06-17T08:44:05.900Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"d28e783c20033b90a64d4e1307bafb56085d8184","fixed":"db79e982c5f9e39ab710cbce55b05f2f5e6f1ca9","status":"affected"},{"type":"git","introduced":"4fd0654b8f2129b68203974ddee15f804ec011c2","fixed":"a53cb72043443ac787ec0b5fa17bb3f8ff3d462b","status":"affected"},{"type":"git","introduced":"cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b","fixed":"7d7d201eb3b766abe590ac0dda7a508b7db3e357","status":"affected"},{"type":"git","introduced":"cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b","fixed":"c94ab07edc2843e2f3d46dbd82e5c681503aaadf","status":"affected"},{"type":"git","introduced":"cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b","fixed":"c411f9a5fdc9158e8f7c57eac961d3df3eb4d8ca","status":"affected"},{"type":"git","introduced":"cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b","fixed":"5a54367a7c2378c65aaa4d3cfd952f26adef7aa7","status":"affected"},{"type":"git","introduced":"cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b","fixed":"2013c95df6752d9c88221d0f0f37b6f197969390","status":"affected"},{"type":"git","introduced":"cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b","fixed":"19e65c45a1507a1a2926649d2db3583ed9d55fd9","status":"affected"},{"type":"git","version":"d182994b2b6e23778b146a230efac8f1d77a3445","status":"affected"},{"type":"git","version":"427b3fc3d5244fef9c1f910a9c699f2690642f83","status":"affected"},{"type":"git","version":"9c49181c201d434186ca6b1a7b52e29f4169f6f8","status":"affected"},{"type":"git","version":"9808f032c4d971cbf2b01411a0a2a8ee0040efe3","status":"affected"},{"type":"git","version":"a1f308089257616cdb91b4334c5eaa81ae17e387","status":"affected"},{"type":"semver","introduced":"5.4.106","fixed":"5.4.291","status":"affected"},{"type":"semver","introduced":"5.10.24","fixed":"5.10.235","status":"affected"},{"type":"semver","introduced":"4.4.262","fixed":"4.5","status":"affected"},{"type":"semver","introduced":"4.9.262","fixed":"4.10","status":"affected"},{"type":"semver","introduced":"4.14.226","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.19.181","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.11.7","fixed":"5.12","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.4.291","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.235","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.179","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.129","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.76","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.13","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.2","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.4.262","fixed":"4.5"},{"status":"affected","introduced":"4.9.262","fixed":"4.10"},{"status":"affected","introduced":"4.14.226","fixed":"4.15"},{"status":"affected","introduced":"4.19.181","fixed":"4.20"},{"status":"affected","introduced":"5.4.106","fixed":"5.4.291"},{"status":"affected","introduced":"5.10.24","fixed":"5.10.235"},{"status":"affected","introduced":"5.11.7","fixed":"5.15.179"},{"status":"affected","introduced":"5.16","fixed":"6.1.129"},{"status":"affected","introduced":"6.2","fixed":"6.6.76"},{"status":"affected","introduced":"6.7","fixed":"6.12.13"},{"status":"affected","introduced":"6.13","fixed":"6.13.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/db79e982c5f9e39ab710cbce55b05f2f5e6f1ca9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a53cb72043443ac787ec0b5fa17bb3f8ff3d462b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d7d201eb3b766abe590ac0dda7a508b7db3e357","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c94ab07edc2843e2f3d46dbd82e5c681503aaadf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c411f9a5fdc9158e8f7c57eac961d3df3eb4d8ca","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a54367a7c2378c65aaa4d3cfd952f26adef7aa7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2013c95df6752d9c88221d0f0f37b6f197969390","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19e65c45a1507a1a2926649d2db3583ed9d55fd9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-02-27T17:58:14.582Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21715","url":"https://www.cve.org/CVERecord?id=CVE-2025-21715","licence":"CVE Terms of Use","modified":"2026-05-23T15:56:59.143Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21715","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21715","licence":"Public domain","modified":"2026-06-17T08:44:05.900Z"}],"updatedAt":"2026-11-25T22:58:54.488Z","epss":{"score":0.0024,"percentile":0.16205,"date":"2026-12-01T12:00:22.000Z"}}