CVE-2022-50413: wifi: mac80211: fix use-after-free
From: Greg Kroah-Hartman <[email protected]>
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.
The Linux kernel CVE team has assigned CVE-2022-50413 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.0 with commit 81151ce462e533551f3284bfdb8e0f461c9220e6 and fixed in 6.0.3 with commit aebef10affe16228462af680b88751bf137e2856 Issue introduced in 6.0 with commit 81151ce462e533551f3284bfdb8e0f461c9220e6 and fixed in 6.1 with commit 40fb87129049ec5876dabf4a4d4aed6642b31f1a
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-50413
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/mac80211/mlme.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/aebef10affe16228462af680b88751bf137e2856 https://git.kernel.org/stable/c/40fb87129049ec5876dabf4a4d4aed6642b31f1a