summaryrefslogtreecommitdiff
path: root/net/packet
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>2017-05-15 07:41:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-24 08:11:13 +0300
commit6568f8f70152b787ded9fe9f7d88aaeac379b6d3 (patch)
tree2ac35b84ca943057b65a2d3df2da7a68fa9245bb /net/packet
parentc8143269c9c48172c832f25b5ae38163147244d2 (diff)
downloadlinux-6568f8f70152b787ded9fe9f7d88aaeac379b6d3.tar.xz
mac80211: strictly check mesh address extension mode
commit 5667c86acf021e6dcf02584408b4484a273ac68f upstream. Mesh forwarding path checks for address extension mode to fetch appropriate proxied address and MPP address. Existing condition that looks for 6 address format is not strict enough so that frames with improper values are processed and invalid entries are added into MPP table. Fix that by adding a stricter check before processing the packet. Per IEEE Std 802.11s-2011 spec. Table 7-6g1 lists address extension mode 0x3 as reserved one. And also Table Table 9-13 does not specify 0x3 as valid address field. Fixes: 9b395bc3be1c ("mac80211: verify that skb data is present") Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions