CVE-2022-50533

Source
https://cve.org/CVERecord?id=CVE-2022-50533
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50533.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50533
Downstream
Published
2025-10-07T15:19:23.277Z
Modified
2026-04-02T08:28:36.242137Z
Summary
wifi: mac80211: mlme: fix null-ptr deref on failed assoc
Details

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 apmldaddr or link 0 BSS is valid, since we clear sdata->vif.validlinks and then don't add the apmld_addr to the struct.

Since we clear also sdata->vif.cfg.apaddr, keep a local copy of it and assign it earlier, before clearing validlinks, to fix this.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50533.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
81151ce462e533551f3284bfdb8e0f461c9220e6
Fixed
c695dfba8dfb82dc7ace4f22be088916cbf621ca
Fixed
bb7743955a929e44b308cc3f63f8cc03873c1bee
Fixed
78a6a43aaf87180ec7425a2a90468e1b4d09a1ec

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50533.json"