CVE-2021-47311

net: qcom/emac: fix UAF in emac_remove

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

Description

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

net: qcom/emac: fix UAF in emac_remove

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 54e19bc74f3380d414681762ceed9f7245bc6a6e to before 4d04a42b926e682140776e54188f4a44f1f01a81Affected
  • 54e19bc74f3380d414681762ceed9f7245bc6a6e to before b1e091331920f8fbfc747dcbd16263fcd71abb2dAffected
  • 54e19bc74f3380d414681762ceed9f7245bc6a6e to before 11e9d163d631198bb3eb41a677a61b499516c0f7Affected
  • 54e19bc74f3380d414681762ceed9f7245bc6a6e to before 2b70ca92847c619d6264c7372ef74fcbfd1e048cAffected
  • 54e19bc74f3380d414681762ceed9f7245bc6a6e to before b560521eca03d0a2db6093a5a632cbdd0a0cf833Affected
  • 54e19bc74f3380d414681762ceed9f7245bc6a6e to before 8a225a6e07a57a1538d53637cb3d82bd3e477839Affected
  • 54e19bc74f3380d414681762ceed9f7245bc6a6e to before ad297cd2db8953e2202970e9504cab247b6c7cb4Affected
LinuxLinux
  • 4.9Affected
  • before 4.9Not affected
  • 4.9.277 through 4.9.*Not affected
  • 4.14.241 through 4.14.*Not affected
  • 4.19.199 through 4.19.*Not affected
  • 5.4.135 through 5.4.*Not affected
  • 5.10.53 through 5.10.*Not affected
  • 5.13.5 through 5.13.*Not affected
  • 5.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.