CVE-2025-21715

net: davicom: fix UAF in dm9000_drv_remove

State
Published
Severity
7.8 High
Published
Feb 27, 2025
Updated
May 23, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • d28e783c20033b90a64d4e1307bafb56085d8184 to before db79e982c5f9e39ab710cbce55b05f2f5e6f1ca9Affected
  • 4fd0654b8f2129b68203974ddee15f804ec011c2 to before a53cb72043443ac787ec0b5fa17bb3f8ff3d462bAffected
  • cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b to before 7d7d201eb3b766abe590ac0dda7a508b7db3e357Affected
  • cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b to before c94ab07edc2843e2f3d46dbd82e5c681503aaadfAffected
  • cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b to before c411f9a5fdc9158e8f7c57eac961d3df3eb4d8caAffected
  • cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b to before 5a54367a7c2378c65aaa4d3cfd952f26adef7aa7Affected
  • cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b to before 2013c95df6752d9c88221d0f0f37b6f197969390Affected
  • cf9e60aa69ae6c40d3e3e4c94dd6c8de31674e9b to before 19e65c45a1507a1a2926649d2db3583ed9d55fd9Affected
  • d182994b2b6e23778b146a230efac8f1d77a3445Affected
  • 427b3fc3d5244fef9c1f910a9c699f2690642f83Affected
  • 9c49181c201d434186ca6b1a7b52e29f4169f6f8Affected
  • 9808f032c4d971cbf2b01411a0a2a8ee0040efe3Affected
  • a1f308089257616cdb91b4334c5eaa81ae17e387Affected
  • 5.4.106 to before 5.4.291Affected
  • 5.10.24 to before 5.10.235Affected
  • 4.4.262 to before 4.5Affected
  • 4.9.262 to before 4.10Affected
  • 4.14.226 to before 4.15Affected
  • 4.19.181 to before 4.20Affected
  • 5.11.7 to before 5.12Affected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 5.4.291 through 5.4.*Not affected
  • 5.10.235 through 5.10.*Not affected
  • 5.15.179 through 5.15.*Not affected
  • 6.1.129 through 6.1.*Not affected
  • 6.6.76 through 6.6.*Not affected
  • 6.12.13 through 6.12.*Not affected
  • 6.13.2 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.