HomeFreeBSD

net80211: fail for unicast traffic without unicast key

Description

net80211: fail for unicast traffic without unicast key

Falling back to the multicast key may cause unicast traffic to leak.
Instead fail when no key is found.

For more information see the 'Framing Frames: Bypassing Wi-Fi Encryption
by Manipulating Transmit Queues' paper.

[ I updated the commit message to reference the paper and the code
comment to record historic behaviour as discussed in private email. ]

(cherry picked from commit 61605e0ae5d8f34b89b8e71e393f3006f511e86a)

Details

Provenance
domienschepers <schepers.d@northeastern.edu>Authored on Nov 10 2022, 12:00 AM
bzCommitted on Jun 26 2023, 12:02 PM
Parents
rG992075d8f9ed: LinuxKPI: 802.11: initialize txq
Branches
Unknown
Tags
Unknown