CVE-2021-47372
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47372 is a use-after-free vulnerability discovered in the Linux kernel's network driver component, specifically in the MACB (Microchip/Atmel MAC-Bus) PCI driver. The vulnerability was identified and resolved in 2021, affecting multiple versions of the Linux kernel up to versions 4.14.249, 4.19.209, 5.4.150, 5.10.70, and 5.14.9 (NVD).

Technical details

The vulnerability occurs in the macb_remove function of the MACB PCI driver when unregistering the platform device. The issue arises because plat_dev->dev->platform_data is released by platform_device_unregister(), but the subsequent use of pclk and hclk results in a use-after-free condition. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The use-after-free vulnerability could potentially lead to memory corruption, system crashes, or privilege escalation in affected Linux systems. The high CVSS score indicates that successful exploitation could result in complete compromise of system confidentiality, integrity, and availability (NVD).

Exploitability

The vulnerability requires local access and low privileges to exploit. A proof-of-concept exists in the form of a kernel crash log showing the use-after-free condition: 'BUG: KASAN: use-after-free in macb_remove+0x77/0xc6 [macb_pci]' (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed by adjusting the function call sequence in the macb_remove function. The fix involves moving the platform_device_unregister(plat_dev) call after the clk_unregister calls for pclk and hclk, as device unregistration doesn't require the clock device (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-hwe-7.0
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-raspi-5.4
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-core
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management