First published: Thu Feb 27 2025(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | >=4.4.262<4.5 | |
Linux Kernel | >=4.9.262<4.10 | |
Linux Kernel | >=4.14.226<4.15 | |
Linux Kernel | >=4.19.181<4.20 | |
Linux Kernel | >=5.4.106<5.4.291 | |
Linux Kernel | >=5.10.24<5.10.235 | |
Linux Kernel | >=5.11.7<5.15.179 | |
Linux Kernel | >=5.16<6.1.129 | |
Linux Kernel | >=6.2<6.6.76 | |
Linux Kernel | >=6.7<6.12.13 | |
Linux Kernel | >=6.13<6.13.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-21715 has a medium severity due to the potential for use-after-free vulnerabilities affecting the Linux kernel.
To fix CVE-2025-21715, upgrade to the latest version of the Linux kernel where the vulnerability has been patched.
CVE-2025-21715 affects various versions of the Linux kernel that utilize the davicom dm9000 driver.
Exploitation of CVE-2025-21715 requires local access and is dependent on specific conditions in the network environment.
Further details about CVE-2025-21715 can be found in the official Linux kernel repositories and security advisories.