CVE-2026-98335: wifi: mac80211: abort chanswitch when leaving a mesh
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: abort chanswitch when leaving a mesh
The code in ieee80211stopmesh() leaves CSA active, but leaving the mesh released the channel context, so the CSA finalize work crashes:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003 KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] RIP: 0010:ieee80211putsrateselem+0x42/0x640 net/mac80211/util.c:3272 Call Trace: ieee80211meshbuildbeacon+0xa83/0x1b50 net/mac80211/mesh.c:1093 ieee80211meshrebuildbeacon+0xc7/0x170 net/mac80211/mesh.c:1147 ieee80211meshfinishcsa+0x131/0x210 net/mac80211/mesh.c:1542 ieee80211setaftercsabeacon net/mac80211/cfg.c:4085 [inline] ieee80211csafinalize net/mac80211/cfg.c:4133 [inline] ieee80211csafinalize+0x633/0x1150 net/mac80211/cfg.c:4155 cfg80211wiphywork+0x2ab/0x450 net/wireless/core.c:438
Abort the channel switch properly.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Abort the channel switch when leaving a mesh to ensure the CSA is finalized properly before the mesh releases the channel context.