CVE-2022-50294

5.5 MEDIUM

📋 TL;DR

A memory leak vulnerability in the Linux kernel's libertas WiFi driver allows attackers to cause denial of service by exhausting kernel memory. This affects Linux systems using libertas-based WiFi hardware. The vulnerability occurs when kfifo_alloc() fails during adapter initialization, leaving allocated command buffers unreleased.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Kernel versions with vulnerable libertas driver code (specific versions not specified in CVE)
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems using libertas WiFi drivers. Requires triggering adapter initialization failure.

📦 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 exhaustion leading to system instability, crashes, or denial of service requiring reboot

🟠

Likely Case

Local denial of service affecting WiFi functionality on vulnerable systems

🟢

If Mitigated

Minimal impact with proper memory management and monitoring

🌐 Internet-Facing: LOW - Requires local access or ability to trigger WiFi adapter initialization
🏢 Internal Only: MEDIUM - Local attackers or malicious processes could exploit this to disrupt WiFi services

🎯 Exploit Status

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

Exploitation requires local access and ability to trigger specific driver initialization failure conditions

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Kernel versions with commits: 037f84c0bfae5c436c651d0e804264e2648010ec, 16a03958618fb91bb1bc7077cf3211055162cc2f, 23b34e08de5c2380414c9d3c33e8235094bcccae, 4c102ad59bfa66c0f6662af64fa3b9007b02c20f, 653d13a73e498d0bb6aeaf689aaa960defa7878b

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

Restart Required: No

Instructions:

1. Update Linux kernel to patched version. 2. For distributions: Use package manager to update kernel package. 3. Rebuild kernel if using custom kernel with backported patches.

🔧 Temporary Workarounds

Disable libertas driver

all

Prevent loading of vulnerable libertas WiFi driver module

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

🧯 If You Can't Patch

  • Monitor kernel memory usage for unusual patterns
  • Restrict local user access to systems with vulnerable drivers

🔍 How to Verify

Check if Vulnerable:

Check if libertas module is loaded: lsmod | grep libertas. Check kernel version against patched commits.

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes patched commits. Test WiFi functionality with libertas hardware.

📡 Detection & Monitoring

Log Indicators:

  • Kernel oom-killer messages
  • System instability logs
  • WiFi driver initialization failures

Network Indicators:

  • Unexpected WiFi disconnections
  • Network interface failures

SIEM Query:

kernel: *libertas* AND (error OR fail OR oom)

🔗 References

📤 Share & Export