Bug 2402236 (CVE-2022-50533) - CVE-2022-50533 kernel: wifi: mac80211: mlme: fix null-ptr deref on failed assoc
Summary: CVE-2022-50533 kernel: wifi: mac80211: mlme: fix null-ptr deref on failed assoc
Keywords:
Status: NEW
Alias: CVE-2022-50533
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-07 16:04 UTC by OSIDB Bzimport
Modified: 2025-10-09 15:27 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-07 16:04:41 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.