Use After Free in Linux
CVE-2021-47372
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
Vulnerability class: Use-After-Free
EPSS: 0.002 (15.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions 83a77e9ec4150ee4acc635638f7dedd9da523a26, 4.10, 0
- Linux Linux_kernel — versions 5.15
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2021-47372?
- CVE-2021-47372 is a high-severity vulnerability in Linux, classified under Use After Free. CVSS score: 7.8/10. Published 2024-05-21.
- How severe is CVE-2021-47372?
- High severity. CVSS v3 base score is 7.8 out of 10.