CVE-2022-50258

7.8 HIGH

📋 TL;DR

This is a stack buffer overflow vulnerability in the Linux kernel's Broadcom WiFi driver (brcmfmac). It allows attackers to read kernel memory beyond allocated buffer boundaries, potentially leading to information disclosure or system crashes. Systems using affected Broadcom WiFi chips with vulnerable kernel versions are at risk.

💻 Affected Systems

Products:
  • Linux kernel with brcmfmac driver
Versions: Linux kernel versions before the fix commits (specific versions vary by distribution)
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with Broadcom WiFi hardware using the brcmfmac driver. The vulnerability triggers during WiFi initialization.

📦 What is this software?

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Kernel memory corruption leading to privilege escalation, denial of service, or information disclosure of sensitive kernel data.

🟠

Likely Case

System crash/panic (kernel oops) causing denial of service, or information disclosure of kernel memory contents.

🟢

If Mitigated

No impact if patched or if system doesn't use Broadcom WiFi hardware.

🌐 Internet-Facing: LOW - Requires local access or WiFi proximity; not directly exploitable over internet.
🏢 Internal Only: MEDIUM - Local attackers or malicious WiFi clients could potentially exploit this vulnerability.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Requires local access or ability to interact with WiFi subsystem. Found via syzkaller fuzzing.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Fixed in kernel commits: 0a06cadcc2a0, 17dbe90e13f5, 3a3a5e3f9406, 881f50d76c38, 89243a7b0ea1

Vendor Advisory: https://git.kernel.org/stable/c/0a06cadcc2a0044e4a117cc0e61436fc3a0dad69

Restart Required: Yes

Instructions:

1. Update Linux kernel to version containing the fix commits. 2. For distributions: Use package manager (apt/yum/dnf) to update kernel package. 3. Reboot system to load new kernel.

🔧 Temporary Workarounds

Disable Broadcom WiFi

linux

Disable or blacklist brcmfmac driver if WiFi not needed

echo 'blacklist brcmfmac' >> /etc/modprobe.d/blacklist.conf
rmmod brcmfmac

🧯 If You Can't Patch

  • Disable WiFi functionality if not required
  • Restrict physical and network access to prevent local exploitation

🔍 How to Verify

Check if Vulnerable:

Check kernel version and if brcmfmac module is loaded: lsmod | grep brcmfmac && uname -r

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version is after fix commits and check dmesg for brcmfmac errors

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic/oops messages
  • KASAN stack-out-of-bounds reports in dmesg
  • brcmfmac driver crash logs

Network Indicators:

  • Unusual WiFi disconnections or initialization failures

SIEM Query:

kernel: *KASAN* OR kernel: *stack-out-of-bounds* OR kernel: *brcmfmac* AND (panic OR oops OR BUG)

🔗 References

📤 Share & Export