wifi: mac80211: check S1G action frame size
authorJohannes Berg <johannes.berg@intel.com>
Tue, 15 Aug 2023 15:51:05 +0000 (17:51 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 22 Aug 2023 12:01:18 +0000 (14:01 +0200)
commit19e4a47ee74718a22e963e8a647c8c3bfe8bb05c
treed813800bb6894b43b4c0985575d5baf8515b85c6
parent6d2c360b4badf78fb778afe1f5b85196ff18383e
wifi: mac80211: check S1G action frame size

Before checking the action code, check that it even
exists in the frame.

Reported-by: syzbot+be9c824e6f269d608288@syzkaller.appspotmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c