wifi: cfg80211: reject auth/assoc to AP with our address
authorJohannes Berg <johannes.berg@intel.com>
Tue, 15 Aug 2023 16:09:00 +0000 (18:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 22 Aug 2023 19:40:10 +0000 (21:40 +0200)
commit5d4e04bf3a0f098bd9033de3a5291810fa14c7a6
tree0b6faaa6cf3bc84382cf5c6e8b6f3d5e7cf87404
parent19e4a47ee74718a22e963e8a647c8c3bfe8bb05c
wifi: cfg80211: reject auth/assoc to AP with our address

If the AP uses our own address as its MLD address or BSSID, then
clearly something's wrong. Reject such connections so we don't
try and fail later.

Reported-by: syzbot+2676771ed06a6df166ad@syzkaller.appspotmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/mlme.c