aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/netfilter/ip6table_raw.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-01-13 14:06:08 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-01-16 01:51:59 +0100
commite3eeacbac4ad34fac93f82a7cf15402bba83d22e (patch)
tree2869ff48cca83aee6deee69c1bbdc21cf5a8a2cf /net/ipv6/netfilter/ip6table_raw.c
parentnetfilter: nf_tables: flow_offload depends on flow_table (diff)
downloadlinux-dev-e3eeacbac4ad34fac93f82a7cf15402bba83d22e.tar.xz
linux-dev-e3eeacbac4ad34fac93f82a7cf15402bba83d22e.zip
netfilter: x_tables: don't return garbage pointer on modprobe failure
request_module may return a positive error result from modprobe, if we cast this to ERR_PTR this returns a garbage result (it passes IS_ERR checks). Fix it by ignoring modprobe return values entirely, just retry the table lookup instead. Reported-by: syzbot+980925dbfbc7f93bc2ef@syzkaller.appspotmail.com Fixes: 03d13b6868a2 ("netfilter: xtables: add and use xt_request_find_table_lock") Fixes: 20651cefd25f ("netfilter: x_tables: unbreak module auto loading") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6/netfilter/ip6table_raw.c')
0 files changed, 0 insertions, 0 deletions