Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2021-47540
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47540 is a NULL pointer dereference vulnerability in the Linux kernel's mt76 wireless driver, specifically in the mt7915_get_phy_mode function of the MT7915 PCIe-based chipset driver. The vulnerability was discovered in 2021 and affects Linux kernel versions from 5.8 through 5.10.84 and from 5.11 through 5.15.7 (NVD).

Technical details

The vulnerability occurs when adding an IBSS (Independent Basic Service Set) interface to the mt7915 driver. The issue stems from an unchecked NULL pointer dereference in the mt7915_get_phy_mode routine, where the code attempts to access the he_cap->has_he field without first verifying that he_cap is not NULL. This results in a kernel NULL pointer dereference at virtual address 0000000000000000, leading to a kernel oops (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can cause a kernel crash due to the NULL pointer dereference, resulting in a denial of service condition. The impact is limited to availability, with no direct effects on confidentiality or integrity of the system (NVD).

Exploitability

The vulnerability requires local access and can be triggered by attempting to create an IBSS network interface using the affected driver. The exploit conditions are relatively straightforward, requiring low complexity and no user interaction beyond having local access to the system (NVD).

Mitigation and workarounds

The vulnerability has been fixed through patches that add proper NULL pointer checks before accessing the he_cap structure. The fix involves modifying the mt7915_get_phy_mode function to verify the he_cap pointer before attempting to access its members (Kernel Patch). Users should update to Linux kernel versions that include these fixes.

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-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-azure-5.4
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-5.4
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.17
NoYesSep 17, 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