CVE-2021-47372: net: macb: fix use after free on rmmod
Vulnerability summary
CVE-2021-47372 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.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 11 · Related 11Timeline
- 21-05-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: net: macb: fix use after free on rmmod plat_dev->dev->platform_data is released by platform_device_unregister(), use of pclk and hclk is a use-after-free. Since device unregister won't need a clk device we adjust the function call sequence to fix this issue. [ 31.261225] BUG: KASAN: use-after-free in macb_remove+0x77/0xc6 [macb_pci] [ 31.275563] Freed by task 306: [ 30.276782] platform_device_release+0x25/0x80
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.24%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% 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.
Ubuntu88 products
- linuxAll versions (No fix recorded) | < 4.15.0-163.171 | < 5.4.0-91.102
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1116.123 | < 5.4.0-1060.63
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 83a77e9ec4150ee4acc635638f7dedd9da523a26, < a7d521cc726f30b8e679a6f36d04b18a8ab3c536 | ≥ 83a77e9ec4150ee4acc635638f7dedd9da523a26, < 46670fb832ee80943715df618632ca13c2e96f2b | ≥ 83a77e9ec4150ee4acc635638f7dedd9da523a26, < 1da750d1e2140ef43d64d17f301ff6f41b45541e | ≥ 83a77e9ec4150ee4acc635638f7dedd9da523a26, < 7721221e87d25c9840d9ca6b986dbdc410d5ce2b | ≥ 83a77e9ec4150ee4acc635638f7dedd9da523a26, < 4ad6f2d23b0f6ac0d3e5f3102a4256d1c86c90f5 | ≥ 83a77e9ec4150ee4acc635638f7dedd9da523a26, < d82d5303c4c539db86588ffb5dc5b26c3f1513e8 | 4.10
- linux_kernel< 4.14.249 | ≥ 4.15, < 4.19.209 | ≥ 4.20, < 5.4.150 | ≥ 5.5, < 5.10.70 | ≥ 5.11, < 5.14.9 | 5.15:rc1
Debian1 product
- linux< 5.14.9-1
3 vendors · 91 products