aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2019-01-25 09:26:32 +0100
committerJohannes Berg <[email protected]>2019-01-25 09:26:32 +0100
commita8b5c6d69261889e022e9d64ac7ee8741db730bf (patch)
tree99a328c935c103028123f5b36d00dce999f19a05 /tools/perf/scripts/python/export-to-sqlite.py
parentf9d672f1c2ca36b788511bbd773d650c744e109a (diff)
nl80211: fix NLA_POLICY_NESTED() arguments
syzbot reported an out-of-bounds read when passing certain malformed messages into nl80211. The specific place where this happened isn't interesting, the problem is that nested policy parsing was referring to the wrong maximum attribute and thus the policy wasn't long enough. Fix this by referring to the correct attribute. Since this is really not necessary, I'll come up with a separate patch to just pass the policy instead of both, in the common case we can infer the maxattr from the size of the policy array. Reported-by: [email protected] Cc: [email protected] Fixes: 9bb7e0f24e7e ("cfg80211: add peer measurement with FTM initiator API") Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions