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-98195 Overview
CVE-2026-98195 is a vulnerability in the Linux kernel iwlegacy wireless driver that affects broadcast station deallocation in the Intel 4965AGN WiFi driver. The flaw resides in __il4965_up(), where the error path invokes il_dealloc_bcast_stations() and clears only the IL_STA_UCODE_ACTIVE flag while leaving IL_STA_BCAST set. The stale flag state causes the same broadcast stations to be deallocated a second time by __il4965_down(). The condition can be triggered when RF_KILL is toggled during driver startup.
Critical Impact
A double deallocation of broadcast station entries in the iwlegacy driver can corrupt kernel state during WiFi initialization when RF_KILL is toggled, potentially leading to memory corruption or kernel instability.
Affected Products
- Linux kernel versions containing the iwlegacy (il4965) wireless driver
- Systems using Intel Wireless WiFi 4965AGN hardware
- Multiple stable kernel branches referenced in the upstream fix commits
Discovery Timeline
- 2026-10-06 - CVE-2026-98195 published to the National Vulnerability Database
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-98195
Vulnerability Analysis
The vulnerability is a double free condition in the Linux kernel iwlegacy driver. During normal operation, broadcast stations tracked by the driver maintain a used bitmask that includes flags such as IL_STA_UCODE_ACTIVE and IL_STA_BCAST. These flags determine whether a station entry is still considered allocated.
On the error path of __il4965_up(), the function il_dealloc_bcast_stations() cleared only IL_STA_UCODE_ACTIVE. The IL_STA_BCAST bit remained set after the first deallocation. When __il4965_down() subsequently ran as part of the shutdown or recovery sequence, it re-evaluated the station state, observed IL_STA_BCAST still set, and attempted to free the same broadcast stations a second time.
The upstream fix clears the entire used field during deallocation, since no further operations are performed on the station after it is released. See the kernel commit for the fix and additional stable backports in the references.
Root Cause
The root cause is incomplete state clearing in il_dealloc_bcast_stations(). The function updates only one flag of the used bitmask instead of resetting all tracking bits. This leaves inconsistent station metadata that downstream cleanup code misinterprets as still-allocated memory, producing a double free pattern.
Attack Vector
The condition is triggered by toggling RF_KILL during driver startup. On systems with a hardware or software radio kill switch, a user with physical access or local privileges capable of controlling the rfkill interface can race the driver initialization path. Remote exploitation is not described in the advisory. The vulnerability is local in nature and tied to driver lifecycle handling.
No verified exploit code is published for this issue. The fix is tracked across multiple stable kernel branches via the commits listed in the external references.
Detection Methods for CVE-2026-98195
Indicators of Compromise
- Kernel log messages referencing il4965 or iwlegacy warnings during driver bring-up or rfkill state transitions
- Repeated station deallocation entries in dmesg tied to __il4965_up and __il4965_down call paths
- Unexpected WiFi driver resets or interface flaps immediately following rfkill toggling
Detection Strategies
- Monitor kernel ring buffer output for warnings, oops traces, or BUG reports originating in the iwlegacy module
- Track installed kernel versions across the fleet and compare against the fixed commits referenced in the upstream advisory
- Correlate rfkill events from udev or systemd-logind with wireless driver error signatures
Monitoring Recommendations
- Collect dmesg and /var/log/kern.log output from endpoints running affected kernels and forward to a centralized log store for pattern analysis
- Alert on repeated iwlegacy module reload events, which may indicate repeated exploitation attempts or instability
- Track kernel package versions via configuration management and flag hosts that have not received the stable update
How to Mitigate CVE-2026-98195
Immediate Actions Required
- Apply the latest stable kernel update from your Linux distribution that includes the fix for iwlegacy broadcast station deallocation
- Inventory systems using Intel 4965AGN wireless hardware and prioritize them for patching
- Restrict local user access to rfkill controls on multi-user systems until kernels are updated
Patch Information
The upstream fix is distributed across multiple stable kernel branches. Relevant commits include 1d84c2a3, 275d474a, 526fdd45, 55d34422, 85d847ff, a9176fe6, b5526b78, and c9a116d6. Install updated kernel packages from your distribution vendor and reboot affected systems.
Workarounds
- Blacklist the iwl4965 kernel module on systems where the hardware is not required, preventing the vulnerable code path from loading
- Avoid toggling rfkill during system boot or wireless driver initialization on unpatched hosts
- Disable the hardware radio kill switch in firmware or BIOS where supported, as a temporary measure on exposed systems
# Blacklist the iwl4965 driver on unpatched systems
echo "blacklist iwl4965" | sudo tee /etc/modprobe.d/blacklist-iwl4965.conf
sudo update-initramfs -u
# Verify the running kernel version includes the fix
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

