CVE-2021-47311: net: qcom/emac: fix UAF in emac_remove
Vulnerability summary
CVE-2021-47311 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.5% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 6Timeline
- 21-05-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu86 products
- linux< 4.15.0-159.167 | < 5.4.0-88.99
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.15.0-1112.119 | < 5.4.0-1057.60
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 54e19bc74f3380d414681762ceed9f7245bc6a6e, < 4d04a42b926e682140776e54188f4a44f1f01a81 | ≥ 54e19bc74f3380d414681762ceed9f7245bc6a6e, < b1e091331920f8fbfc747dcbd16263fcd71abb2d | ≥ 54e19bc74f3380d414681762ceed9f7245bc6a6e, < 11e9d163d631198bb3eb41a677a61b499516c0f7 | ≥ 54e19bc74f3380d414681762ceed9f7245bc6a6e, < 2b70ca92847c619d6264c7372ef74fcbfd1e048c | ≥ 54e19bc74f3380d414681762ceed9f7245bc6a6e, < b560521eca03d0a2db6093a5a632cbdd0a0cf833 | ≥ 54e19bc74f3380d414681762ceed9f7245bc6a6e, < 8a225a6e07a57a1538d53637cb3d82bd3e477839 | ≥ 54e19bc74f3380d414681762ceed9f7245bc6a6e, < ad297cd2db8953e2202970e9504cab247b6c7cb4 | 4.9
- linux_kernel≥ 4.9, < 4.9.277 | ≥ 4.10, < 4.14.241 | ≥ 4.15, < 4.19.199 | ≥ 4.20, < 5.4.135 | ≥ 5.5, < 5.10.53 | ≥ 5.11, < 5.13.5 | 5.14:rc1
Debian1 product
- linux< 5.14.6-1
3 vendors · 89 products