CVE-2021-47372
published 2024-05-21CVE-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…
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.24%
15.6th percentile
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
Affected
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.14.9-1 (bookworm) | linux 5.14.9-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 83a77e9ec4150ee4acc635638f7dedd9da523a26 < a7d521cc726f30b8e679a6f36d04b18a8ab3c536 | a7d521cc726f30b8e679a6f36d04b18a8ab3c536 |
| linux | linux | >= 83a77e9ec4150ee4acc635638f7dedd9da523a26 < 46670fb832ee80943715df618632ca13c2e96f2b | 46670fb832ee80943715df618632ca13c2e96f2b |
| linux | linux | >= 83a77e9ec4150ee4acc635638f7dedd9da523a26 < 1da750d1e2140ef43d64d17f301ff6f41b45541e | 1da750d1e2140ef43d64d17f301ff6f41b45541e |
| linux | linux | >= 83a77e9ec4150ee4acc635638f7dedd9da523a26 < 7721221e87d25c9840d9ca6b986dbdc410d5ce2b | 7721221e87d25c9840d9ca6b986dbdc410d5ce2b |
| linux | linux | >= 83a77e9ec4150ee4acc635638f7dedd9da523a26 < 4ad6f2d23b0f6ac0d3e5f3102a4256d1c86c90f5 | 4ad6f2d23b0f6ac0d3e5f3102a4256d1c86c90f5 |
| linux | linux | >= 83a77e9ec4150ee4acc635638f7dedd9da523a26 < d82d5303c4c539db86588ffb5dc5b26c3f1513e8 | d82d5303c4c539db86588ffb5dc5b26c3f1513e8 |
| linux | linux_kernel | < 4.14.249 | 4.14.249 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.70-1 | 5.10.70-1 |
| linux | linux_kernel | >= 0 < 5.14.9-1 | 5.14.9-1 |
| linux | linux_kernel | >= 0 < 5.14.9-1 | 5.14.9-1 |
| linux | linux_kernel | >= 0 < 5.14.9-1 | 5.14.9-1 |
| linux | linux_kernel | >= 4.15 < 4.19.209 | 4.19.209 |
| linux | linux_kernel | >= 4.20 < 5.4.150 | 5.4.150 |
| linux | linux_kernel | >= 5.11 < 5.14.9 | 5.14.9 |
| linux | linux_kernel | >= 5.5 < 5.10.70 | 5.10.70 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: net: macb: fix use after free on rmmod
vendor_redhat·2024-05-21·CVSS 7.8
CVE-2021-47372 [HIGH] CWE-416 kernel: net: macb: fix use after free on rmmod
kernel: net: macb: fix use after free on rmmod
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
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Re
Debian
CVE-2021-47372: linux - In the Linux kernel, the following vulnerability has been resolved: net: macb: ...
vendor_debian·2021·CVSS 7.8
CVE-2021-47372 [HIGH] CVE-2021-47372: linux - In the Linux kernel, the following vulnerability has been resolved: net: macb: ...
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
Scope: local
bookworm: resolved (fixed in 5.14.9-1)
bullseye: resolved (fixed in 5.10.70-1)
forky: resolved (fixed in 5.14.9-1)
sid: resolved (fixed in 5.14.9-1)
trixie: resolved (fixed in 5.14.9-1)
GHSA
GHSA-6hmf-7mx4-83j8: 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
ghsa_unreviewed·2024-05-21
CVE-2021-47372 [HIGH] CWE-416 GHSA-6hmf-7mx4-83j8: 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
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
OSV
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
osv·2024-05-21·CVSS 7.8
CVE-2021-47372 [HIGH] 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
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
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/1da750d1e2140ef43d64d17f301ff6f41b45541ehttps://git.kernel.org/stable/c/46670fb832ee80943715df618632ca13c2e96f2bhttps://git.kernel.org/stable/c/4ad6f2d23b0f6ac0d3e5f3102a4256d1c86c90f5https://git.kernel.org/stable/c/7721221e87d25c9840d9ca6b986dbdc410d5ce2bhttps://git.kernel.org/stable/c/a7d521cc726f30b8e679a6f36d04b18a8ab3c536https://git.kernel.org/stable/c/d82d5303c4c539db86588ffb5dc5b26c3f1513e8https://git.kernel.org/stable/c/1da750d1e2140ef43d64d17f301ff6f41b45541ehttps://git.kernel.org/stable/c/46670fb832ee80943715df618632ca13c2e96f2bhttps://git.kernel.org/stable/c/4ad6f2d23b0f6ac0d3e5f3102a4256d1c86c90f5https://git.kernel.org/stable/c/7721221e87d25c9840d9ca6b986dbdc410d5ce2bhttps://git.kernel.org/stable/c/a7d521cc726f30b8e679a6f36d04b18a8ab3c536https://git.kernel.org/stable/c/d82d5303c4c539db86588ffb5dc5b26c3f1513e8
2024-05-21
Published