summaryrefslogtreecommitdiffstats
path: root/net/wireless/nl80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-04-30 22:13:06 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-30 17:51:41 -0700
commit7690aa1cdf7c4565ad6b013b324c28b685505e24 (patch)
treeb033fd6f80a1eb1972935660663321c1168c7f59 /net/wireless/nl80211.h
parent47a1494b8208461094923400c396ce4b8163c064 (diff)
downloadlinux-7690aa1cdf7c4565ad6b013b324c28b685505e24.tar.bz2
netlink: limit recursion depth in policy validation
Now that we have nested policies, we can theoretically recurse forever parsing attributes if a (sub-)policy refers back to a higher level one. This is a situation that has happened in nl80211, and we've avoided it there by not linking it. Add some code to netlink parsing to limit recursion depth. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/nl80211.h')
0 files changed, 0 insertions, 0 deletions