aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2024-07-25 12:28:21 -0700
committerPablo Neira Ayuso <[email protected]>2024-07-31 23:21:34 +0200
commitc22921df777de5606f1047b1345b8d22ef1c0b34 (patch)
tree5824c5fc27fd19086e80f080b11180ec01f1b4ea /tools/perf/scripts/python/task-analyzer.py
parent5830aa863981d43560748aa93589c0695191d95d (diff)
netfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().
ip6table_nat_table_init() accesses net->gen->ptr[ip6table_nat_net_ops.id], but the function is exposed to user space before the entry is allocated via register_pernet_subsys(). Let's call register_pernet_subsys() before xt_register_template(). Fixes: fdacd57c79b7 ("netfilter: x_tables: never register tables by default") Signed-off-by: Kuniyuki Iwashima <[email protected]> Reviewed-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions