Files
android_kernel_xiaomi_sm8450/net/wireless
Luis R. Rodriguez e438768ff9 cfg80211: check regulatory request alpha2 early
Currently nl80211 allows userspace to send the kernel
a bogus regulatory domain with at most 32 rules set
and it won't reject it until after its allocated
memory. Let's be smart about it and take advantage
that the last_request is now available under RTNL
and check if the alpha2 matches an expected request
and reject any bogus userspace requests prior to
hitting the memory allocator.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-11-25 20:51:02 +01:00
..
2013-11-25 20:50:49 +01:00
2013-10-01 12:16:51 +02:00
2012-11-16 14:29:09 -05:00
2012-10-18 10:53:37 +02:00
2013-08-12 14:11:37 +02:00
2012-10-18 10:53:37 +02:00
2013-08-12 14:11:37 +02:00