CVE-2022-50533 wifi: mac80211: mlme: fix null-ptr deref on failed assoc
A null pointer dereference in the Linux kernel Wi-Fi subsystem allows attackers to cause a denial of service via failed association attempts.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50533?
CVE-2022-50533 is a medium-severity vulnerability in Linux kernel, published on 7 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2022-50533?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50533?
Apply the vendor's patch.
Is CVE-2022-50533 being exploited?
There is no known exploitation of CVE-2022-50533 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50533, GHSA-q5wr-hr4c-4mfv, UBUNTU-CVE-2022-50533.