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

CVE-2026-93796: Linux Kernel iwlwifi Use-After-Free Flaw

CVE-2026-93796 is a use-after-free vulnerability in the Linux kernel iwlwifi driver that can cause system instability when RX pointers are accessed after being freed. 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-93796 Overview

CVE-2026-93796 is a use-after-free vulnerability in the Linux kernel's Intel Wireless (iwlwifi) PCIe transport driver. The flaw occurs when iwl_pcie_tx_init() fails after RX initialization has completed. The NIC initialization unwinds through iwl_pcie_rx_free(), but the freed RX members remain non-NULL on the live transport object. Subsequent teardown or retry paths can then dereference stale RX state, including rx_pool, global_table, rxq, and alloc_page pointers.

Critical Impact

Local attackers with low privileges can trigger memory corruption in the kernel's wireless driver, potentially leading to privilege escalation or kernel crash on systems using Intel Wi-Fi hardware.

Affected Products

  • Linux kernel versions containing the iwlwifi PCIe driver prior to the fix commits
  • Systems using Intel wireless network adapters managed by the iwlwifi driver
  • Distributions shipping affected stable kernel branches referenced in the upstream commits

Discovery Timeline

  • 2026-09-24 - CVE-2026-93796 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-93796

Vulnerability Analysis

The vulnerability resides in the Intel wireless (iwlwifi) PCIe transport initialization path. During NIC initialization, the driver sets up receive (RX) structures first, then transmit (TX) structures. If iwl_pcie_tx_init() fails, the error path invokes iwl_pcie_rx_free() to release the previously allocated RX resources.

The cleanup function frees RX pool memory, the global descriptor table, RX queue structures, and allocated pages. However, it does not reset the corresponding pointers (rx_pool, global_table, rxq, alloc_page) on the transport object. The transport structure remains live and reachable.

When the driver later attempts cleanup during module unload, device teardown, or a retry of initialization, it operates on stale pointers that reference freed memory. This classic use-after-free condition can corrupt kernel memory or trigger a double-free during repeated cleanup.

Root Cause

The root cause is incomplete cleanup semantics in iwl_pcie_rx_free(). The function releases heap allocations but leaves dangling references on the parent transport structure. Any code path that re-enters cleanup, including error retry logic or subsequent teardown, assumes non-NULL pointers indicate valid allocations. This violates the invariant that freed objects must have their references nulled on live parent structures.

Attack Vector

Exploitation requires local access with the ability to trigger iwlwifi initialization failures. An attacker could induce TX initialization failure through resource pressure, repeated interface up/down cycles, or module reload sequences on hardware using the Intel wireless driver. The attack complexity is high because triggering reliable use-after-free requires precise timing of the failure path and subsequent cleanup. Successful exploitation can compromise kernel memory integrity.

The vulnerability mechanism is described in the upstream fix. See the Kernel Git Commit 2c79d7a for the authoritative patch.

Detection Methods for CVE-2026-93796

Indicators of Compromise

  • Kernel oops or panic messages referencing iwl_pcie_rx_free, iwl_pcie_tx_init, or related iwlwifi PCIe symbols
  • KASAN (Kernel Address Sanitizer) reports flagging use-after-free in Intel wireless driver paths
  • Repeated wireless interface failures correlated with dmesg entries about failed TX ring allocation

Detection Strategies

  • Monitor kernel logs for iwlwifi initialization failures followed by driver teardown events
  • Audit running kernel versions against the fixed stable branches referenced in the upstream commits
  • Enable kernel debugging features such as KASAN on test systems to catch use-after-free conditions during driver stress testing

Monitoring Recommendations

  • Collect and centralize dmesg output from Linux endpoints with Intel wireless hardware for anomaly analysis
  • Track module load and unload events for iwlwifi through audit subsystem rules
  • Alert on unexpected kernel crashes on fleets of laptops and workstations running affected kernel versions

How to Mitigate CVE-2026-93796

Immediate Actions Required

  • Apply the stable kernel update containing the upstream fix commits to all affected Linux systems
  • Inventory endpoints and servers using Intel wireless PCIe adapters managed by the iwlwifi driver
  • Restrict local access on multi-user systems until patched kernels are deployed

Patch Information

The fix nulls rx_pool, global_table, rxq, and alloc_page after they are freed, ensuring repeated cleanup and retry paths are safe. The upstream patches are available in the following commits:

Consult your distribution's security tracker for backported package versions.

Workarounds

  • Blacklist the iwlwifi module on systems where wireless connectivity is not required until patches are applied
  • Avoid repeated interface reset or module reload operations on systems running unpatched kernels
  • Use wired networking on affected endpoints when feasible to reduce exposure to the vulnerable code path
bash
# Blacklist iwlwifi module as a temporary workaround
echo "blacklist iwlwifi" | sudo tee /etc/modprobe.d/blacklist-iwlwifi.conf
sudo update-initramfs -u
# Verify module is not loaded after reboot
lsmod | grep iwlwifi

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.