CVE-2022-50533
publishedwifi: mac80211: mlme: fix null-ptr deref on failed assoc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux81151ce462e533551f3284bfdb8e0f461c9220e6 to < c695dfba8dfb82dc7ace4f22be088916cbf621ca · 81151ce462e533551f3284bfdb8e0f461c9220e6 to < bb7743955a929e44b308cc3f63f8cc03873c1bee · 81151ce462e533551f3284bfdb8e0f461c9220e6 to < 78a6a43aaf87180ec7425a2a90468e1b4d09a1ec · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 81151ce462e533551f3284bfdb8e0f461c9220e6 to < c695dfba8dfb82dc7ace4f22be088916cbf621ca (affected · git)81151ce462e533551f3284bfdb8e0f461c9220e6 to < bb7743955a929e44b308cc3f63f8cc03873c1bee (affected · git)81151ce462e533551f3284bfdb8e0f461c9220e6 to < 78a6a43aaf87180ec7425a2a90468e1b4d09a1ec (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.0 (affected)0 to < 6.0 (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
wifi: mac80211: mlme: fix null-ptr deref on failed assoc
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2b5b171608b277d7c6366ea9df1f97e56f25c228a2924495cd48b2ac3f46086d
- Ingested
- 23 Sep 2026, 08:04:48 UTC
- Source record
- Official CVE record