commit | e3561d5af01c2c49ed52c8d2644be752d5b13ec2 | [log] [tgz] |
---|---|---|
author | Mathy Vanhoef <[email protected]> | Tue May 11 20:02:44 2021 +0200 |
committer | Greg Kroah-Hartman <[email protected]> | Thu Jun 03 09:00:29 2021 +0200 |
tree | 18ff065307036e11be9a7560b6ee192988d2ba33 | |
parent | 42d98e02193d163c1523a8840a2effcc4c6eb111 [diff] |
mac80211: properly handle A-MSDUs that start with an RFC 1042 header commit a1d5ff5651ea592c67054233b14b30bf4452999c upstream. Properly parse A-MSDUs whose first 6 bytes happen to equal a rfc1042 header. This can occur in practice when the destination MAC address equals AA:AA:03:00:00:00. More importantly, this simplifies the next patch to mitigate A-MSDU injection attacks. Cc: [email protected] Signed-off-by: Mathy Vanhoef <[email protected]> Link: https://lore.kernel.org/r/20210511200110.0b2b886492f0.I23dd5d685fe16d3b0ec8106e8f01b59f499dffed@changeid Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>