aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2015-12-08 23:35:19 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-12-09 14:26:31 +0100
commite97ac12859dbf4d3ee0eddb9798867541d1d1e1e (patch)
treeedb988527d916389a065d447fbc830870ab82933 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentnetfilter: nf_tables: wrap tracing with a static key (diff)
downloadlinux-dev-e97ac12859dbf4d3ee0eddb9798867541d1d1e1e.tar.xz
linux-dev-e97ac12859dbf4d3ee0eddb9798867541d1d1e1e.zip
netfilter: ipv6: nf_defrag: fix NULL deref panic
Valdis reports NULL deref in nf_ct_frag6_gather. Problem is bogus use of skb_queue_walk() -- we miss first skb in the list since we start with head->next instead of head. In case the element we're looking for was head->next we won't find a result and then trip over NULL iter. (defrag uses plain NULL-terminated list rather than one terminated by head-of-list-pointer, which is what skb_queue_walk expects). Fixes: 029f7f3b8701cc7a ("netfilter: ipv6: nf_defrag: avoid/free clone operations") Reported-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu> Tested-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions