]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: check S1G action frame size
authorJohannes Berg <johannes.berg@intel.com>
Tue, 15 Aug 2023 15:51:05 +0000 (17:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Sep 2023 09:11:02 +0000 (11:11 +0200)
commit7ae7a1378a119780c8c17a6b5fc03011c3bb7029
treea54706553414c4712af411e29b662ecfc21a2a5a
parent1c27b73ffa90e83e72371d6ef68f9ec0eebdc79e
wifi: mac80211: check S1G action frame size

[ Upstream commit 19e4a47ee74718a22e963e8a647c8c3bfe8bb05c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/rx.c