]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: reject WEP or pairwise keys with key ID > 3
authorJohannes Berg <johannes.berg@intel.com>
Thu, 19 May 2022 15:57:53 +0000 (17:57 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jun 2022 10:54:48 +0000 (12:54 +0200)
commitffe97ad3a20d7f685e31803e8da52a8c275d2ef2
tree32b599fa52f567b58aee78290f102c9edc492f02
parent76928584d8c03b7d1d951237356bcf4d4e86ca05
wifi: mac80211: reject WEP or pairwise keys with key ID > 3

We don't really care too much right now since our data
structures are set up to not have a problem with this,
but clearly it's wrong to accept WEP and pairwise keys
with key ID > 3.

However, with MLD we need to split into per-link (GTK,
IGTK, BIGTK) and per interface/MLD (including WEP) keys
so make sure this is not a problem.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/key.c