CVE-2025-21715: net: davicom: fix UAF in dm9000_drv_remove

Published Feb 27, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: davicom: fix UAF in dm9000drvremove

dm is netdev private data and it cannot be used after freenetdev() call. Using dm after freenetdev() can cause UAF bug. Fix it by moving freenetdev() at the end of the function.

This is similar to the issue fixed in commit ad297cd2db89 ("net: qcom/emac: fix UAF in emacremove").

This bug is detected by our static analysis tool.

Affected Software

12 affected components
Linux Kernel Linux kernel
Linux Linux kernel>=4.4.262<4.5
Linux Linux kernel>=4.9.262<4.10
Linux Linux kernel>=4.14.226<4.15
Linux Linux kernel>=4.19.181<4.20
Linux Linux kernel>=5.4.106<5.4.291
Linux Linux kernel>=5.10.24<5.10.235
Linux Linux kernel>=5.11.7<5.15.179
Linux Linux kernel>=5.16<6.1.129
Linux Linux kernel>=6.2<6.6.76
Linux Linux kernel>=6.7<6.12.13
Linux Linux kernel>=6.13<6.13.2

Event History

Feb 27, 2025
CVE Published
via MITRE·02:07 AM
Data Sourced
via MITRE·02:07 AM
Description
Data Sourced
via NVD·02:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 5, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-21715?

CVE-2025-21715 has a medium severity due to the potential for use-after-free vulnerabilities affecting the Linux kernel.

2

How do I fix CVE-2025-21715?

To fix CVE-2025-21715, upgrade to the latest version of the Linux kernel where the vulnerability has been patched.

3

What systems are affected by CVE-2025-21715?

CVE-2025-21715 affects various versions of the Linux kernel that utilize the davicom dm9000 driver.

4

Is CVE-2025-21715 easily exploitable?

Exploitation of CVE-2025-21715 requires local access and is dependent on specific conditions in the network environment.

5

Where can I find more information about CVE-2025-21715?

Further details about CVE-2025-21715 can be found in the official Linux kernel repositories and security advisories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203