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-98335 Overview
CVE-2026-98335 is a null pointer dereference vulnerability in the Linux kernel's mac80211 wireless subsystem. The flaw resides in the mesh networking code path, specifically when a station leaves a mesh network while a Channel Switch Announcement (CSA) is active. The function ieee80211_stop_mesh() releases the channel context but leaves the CSA operation active. When the deferred CSA finalize work later executes, it dereferences the released context and crashes the kernel.
Critical Impact
A local user interacting with a mesh wireless interface can trigger a kernel general protection fault, resulting in a denial of service on the affected system.
Affected Products
- Linux kernel versions containing the mac80211 mesh CSA code path prior to the fixing commits
- Distributions shipping vulnerable upstream kernels
- Systems using IEEE 802.11s mesh networking with wireless hardware supported by mac80211
Discovery Timeline
- 2026-10-06 - CVE-2026-98335 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-98335
Vulnerability Analysis
The vulnerability occurs in the Linux kernel's mac80211 subsystem, which implements soft-MAC wireless functionality including IEEE 802.11s mesh networking. When a mesh interface is torn down via ieee80211_stop_mesh() while a Channel Switch Announcement is in progress, the channel context backing the interface is released. However, the CSA state remains active and its asynchronous completion work is not cancelled.
When the deferred work later runs, control reaches ieee80211_csa_finalize() and ultimately ieee80211_mesh_build_beacon(), which calls ieee80211_put_srates_elem() in net/mac80211/util.c. That function dereferences the freed channel context, producing a general protection fault flagged by KASAN as a null pointer dereference in the range 0x18–0x1f.
The fix aborts the pending channel switch properly during mesh teardown so the finalize work never executes against a released context.
Root Cause
The root cause is improper state synchronization between mesh teardown and the CSA state machine. ieee80211_stop_mesh() released the channel context without clearing or cancelling the in-flight CSA finalize work, violating the invariant that CSA callbacks must have a valid channel context. This is a null pointer dereference condition exposed by a lifetime management flaw.
Attack Vector
Exploitation requires local access to a system with an active mesh wireless interface undergoing a channel switch. An attacker or an unprivileged process capable of initiating or racing mesh interface teardown while a CSA is pending can trigger the crash. The outcome is a kernel oops leading to denial of service. No evidence of remote exploitation or code execution has been published, and the vulnerability is tracked as low likelihood of exploitation based on current EPSS data.
Technical details are available in the upstream fix commits: Kernel commit 2e1d6e80, commit ac7472a2, commit bc544ef0, and commit d222fdc9.
Detection Methods for CVE-2026-98335
Indicators of Compromise
- Kernel oops messages referencing ieee80211_put_srates_elem, ieee80211_mesh_build_beacon, or ieee80211_csa_finalize in dmesg or /var/log/kern.log
- KASAN reports flagging null-ptr-deref in net/mac80211/util.c near line 3272
- Unexpected wireless interface resets or system crashes on hosts running mesh mode after a channel switch
Detection Strategies
- Monitor kernel ring buffer output for general protection faults originating in the mac80211 call stack
- Correlate wireless subsystem crashes with recent iw or wpa_supplicant mesh teardown activity
- Audit kernel versions across endpoints and servers to identify systems running vulnerable mac80211 builds
Monitoring Recommendations
- Forward kernel logs from Linux endpoints to a central telemetry pipeline for crash analysis
- Alert on repeated mac80211 crashes on the same host, which may indicate reproducible abuse
- Track package inventory of kernel versions and flag hosts that have not received the stable kernel update
How to Mitigate CVE-2026-98335
Immediate Actions Required
- Apply the stable kernel update that includes the upstream fix aborting the channel switch during mesh teardown
- Prioritize patching systems that run IEEE 802.11s mesh networking in production or lab environments
- Reboot affected hosts after kernel installation to activate the patched mac80211 module
Patch Information
The issue is resolved upstream across multiple stable branches. The relevant commits are 2e1d6e80148495e728a85a9250176f266312e55c, ac7472a24bd433b81c06582835dd1d5547c10da9, bc544ef02327edf61c94d2b6bae9d14b217009b2, and d222fdc973bb8dbf0357772bd9042ffdc8291939. Consume the fix via your Linux distribution's security update channel.
Workarounds
- Disable IEEE 802.11s mesh mode on wireless interfaces where it is not required
- Unload the mac80211 module on systems that do not need software MAC wireless support
- Restrict local user access to tools capable of configuring or tearing down mesh interfaces (iw, wpa_supplicant)
# Verify the running kernel and whether mesh mode is active
uname -r
iw dev | grep -E 'Interface|type'
# Disable mesh interface where not required
sudo iw dev mesh0 del
# Optional: prevent mac80211 from loading if software MAC wireless is unused
echo 'blacklist mac80211' | sudo tee /etc/modprobe.d/disable-mac80211.conf
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

