]> 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)
commit91793c65012b1ebf9a9eb10c7880ec7b113f585e
tree9735b824f6eb4a7a2a75529a2944f33f6c6c2307
parent1219f23ab314917e3f601aa06822a53310f3a13b
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: ab36dd033db8 ("wifi: mac80211: support MLO authentication/association with one link")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c