CVE-2021-47372

HIGH

Linux Kernel < 4.14.249 - Use-After-Free in macb_remove

Title source: llm
STIX 2.1

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

Scores

CVSS v3 7.8
EPSS 0.0024
EPSS Percentile 15.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (16)
Linux/Linux < 4.10
Linux/Linux 4.10
Linux/Linux 4.14.249 - 4.14.*
Linux/Linux 4.19.209 - 4.19.*
Linux/Linux 5.10.70 - 5.10.*
Linux/Linux 5.14.9 - 5.14.*
Linux/Linux 5.15
Linux/Linux 5.4.150 - 5.4.*
Linux/Linux 83a77e9ec4150ee4acc635638f7dedd9da523a26 - 1da750d1e2140ef43d64d17f301ff6f41b45541e
Linux/Linux 83a77e9ec4150ee4acc635638f7dedd9da523a26 - 46670fb832ee80943715df618632ca13c2e96f2b
... and 6 more
Published May 21, 2024
Tracked Since Feb 18, 2026