{"id":"CVE-2022-50533","summary":"wifi: mac80211: mlme: fix null-ptr deref on failed assoc","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: mlme: fix null-ptr deref on failed assoc\n\nIf association to an AP without a link 0 fails, then we crash in\ntracing because it assumes that either ap_mld_addr or link 0 BSS\nis valid, since we clear sdata-\u003evif.valid_links and then don't\nadd the ap_mld_addr to the struct.\n\nSince we clear also sdata-\u003evif.cfg.ap_addr, keep a local copy of\nit and assign it earlier, before clearing valid_links, to fix\nthis.","modified":"2026-08-12T03:51:46.975130344Z","published":"2025-10-07T15:19:23.277Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50533.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/78a6a43aaf87180ec7425a2a90468e1b4d09a1ec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb7743955a929e44b308cc3f63f8cc03873c1bee"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c695dfba8dfb82dc7ace4f22be088916cbf621ca"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50533.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50533"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50533.json"}}],"schema_version":"1.9.0"}