# CVE-2026-98335: wifi: mac80211: abort chanswitch when leaving a mesh

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-06T08:46:26.816Z
- Modified: 2026-10-19T10:18:35.743Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: mac80211: abort chanswitch when leaving a mesh

The code in ieee80211_stop_mesh() 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:ieee80211_put_srates_elem+0x42/0x640 net/mac80211/util.c:3272
  Call Trace:
   ieee80211_mesh_build_beacon+0xa83/0x1b50 net/mac80211/mesh.c:1093
   ieee80211_mesh_rebuild_beacon+0xc7/0x170 net/mac80211/mesh.c:1147
   ieee80211_mesh_finish_csa+0x131/0x210 net/mac80211/mesh.c:1542
   ieee80211_set_after_csa_beacon net/mac80211/cfg.c:4085 [inline]
   __ieee80211_csa_finalize net/mac80211/cfg.c:4133 [inline]
   ieee80211_csa_finalize+0x633/0x1150 net/mac80211/cfg.c:4155
   cfg80211_wiphy_work+0x2ab/0x450 net/wireless/core.c:438

Abort the channel switch properly.

(As written by CVE List.)

## Affected

- Linux Linux: from b8456a14e9d2770846fcf74de18ff95b676149a3 before bc544ef02327edf61c94d2b6bae9d14b217009b2; from b8456a14e9d2770846fcf74de18ff95b676149a3 before 2e1d6e80148495e728a85a9250176f266312e55c; from b8456a14e9d2770846fcf74de18ff95b676149a3 before d222fdc973bb8dbf0357772bd9042ffdc8291939; from b8456a14e9d2770846fcf74de18ff95b676149a3 before ac7472a24bd433b81c06582835dd1d5547c10da9; 3.13 (not affected: before 3.13; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/bc544ef02327edf61c94d2b6bae9d14b217009b2>
- <https://git.kernel.org/stable/c/2e1d6e80148495e728a85a9250176f266312e55c>
- <https://git.kernel.org/stable/c/d222fdc973bb8dbf0357772bd9042ffdc8291939>
- <https://git.kernel.org/stable/c/ac7472a24bd433b81c06582835dd1d5547c10da9>

## Sources

- CVE List: [CVE-2026-98335](https://www.cve.org/CVERecord?id=CVE-2026-98335), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98335](https://nvd.nist.gov/vuln/detail/CVE-2026-98335), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98335 · Whole record: https://cve.day/CVE-2026-98335.json · Rebuilt by cve.day 2026-11-25T22:59:42.333Z
