CVE-2021-47479: 
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a use-after-free vulnerability was discovered in the rtl8712_dl_fw() function. The issue stems from a race condition between r871xu_dev_remove() and the ndo_open() callback. The vulnerability was reported by Syzbot and is tracked as CVE-2021-47479. The bug occurs because the driver accesses released firmware in the ndo_open() callback, which is possible because the driver was releasing firmware before unregistering the network device (Kernel Git).

Technical details

The vulnerability manifests in the staging driver for RTL8712 when the driver attempts to access firmware that has already been released. The issue occurs due to incorrect ordering of operations in the r871xu_dev_remove() function, where firmware is released before unregistering the network device. This creates a race condition where the ndo_open() callback can still attempt to access the released firmware. The problem was traced to the firmware loading mechanism implemented in commit 8c213fa59199 'staging: r8712u: Use asynchronous firmware loading' (Kernel Git).

Impact

When exploited, this vulnerability can lead to a use-after-free condition in the kernel, potentially causing system crashes or memory corruption. The issue affects systems running the Linux kernel with the RTL8712 driver loaded (NVD).

Exploitability

The vulnerability can be triggered during device removal operations when there is concurrent access to the firmware through the network device operations. The issue has been demonstrated through a reproducible crash sequence involving the rtl8712_dl_fw() function (Kernel Git).

Mitigation and workarounds

The issue has been fixed by reordering the operations in r871xu_dev_remove() to ensure the network device is unregistered before releasing the firmware. The fix moves the unregister_netdev() call before the resource cleanup operations (Kernel Git).

Additional resources


Source: This 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-99804HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg-5.15
NoYesNov 20, 2026
CVE-2026-99798HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-gcp-5.15
NoYesNov 20, 2026
CVE-2026-99799MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency-hwe-5.15
NoYesNov 20, 2026
CVE-2026-99797MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-ibm-5.15
NoYesNov 20, 2026
CVE-2026-99796MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel-matched
NoYesNov 20, 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

Additional Wiz resources

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