]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: validate DA/SA during A-MSDU decapsulation
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Oct 2016 14:42:06 +0000 (16:42 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Oct 2016 07:19:11 +0000 (09:19 +0200)
commitbb3657ef9fe58ae5f5491b0e6d81abcf9901e5b0
tree871ad06936c30c4e73755777537a49eb7e6fcb43
parent226f8c778315c583f3ed58ed68b1359b9c8436b2
mac80211: validate DA/SA during A-MSDU decapsulation

As pointed out by Michael Braun, we don't check inner L2 addresses
during A-MSDU decapsulation, leading to the possibility that, for
example, a station associated to an AP sends frames as though they
came from somewhere else.

Fix this problem by letting cfg80211 validate the addresses, as
indicated by passing in the ones that need to be validated.

Reported-by: Michael Braun <michael-dev@fami-braun.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c