Skip to main content
Vulnerability Database/CVE-2026-98192

CVE-2026-98192: Linux Kernel wcn36xx Use-After-Free Flaw

CVE-2026-98192 is a use-after-free vulnerability in the Linux kernel wcn36xx WiFi driver that can cause memory corruption during TX ack timer teardown. This article covers the technical details, security impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98192 Overview

CVE-2026-98192 is a use-after-free vulnerability in the Linux kernel's wcn36xx Wi-Fi driver, which supports Qualcomm WCN3660/WCN3680 wireless chipsets. The flaw resides in wcn36xx_dxe_deinit(), which uses timer_delete() to tear down the TX ack timer. timer_delete() only dequeues the timer and does not wait for an already-executing callback to finish. As a result, wcn36xx_dxe_tx_timer() can continue running after driver teardown and access freed memory, including the wcn structure and the ieee80211_hw instance released in wcn36xx_remove(). The issue was identified by an in-house static analysis tool and resolved by switching to timer_shutdown_sync().

Critical Impact

A race between driver teardown and the TX ack timer callback can lead to kernel use-after-free, potentially causing memory corruption, kernel panic, or local privilege escalation on affected systems.

Affected Products

  • Linux kernel versions containing the wcn36xx wireless driver prior to the fix
  • Systems using Qualcomm WCN3660/WCN3680 Wi-Fi chipsets (common on ARM-based platforms and some Chromebooks/Snapdragon devices)
  • Stable kernel branches referenced by commits 2bddc5d, 3edabc9, c0df087, and d9be5e7

Discovery Timeline

  • 2026-10-06 - CVE-2026-98192 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-98192

Vulnerability Analysis

The vulnerability is a classic use-after-free [CWE-416] race between resource teardown and a deferred timer callback. During driver removal, wcn36xx_dxe_deinit() invokes timer_delete() on the TX ack timer. This function only removes the timer from the pending queue; it does not synchronize with a callback that has already begun executing on another CPU.

The preceding free_irq() calls synchronize only interrupt handlers, not softirq-scheduled timer callbacks. Consequently, wcn36xx_dxe_tx_timer() may still be running when wcn36xx_remove() proceeds to free the wcn driver context and unregister the ieee80211_hw instance.

Once executing on freed memory, the callback acquires wcn->dxe_lock, reads wcn->tx_ack_skb, and passes wcn->hw to ieee80211_tx_status_irqsafe(). All of these operations touch memory that has been released back to the slab allocator.

Root Cause

The root cause is incorrect timer teardown semantics. timer_delete() returns immediately whether or not the callback is currently executing, leaving a window in which the callback runs against freed state. The driver did not use a synchronizing variant that waits for in-flight callbacks and prevents rearming.

Attack Vector

Exploitation requires local conditions that trigger driver unload or device removal while the TX ack timer callback is in flight. This can occur during rmmod, device hot-unplug, suspend/resume cycles, or interface reconfiguration under Wi-Fi traffic. A local attacker with the ability to influence driver lifecycle events and Wi-Fi activity could race the teardown to trigger memory corruption. See the upstream fix commit for technical details of the fix.

Detection Methods for CVE-2026-98192

Indicators of Compromise

  • Kernel oops or panic messages referencing wcn36xx_dxe_tx_timer, ieee80211_tx_status_irqsafe, or wcn36xx_remove in dmesg or journalctl -k
  • KASAN use-after-free reports pointing to dxe_lock or tx_ack_skb access on kernels built with sanitizers enabled
  • Unexpected Wi-Fi driver crashes during module unload, suspend/resume, or interface teardown under traffic

Detection Strategies

  • Inventory affected endpoints by querying running kernel version and loaded modules (lsmod | grep wcn36xx) across Linux fleets
  • Enable KASAN or KFENCE on test builds to surface use-after-free conditions in the wcn36xx driver during stress testing
  • Monitor host telemetry for repeated kernel oops signatures that correlate with Wi-Fi stack activity

Monitoring Recommendations

  • Forward /var/log/kern.log and journald kernel entries to a centralized logging pipeline for signature-based alerting
  • Alert on unexpected wcn36xx module reloads and Wi-Fi interface flaps on production devices
  • Track kernel package versions through configuration management to confirm patch deployment status

How to Mitigate CVE-2026-98192

Immediate Actions Required

  • Apply the upstream stable kernel update containing commits 2bddc5d, 3edabc9, c0df087, or d9be5e7 as provided by your distribution
  • Prioritize patching ARM/Snapdragon-based Linux devices that ship with Qualcomm WCN3660/WCN3680 wireless chipsets
  • Restrict unprivileged access to driver lifecycle operations such as module unload and device unbind

Patch Information

The fix replaces timer_delete() with timer_shutdown_sync() in wcn36xx_dxe_deinit(). timer_shutdown_sync() waits for any running callback to complete and prevents the timer from being rearmed. The timer is reinitialized by wcn36xx_dxe_init() on the next driver start, preserving the normal start/stop cycle. Patches are available in the following commits: 2bddc5d, 3edabc9, c0df087, and d9be5e7.

Workarounds

  • Avoid unloading or rebinding the wcn36xx driver on production devices until patches are applied
  • Blacklist the wcn36xx module on systems that do not require Qualcomm WCN36xx Wi-Fi functionality
  • Disable Wi-Fi radio before performing suspend, module unload, or device teardown to reduce the race window
bash
# Example: blacklist the wcn36xx module until patches are deployed
echo 'blacklist wcn36xx' | sudo tee /etc/modprobe.d/blacklist-wcn36xx.conf
sudo update-initramfs -u

# Verify installed kernel version after patching
uname -r

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.