diff options
author | 2016-03-08 20:29:10 +0100 | |
---|---|---|
committer | 2016-03-08 20:36:17 +0100 | |
commit | d8aacd87180141ff6b812b53de77a4336e87c91a (patch) | |
tree | 66fe7872cb80156e6e58e9b95978d6fb9a6f3063 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | netfilter: ipset: Fix set:list type crash when flush/dump set in parallel (diff) | |
download | linux-dev-d8aacd87180141ff6b812b53de77a4336e87c91a.tar.xz linux-dev-d8aacd87180141ff6b812b53de77a4336e87c91a.zip |
netfilter: ipset: Check IPSET_ATTR_ETHER netlink attribute length
Julia Lawall pointed out that IPSET_ATTR_ETHER netlink attribute length
was not checked explicitly, just for the maximum possible size. Malicious
netlink clients could send shorter attribute and thus resulting a kernel
read after the buffer.
The patch adds the explicit length checkings.
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions