]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: fix use-after-free
authorJohannes Berg <johannes.berg@intel.com>
Wed, 17 Aug 2022 08:44:05 +0000 (10:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Aug 2022 08:41:00 +0000 (10:41 +0200)
commit93c920fcabf00c54cf9a2b63bd055173a05849c6
tree9735b824f6eb4a7a2a75529a2944f33f6c6c2307
parent181c377eaab65a453a7a92f567e7875e6f01b61f
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.

Fixes: 8020ebb801e6 ("wifi: mac80211: support MLO authentication/association with one link")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c