CVE-2022-50533
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: mlme: fix null-ptr deref on failed assoc If association to an AP without a link 0 fails, then we crash in tracing because it assumes that either ap_mld_addr or link 0 BSS is valid, since we clear sdata->vif.valid_links and then don't add the ap_mld_addr to the struct. Since we clear also sdata->vif.cfg.ap_addr, keep a local copy of it and assign it earlier, before clearing valid_links, to fix this.
- Score
- CVSS 3.1 5.5 Medium
- Status
- Analyzed - 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published
- 2025-10-07
- Last modified
- 2026-05-11
- Weaknesses
- CWE-476
Affected products
References
- https://git.kernel.org/stable/c/78a6a43aaf87180ec7425a2a90468e1b4d09a1ec
- https://git.kernel.org/stable/c/bb7743955a929e44b308cc3f63f8cc03873c1bee
- https://git.kernel.org/stable/c/c695dfba8dfb82dc7ace4f22be088916cbf621ca