net: davicom: fix UAF in dm9000_drv_remove
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-416 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.4.106 to before 5.4.291; 5.10.24 to before 5.10.235; 4.4.262 to before 4.5; 4.9.262 to before 4.10; 4.14.226 to before 4.15; 4.19.181 to before 4.20; 5.11.7 to before 5.12 | 5.4.291, 5.10.235, 4.5, 4.10, 4.15, 4.20, 5.12 | Patch available | CNA |
| Linux | Linux | 5.12 and later | 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2, 6.14 | Patch available | CNA |
- Linux VendorLinux Affected 5.4.106 to before 5.4.291; 5.10.24 to before 5.10.235; 4.4.262 to before 4.5; 4.9.262 to before 4.10; 4.14.226 to before 4.15; 4.19.181 to before 4.20; 5.11.7 to before 5.12 Fixed in 5.4.291, 5.10.235, 4.5, 4.10, 4.15, 4.20, 5.12 Patch available CNA
- Linux VendorLinux Affected 5.12 and later Fixed in 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2, 6.14 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.4.262 to before 4.5; 4.9.262 to before 4.10; 4.14.226 to before 4.15; 4.19.181 to before 4.20; 5.4.106 to before 5.4.291; 5.10.24 to before 5.10.235; 5.11.7 to before 5.15.179; 5.16 to before 6.1.129; 6.2 to before 6.6.76; 6.7 to before 6.12.13; 6.13 to before 6.13.2 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.4.262 to before 4.5; 4.9.262 to before 4.10; 4.14.226 to before 4.15; 4.19.181 to before 4.20; 5.4.106 to before 5.4.291; 5.10.24 to before 5.10.235; 5.11.7 to before 5.15.179; 5.16 to before 6.1.129; 6.2 to before 6.6.76; 6.7 to before 6.12.13; 6.13 to before 6.13.2 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.4.291, 5.10.235, 4.5, 4.10, 4.15, 4.20, 5.12
- Fix · CNA Linux (Linux) Fixed in 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2, 6.14
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2025-21715
- 2026-10-03 Alias added: GHSA-cmvg-6vcw-642h
References
Patch 8
- https://git.kernel.org/stable/c/db79e982c5f9e39ab710cbce55b05f2f5e6f1ca9
- https://git.kernel.org/stable/c/a53cb72043443ac787ec0b5fa17bb3f8ff3d462b
- https://git.kernel.org/stable/c/7d7d201eb3b766abe590ac0dda7a508b7db3e357
- https://git.kernel.org/stable/c/c94ab07edc2843e2f3d46dbd82e5c681503aaadf
- https://git.kernel.org/stable/c/c411f9a5fdc9158e8f7c57eac961d3df3eb4d8ca
- https://git.kernel.org/stable/c/5a54367a7c2378c65aaa4d3cfd952f26adef7aa7
- https://git.kernel.org/stable/c/2013c95df6752d9c88221d0f0f37b6f197969390
- https://git.kernel.org/stable/c/19e65c45a1507a1a2926649d2db3583ed9d55fd9
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-21715 · CVE Program
- CVE-2025-21715 · NVD
- FIRST EPSS
- GHSA-cmvg-6vcw-642h · GitHub Advisory Database · CC BY 4.0
- CVE-2025-21715 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences