CVE-2022-49326

5.5 MEDIUM

📋 TL;DR

A kernel panic vulnerability in Linux kernel's rtl818x wireless driver allows denial of service when using rtl8180/rtl8185 wireless cards. The driver attempts to use uninitialized transmit queues when processing certain network packets, causing a divide-by-zero crash. Users with affected wireless hardware running vulnerable kernel versions are impacted.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Versions containing the vulnerable rtl818x driver code before the fix commits
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with rtl8180 or rtl8185 wireless hardware. rtl8187se hardware is not affected.

📦 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 →

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 panic leading to complete system crash and denial of service, requiring physical or remote reboot.

🟠

Likely Case

System crash when connecting to wireless networks with wpa_supplicant 2.10+ or when processing certain network traffic patterns.

🟢

If Mitigated

No impact if patched or using unaffected hardware.

🌐 Internet-Facing: LOW - Requires local wireless network access and specific hardware.
🏢 Internal Only: MEDIUM - Internal wireless networks could trigger the crash if vulnerable hardware is present.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: NO
Unauthenticated Exploit: ✅ No
Complexity: LOW - Triggered by normal wireless network operations with specific hardware.

Exploitation requires local wireless network access and specific hardware. The crash was discovered during normal wpa_supplicant 2.10 usage.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Kernel versions containing commits 6ad81ad0cf5744738ce94c8e64051ddd80a1734c or later

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

Restart Required: Yes

Instructions:

1. Update Linux kernel to patched version from your distribution. 2. Reboot system to load new kernel. 3. Verify driver is updated.

🔧 Temporary Workarounds

Disable affected wireless hardware

linux

Blacklist or disable rtl8180/rtl8185 drivers to prevent kernel panic

echo 'blacklist rtl8180' >> /etc/modprobe.d/blacklist.conf
echo 'blacklist rtl8185' >> /etc/modprobe.d/blacklist.conf
update-initramfs -u
reboot

Downgrade wpa_supplicant

linux

Use wpa_supplicant 2.9 or earlier to avoid triggering the bug

apt-get install wpa-supplicant=2.9*
yum downgrade wpa_supplicant

🧯 If You Can't Patch

  • Replace rtl8180/rtl8185 wireless hardware with unaffected models
  • Use wired network connections instead of wireless

🔍 How to Verify

Check if Vulnerable:

Check if rtl8180 or rtl8185 driver is loaded: lsmod | grep rtl818 && check kernel version against patched versions

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes fix commits and test wireless connectivity with wpa_supplicant 2.10+

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic messages mentioning 'divide error'
  • System crash/reboot logs
  • Wireless driver error messages

Network Indicators:

  • Wireless connection failures followed by system crash

SIEM Query:

event_type:kernel AND (message:"divide error" OR message:"rtl818" OR message:"panic")

🔗 References

📤 Share & Export