summary refs log tree commit diff
path: root/net/mac80211/sta_info.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2020-03-26 15:51:34 +0100
committerJohannes Berg <johannes.berg@intel.com>2020-03-26 15:52:14 +0100
commitce2e1ca703071723ca2dd94d492a5ab6d15050da (patch)
treebabf3d903bacca87190b897cde4ac95c966f4651 /net/mac80211/sta_info.c
parent05dcb8bb258575a8dd3499d0d78bd2db633c2b23 (diff)
downloadlinux-ce2e1ca703071723ca2dd94d492a5ab6d15050da.tar.gz
mac80211: Check port authorization in the ieee80211_tx_dequeue() case
mac80211 used to check port authorization in the Data frame enqueue case
when going through start_xmit(). However, that authorization status may
change while the frame is waiting in a queue. Add a similar check in the
dequeue case to avoid sending previously accepted frames after
authorization change. This provides additional protection against
potential leaking of frames after a station has been disconnected and
the keys for it are being removed.

Cc: stable@vger.kernel.org
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Link: https://lore.kernel.org/r/20200326155133.ced84317ea29.I34d4c47cd8cc8a4042b38a76f16a601fbcbfd9b3@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/sta_info.c')
0 files changed, 0 insertions, 0 deletions