openwrt/package
David Bauer 0f1b5ce2f5 mac80211: drop data frames without key on encrypted links
If we know that we have an encrypted link (based on having had
a key configured for TX in the past) then drop all data frames
in the key selection handler if there's no key anymore.

This fixes an issue with mac80211 internal TXQs - there we can
buffer frames for an encrypted link, but then if the key is no
longer there when they're dequeued, the frames are sent without
encryption. This happens if a station is disconnected while the
frames are still on the TXQ.

Detecting that a link should be encrypted based on a first key
having been configured for TX is fine as there are no use cases
for a connection going from with encryption to no encryption.
With extended key IDs, however, there is a case of having a key
configured for only decryption, so we can't just trigger this
behaviour on a key being configured.

Cc: stable@vger.kernel.org
Reported-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-04-17 13:27:40 +02:00
..
base-files base-files: don't ship local build key when on buildbot 2020-04-12 20:35:00 +01:00
boot grub2: fix build when ASLR enabled 2020-04-02 13:42:26 +01:00
devel strace: update to version 5.5 2020-02-24 23:25:28 +01:00
firmware cypress-firmware: update to v5.4.18-2020_0402 2020-04-13 10:14:48 +02:00
kernel mac80211: drop data frames without key on encrypted links 2020-04-17 13:27:40 +02:00
libs elfutils: update to 0.179 2020-04-13 22:40:19 +02:00
network netifd: clean up netns functionality 2020-04-14 13:53:11 +01:00
system procd: jail fixes and improvements 2020-04-14 16:16:06 +01:00
utils e2fsprogs: Update to 1.45.6 2020-04-09 22:08:16 +02:00
Makefile packages: apply usign padding workarounds to package indexes if needed 2019-08-07 07:15:07 +02:00