]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mark station unauthorized before key removal
authorJohannes Berg <johannes.berg@intel.com>
Thu, 26 Mar 2020 14:51:35 +0000 (15:51 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 26 Mar 2020 14:52:25 +0000 (15:52 +0100)
commit71e8b6ab7a29a92f994260fbc585c402c763fd85
treec95f6a058bf9848158fde6b244f23e50c225c462
parent498f995f53470d8e051eae420c5bf6bbe034062b
mac80211: mark station unauthorized before key removal

If a station is still marked as authorized, mark it as no longer
so before removing its keys. This allows frames transmitted to it
to be rejected, providing additional protection against leaking
plain text data during the disconnection flow.

Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200326155133.ccb4fb0bb356.If48f0f0504efdcf16b8921f48c6d3bb2cb763c99@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c