CVE-2022-50413
published high CVSS 3.1 · 8.8wifi: mac80211: fix use-after-free
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux81151ce462e533551f3284bfdb8e0f461c9220e6 to < aebef10affe16228462af680b88751bf137e2856 · 81151ce462e533551f3284bfdb8e0f461c9220e6 to < 40fb87129049ec5876dabf4a4d4aed6642b31f1a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.0 (affected) · 0 to < 6.0 (unaffected · semver) · 6.0.3 through 6.0.* (unaffected · semver) · 6.1 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: fix use-after-free We've already freed the assoc_data at this point, so need to use another copy of the AP (MLD) address instead.
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.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:A - The UAF is reached by processing an over-the-air Association Response in ieee80211_sta_rx_queued_mgmt → ieee80211_rx_mgmt_assoc_resp during MLO association; an attacker on the same Wi-Fi segment (malicious/evil-twin MLO AP or BSSID-spoofed frame injection) delivers that frame. AC:L - Once an MLO association is in progress, a successful AssocResp with a valid multi-link element deterministically frees assoc_data then reuses assoc_data->ap_addr; the adjacent attacker fully controls that response, with no race or attacker-uncontrollable timing required. PR:N - The vulnerable path runs in the station RX/MLME soft path on the received AssocResp with no host authentication or capability check; an unauthenticated adjacent Wi-Fi peer needs no account on the victim. UI:N - In the worst reasonable case (auto-reconnect/evil twin of a known SSID, or an already-initiated MLO association), the AssocResp is processed automatically without a further victim action at attack time. S:U - The use-after-free corrupts mac80211/cfg80211 state inside the host kernel authority only and does not cross a VM, IOMMU, or sandbox boundary. C:H - After kfree(assoc_data), resp.ap_mld_addr points into freed heap memory and cfg80211 later memcpy's ETH_ALEN from it; that UAF enables heap reuse and arbitrary kernel disclosure. I:H - The same sprayable ieee80211_mgd_assoc_data UAF while the dangling AP MLD address is consumed into connection/result state yields write and control-flow primitives characteristic of exploitable kernel UAFs. A:H - Use of the freed assoc_data object can oops/panic the kernel in the association-response path, so availability impact is complete even without full code execution.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 81151ce462e533551f3284bfdb8e0f461c9220e6 to < aebef10affe16228462af680b88751bf137e2856 (affected · git)81151ce462e533551f3284bfdb8e0f461c9220e6 to < 40fb87129049ec5876dabf4a4d4aed6642b31f1a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.0 (affected)0 to < 6.0 (unaffected · semver)6.0.3 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
2Provider assertions
2Linux · cna
wifi: mac80211: fix use-after-free
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 00f29b209c5bb539866bbb39a6586d7d06b0bb53fbc358b3c63687c710788cdd
- Ingested
- 23 Sep 2026, 08:04:48 UTC
- Source record
- Official CVE record