# CVE-2026-23279: wifi: mac80211: fix NULL pointer dereference in mesh_rx_csa_frame()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-03-25T10:26:39.994Z
- Modified: 2026-10-15T02:18:46.597Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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

wifi: mac80211: fix NULL pointer dereference in mesh_rx_csa_frame()

In mesh_rx_csa_frame(), elems->mesh_chansw_params_ie is dereferenced
at lines 1638 and 1642 without a prior NULL check:

    ifmsh->chsw_ttl = elems->mesh_chansw_params_ie->mesh_ttl;
    ...
    pre_value = le16_to_cpu(elems->mesh_chansw_params_ie->mesh_pre_value);

The mesh_matches_local() check above only validates the Mesh ID,
Mesh Configuration, and Supported Rates IEs.  It does not verify the
presence of the Mesh Channel Switch Parameters IE (element ID 118).
When a received CSA action frame omits that IE, ieee802_11_parse_elems()
leaves elems->mesh_chansw_params_ie as NULL, and the unconditional
dereference causes a kernel NULL pointer dereference.

A remote mesh peer with an established peer link (PLINK_ESTAB) can
trigger this by sending a crafted SPECTRUM_MGMT/CHL_SWITCH action frame
that includes a matching Mesh ID and Mesh Configuration IE but omits the
Mesh Channel Switch Parameters IE.  No authentication beyond the default
open mesh peering is required.

Crash confirmed on kernel 6.17.0-5-generic via mac80211_hwsim:

  BUG: kernel NULL pointer dereference, address: 0000000000000000
  Oops: Oops: 0000 [#1] SMP NOPTI
  RIP: 0010:ieee80211_mesh_rx_queued_mgmt+0x143/0x2a0 [mac80211]
  CR2: 0000000000000000

Fix by adding a NULL check for mesh_chansw_params_ie after
mesh_matches_local() returns, consistent with how other optional IEs
are guarded throughout the mesh code.

The bug has been present since v3.13 (released 2014-01-19).

(As written by CVE List.)

## Affected

- Linux Linux: from 8f2535b92d685c68db4bc699dd78462a646f6ef9 before 753ad20dcbe36b67088c7770d8fc357d7cc43e08; from 8f2535b92d685c68db4bc699dd78462a646f6ef9 before f061336f072ab03fd29270ae61fede46bf8fd69d; from 8f2535b92d685c68db4bc699dd78462a646f6ef9 before 2b5f282b1b7241ef624c3399a1cdff0bb1a3eeab; from 8f2535b92d685c68db4bc699dd78462a646f6ef9 before 22a9adea7e26d236406edc0ea00b54351dd56b9c; from 8f2535b92d685c68db4bc699dd78462a646f6ef9 before f5d8af683410a8c82e48b51291915bd612523d9a; from 8f2535b92d685c68db4bc699dd78462a646f6ef9 before cc6d5a3c0a854aeae00915fc5386570c86029c60; from 8f2535b92d685c68db4bc699dd78462a646f6ef9 before be8b82c567fda86f2cbb43b7208825125bb31421; from 8f2535b92d685c68db4bc699dd78462a646f6ef9 before 017c1792525064a723971f0216e6ef86a8c7af11; 3.13 (not affected: before 3.13; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.167 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.77 up to 6.12.*; from 6.18.17 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 3.13 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.167; from 6.2 before 6.6.130; from 6.7 before 6.12.77; from 6.13 before 6.18.17; from 6.19 before 6.19.7; 7.0

## References

- <https://git.kernel.org/stable/c/753ad20dcbe36b67088c7770d8fc357d7cc43e08> (patch)
- <https://git.kernel.org/stable/c/f061336f072ab03fd29270ae61fede46bf8fd69d> (patch)
- <https://git.kernel.org/stable/c/2b5f282b1b7241ef624c3399a1cdff0bb1a3eeab> (patch)
- <https://git.kernel.org/stable/c/22a9adea7e26d236406edc0ea00b54351dd56b9c> (patch)
- <https://git.kernel.org/stable/c/f5d8af683410a8c82e48b51291915bd612523d9a> (patch)
- <https://git.kernel.org/stable/c/cc6d5a3c0a854aeae00915fc5386570c86029c60> (patch)
- <https://git.kernel.org/stable/c/be8b82c567fda86f2cbb43b7208825125bb31421> (patch)
- <https://git.kernel.org/stable/c/017c1792525064a723971f0216e6ef86a8c7af11> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

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

---

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