CVE-2025-21715

net: davicom: fix UAF in dm9000_drv_remove

HIGH
7.8
CVSS Score
Published: February 27, 2025 at 02:07 AM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 4.14.226v ≥ 4.19.181v ≥ 4.4.262v ≥ 4.9.262v ≥ 5.11.74.14.226 ≤ v < 4.154.19.181 ≤ v < 4.204.4.262 ≤ v < 4.54.9.262 ≤ v < 4.105.10.24 ≤ v < 5.10.2355.11.7 ≤ v < 5.125.11.7 ≤ v < 5.15.1795.12 ≤ v < 5.15.1795.12 ≤ v < 6.1.1295.12 ≤ v < 6.12.135.12 ≤ v < 6.13.25.12 ≤ v < 6.145.12 ≤ v < 6.6.765.16 ≤ v < 6.1.1295.4.106 ≤ v < 5.4.2916.13 ≤ v < 6.13.26.2 ≤ v < 6.6.766.7 ≤ v < 6.12.134.14.2264.19.1814.4.2624.9.262427b3fc3d5244fef9c1f910a9c699f2690642f834fd0654b8f2129b68203974ddee15f804ec011c25.10.245.11.75.125.4.1069808f032c4d971cbf2b01411a0a2a8ee0040efe39c49181c201d434186ca6b1a7b52e29f4169f6f8a1f308089257616cdb91b4334c5eaa81ae17e387cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9bd182994b2b6e23778b146a230efac8f1d77a3445d28e783c20033b90a64d4e1307bafb56085d8184
Vendor states this is fixed in 19e65c45a1507a1a2926649d2db3583ed9d55fd9 (fixed)
Vendor states this is fixed in 2013c95df6752d9c88221d0f0f37b6f197969390 (fixed)
Vendor states this is fixed in 5a54367a7c2378c65aaa4d3cfd952f26adef7aa7 (fixed)
Vendor states this is fixed in 7d7d201eb3b766abe590ac0dda7a508b7db3e357 (fixed)
Vendor states this is fixed in a53cb72043443ac787ec0b5fa17bb3f8ff3d462b (fixed)
Vendor states this is fixed in c411f9a5fdc9158e8f7c57eac961d3df3eb4d8ca (fixed)
Vendor states this is fixed in c94ab07edc2843e2f3d46dbd82e5c681503aaadf (fixed)
Vendor states this is fixed in db79e982c5f9e39ab710cbce55b05f2f5e6f1ca9 (fixed)
Affected range stops below 4.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.12 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.13 (unaffected)
Vendor states this is fixed in 6.13.2 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.76 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/19e65c45a1507a1a2926649d2db3583ed9d55fd9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2013c95df6752d9c88221d0f0f37b6f197969390
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5a54367a7c2378c65aaa4d3cfd952f26adef7aa7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7d7d201eb3b766abe590ac0dda7a508b7db3e357
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a53cb72043443ac787ec0b5fa17bb3f8ff3d462b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c411f9a5fdc9158e8f7c57eac961d3df3eb4d8ca
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c94ab07edc2843e2f3d46dbd82e5c681503aaadf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/db79e982c5f9e39ab710cbce55b05f2f5e6f1ca9

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card