CVE-2021-47311

published 21 May 2024 · updated 11 May 2026

net: qcom/emac: fix UAF in emac_remove

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 11e9d163d631198bb3eb41a677a61b499516c0f7, Kernel 2b70ca92847c619d6264c7372ef74fcbfd1e048c, Kernel 4d04a42b926e682140776e54188f4a44f1f01a81 and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.9, >=54e19bc74f3380d414681762ceed9f7245bc6a6e <11e9d163d631198bb3eb41a677a61b499516c0f7, >=54e19bc74f3380d414681762ceed9f7245bc6a6e <2b70ca92847c619d6264c7372ef74fcbfd1e048c, >=54e19bc74f3380d414681762ceed9f7245bc6a6e <4d04a42b926e682140776e54188f4a44f1f01a81, >=54e19bc74f3380d414681762ceed9f7245bc6a6e <8a225a6e07a57a1538d53637cb3d82bd3e477839, >=54e19bc74f3380d414681762ceed9f7245bc6a6e <ad297cd2db8953e2202970e9504cab247b6c7cb4, >=54e19bc74f3380d414681762ceed9f7245bc6a6e <b1e091331920f8fbfc747dcbd16263fcd71abb2d, >=54e19bc74f3380d414681762ceed9f7245bc6a6e <b560521eca03d0a2db6093a5a632cbdd0a0cf83311e9d163d631198bb3eb41a677a61b499516c0f7, 2b70ca92847c619d6264c7372ef74fcbfd1e048c, 4d04a42b926e682140776e54188f4a44f1f01a81, 8a225a6e07a57a1538d53637cb3d82bd3e477839, ad297cd2db8953e2202970e9504cab247b6c7cb4, b1e091331920f8fbfc747dcbd16263fcd71abb2d, b560521eca03d0a2db6093a5a632cbdd0a0cf833

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47311 severity on Zeptric[![CVE-2021-47311](https://zeptric.io/badge/cve/CVE-2021-47311.svg)](https://zeptric.io/cve/CVE-2021-47311)