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

CVE-2026-98333: Linux Kernel Use-After-Free Vulnerability

CVE-2026-98333 is a use-after-free flaw in the Linux kernel mac80211 subsystem affecting LED state management during interface initialization failures. This article covers technical details, impact analysis, 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-98333 Overview

CVE-2026-98333 is a Linux kernel vulnerability in the mac80211 wireless subsystem. The flaw occurs when the first wireless interface is brought up and the radio LED is activated, starting the throughput (TPT) trigger timer. If interface bring-up subsequently fails, the kernel does not reset the LED state and the timer continues running. The timer object can later be freed while still active, producing an ODEBUG warning and risking memory corruption in net/mac80211/led.c. The upstream fix reverses the LED state in the error path so the timer is properly stopped before teardown.

Critical Impact

A freed-but-active tpt_trig_timer can lead to use-after-free conditions in the Linux wireless stack, causing kernel warnings, instability, or potential memory corruption during Wi-Fi driver initialization failures.

Affected Products

  • Linux kernel mac80211 subsystem (upstream)
  • Wireless drivers relying on mac80211 LED triggers, including rt2x00 family
  • Stable kernel branches referenced in the fix commits 78183e833195 and de6f9561db57

Discovery Timeline

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

Technical Details for CVE-2026-98333

Vulnerability Analysis

The vulnerability lives in the mac80211 LED handling code at net/mac80211/led.c. When the first interface comes up, the kernel enables the radio LED, which schedules the tpt_trig_timer throughput trigger. The bring-up path assumes that if the interface starts successfully, teardown will later stop the timer. However, when interface bring-up fails, the error path returns without reversing the LED activation. The timer remains armed on a timer_list object that the subsystem later attempts to free via ieee80211_led_exit() during ieee80211_unregister_hw().

The debug object subsystem detects the active timer during kfree() and emits an ODEBUG warning: free active (active state 0) object ... hint: tpt_trig_timer+0x0/0x300. On kernels without debug objects, the freed timer can fire against reclaimed memory, enabling use-after-free behavior in soft interrupt context.

Root Cause

The root cause is missing cleanup in an error path [CWE-416, use-after-free class]. The LED enable routine starts a timer but the interface bring-up failure path does not call the matching disable routine. State setup and teardown are asymmetric across success and failure branches.

Attack Vector

Triggering the condition requires that Wi-Fi interface initialization fail after the LED has been enabled. This is typically reached through driver load failures, firmware load errors, or hardware probe faults for drivers such as rt2x00. The issue is a reliability and memory-safety bug reachable by local conditions rather than a remote exploitation primitive. No public exploit is available and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog.

Technical details and the applied patch are available in the kernel git commit change and the kernel git commit update.

Detection Methods for CVE-2026-98333

Indicators of Compromise

  • Kernel log entries containing ODEBUG: free active (active state 0) object referencing tpt_trig_timer.
  • WARNING traces originating in debug_check_no_obj_freed and debug_print_object during kfree of mac80211 structures.
  • Call stacks including ieee80211_led_exit and ieee80211_unregister_hw following a failed interface bring-up.
  • Repeated Wi-Fi driver load or probe failures logged alongside LED timer warnings.

Detection Strategies

  • Monitor dmesg and /var/log/kern.log for ODEBUG warnings referencing tpt_trig_timer and net/mac80211/led.c.
  • Correlate wireless driver initialization failures with subsequent kernel warnings in the same boot session.
  • Track kernel package versions across the fleet and flag hosts running mac80211 builds predating fix commits 78183e833195 and de6f9561db57.

Monitoring Recommendations

  • Forward kernel ring buffer logs to a centralized log pipeline for pattern matching on tpt_trig_timer and ieee80211_led_exit.
  • Alert on repeated Wi-Fi interface bring-up failures on endpoints and embedded devices using mac80211 drivers.
  • Include kernel version inventory in vulnerability management reporting to confirm patch coverage.

How to Mitigate CVE-2026-98333

Immediate Actions Required

  • Apply the stable kernel update containing commits 78183e833195 and de6f9561db57 through the distribution's package manager.
  • Reboot affected systems after updating to ensure the patched mac80211 module is loaded.
  • Inventory wireless-enabled hosts and prioritize those using rt2x00 and other mac80211-based drivers.

Patch Information

The fix resets the LED state in the error path so the TPT trigger timer is stopped before the mac80211 structures are freed. Review the kernel git commit change and the kernel git commit update for the authoritative patch. Consume the fix through the Linux stable tree or vendor-supplied kernel updates.

Workarounds

  • Disable Wi-Fi on affected hosts where wireless connectivity is not required until the patched kernel is deployed.
  • Blacklist unstable wireless driver modules that consistently fail to initialize, reducing exposure to the error path.
  • Avoid repeated manual bring-up attempts on interfaces that fail to initialize, as each attempt can leave an orphaned timer.
bash
# Example: blacklist a failing wireless driver module as a temporary workaround
echo "blacklist rt2800usb" | sudo tee /etc/modprobe.d/blacklist-rt2800usb.conf
sudo update-initramfs -u
sudo reboot

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.