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

CVE-2026-98307: Linux Kernel ath11k Privilege Escalation

CVE-2026-98307 is a privilege escalation vulnerability in the Linux kernel ath11k WiFi driver caused by improper resource cleanup during firmware crashes. This article covers technical details, impact, and mitigation.

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-98307 Overview

CVE-2026-98307 is a memory leak vulnerability in the Linux kernel ath11k Wi-Fi driver used by Qualcomm QCN9074 and related chipsets. When the Wi-Fi firmware crashes, the driver invokes ieee80211_restart_hw(), which assumes all driver-related station resources have already been freed. The cleanup routine ath11k_mac_peer_cleanup_all() fails to release the per-station arsta->rx_stats and tx_stats buffers, leaking kernel memory on every firmware recovery cycle. The upstream fix extracts the station cleanup logic into a new helper, ath11k_mac_station_cleanup(), invoked from both the normal removal path and the peer cleanup path.

Critical Impact

Repeated firmware crashes on affected Wi-Fi hardware leak kernel memory, degrading system stability over time on long-running access points and embedded devices.

Affected Products

  • Linux kernel builds containing the ath11k Wi-Fi driver
  • Systems using Qualcomm QCN9074 hw1.0 PCI Wi-Fi hardware (firmware WLAN.HK.2.9.0.1-01977-QCAHKSWPL_SILICONZ-1)
  • Downstream distributions shipping unpatched ath11k versions

Discovery Timeline

  • 2026-10-06 - CVE-2026-98307 published to the National Vulnerability Database
  • 2026-10-06 - Last updated in the NVD database

Technical Details for CVE-2026-98307

Vulnerability Analysis

The ath11k driver manages per-station state through an arsta structure that includes dynamically allocated rx_stats and tx_stats buffers. Under normal operation, mac80211 invokes .sta_state() when removing a station, which calls ath11k_mac_station_remove(). That function releases both peer entries and the per-station statistics memory.

When the Wi-Fi firmware crashes, the driver takes a different recovery path. It calls ieee80211_restart_hw(), which expects the driver to have already released all station-attached resources. The pre-restart cleanup is funneled through ath11k_mac_peer_cleanup_all(), but that routine only tears down peer objects. The arsta->rx_stats and arsta->tx_stats allocations persist, producing a kernel memory leak reported by kmemleak.

Root Cause

The root cause is incomplete resource cleanup across two logically distinct code paths. The arsta statistics buffers were freed only in the mac80211-driven removal path, not in the firmware-recovery path. Each firmware crash orphaned one rx_stats and one tx_stats allocation per associated station. On access points with many clients and frequent firmware instability, the leaked memory accumulates and eventually pressures the kernel allocator.

Attack Vector

This issue is a reliability and resource-exhaustion defect rather than a direct remote code execution vector. The leak triggers on firmware crashes, which may be induced by malformed over-the-air frames, driver bugs, or hardware faults. An attacker in Wi-Fi range who can repeatedly induce firmware resets could drive sustained memory consumption on an affected access point or client device. See the upstream fix commits for the exact code paths: Kernel Git Commit Fix and Kernel Git Commit Change.

Detection Methods for CVE-2026-98307

Indicators of Compromise

  • kmemleak reports referencing ath11k_mac_op_sta_state in the allocation backtrace with 1024-byte unreferenced objects.
  • Kernel log entries showing repeated ath11k firmware crash and recovery sequences on QCN9074 hardware.
  • Steady growth in SUnreclaim or slab allocator counters on long-running access points using ath11k.

Detection Strategies

  • Enable CONFIG_DEBUG_KMEMLEAK on test systems and scan /sys/kernel/debug/kmemleak for allocations traced to ath11k_mac_op_sta_state.
  • Correlate dmesg firmware assertion messages with memory growth over time using node exporters or kernel slab metrics.
  • Audit running kernel versions against the fix commits listed in the upstream references to confirm patch presence.

Monitoring Recommendations

  • Track slab allocator statistics (/proc/slabinfo) on devices running the ath11k driver to detect gradual leakage.
  • Alert on recurring ath11k firmware recovery events, which indicate exposure to the leaking code path.
  • Centralize kernel logs from Wi-Fi infrastructure to identify patterns of firmware instability across fleets.

How to Mitigate CVE-2026-98307

Immediate Actions Required

  • Update to a Linux kernel version that includes the ath11k_mac_station_cleanup() refactor applied in the upstream stable commits.
  • Inventory devices using ath11k-supported Qualcomm Wi-Fi chipsets, including embedded access points and SBCs.
  • Schedule reboots on long-running affected devices to reclaim leaked memory while patches are rolled out.

Patch Information

The fix extracts the arsta cleanup logic into a shared helper and invokes it from both ath11k_mac_station_remove() and ath11k_mac_peer_cleanup_all(). The upstream commits are available at Kernel Git Commit Fix, Kernel Git Commit Change, Kernel Git Commit Update, and Kernel Git Commit Enhancement. Apply vendor-supplied kernel updates once they integrate these backports.

Workarounds

  • Investigate and resolve root causes of ath11k firmware crashes to minimize the frequency the leaking cleanup path executes.
  • Where feasible, use alternative Wi-Fi drivers or hardware on systems that cannot immediately be patched.
  • Periodically reboot affected devices to reset accumulated memory consumption until the kernel update is deployed.

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.