aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-01-06 23:34:17 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2020-01-08 23:31:22 +0100
commit1d9a7acd3d1e74c2d150d8934f7f55bed6d70858 (patch)
tree983aba19772709f7b21b5c495556731159736bf9 /net/ipv4
parentnetfilter: flowtable: add nf_flowtable_time_stamp (diff)
downloadlinux-dev-1d9a7acd3d1e74c2d150d8934f7f55bed6d70858.tar.xz
linux-dev-1d9a7acd3d1e74c2d150d8934f7f55bed6d70858.zip
netfilter: conntrack: dccp, sctp: handle null timeout argument
The timeout pointer can be NULL which means we should modify the per-nets timeout instead. All do this, except sctp and dccp which instead give: general protection fault: 0000 [#1] PREEMPT SMP KASAN net/netfilter/nf_conntrack_proto_dccp.c:682 ctnl_timeout_parse_policy+0x150/0x1d0 net/netfilter/nfnetlink_cttimeout.c:67 cttimeout_default_set+0x150/0x1c0 net/netfilter/nfnetlink_cttimeout.c:368 nfnetlink_rcv_msg+0xcf2/0xfb0 net/netfilter/nfnetlink.c:229 netlink_rcv_skb+0x177/0x450 net/netlink/af_netlink.c:2477 Reported-by: syzbot+46a4ad33f345d1dd346e@syzkaller.appspotmail.com Fixes: c779e849608a8 ("netfilter: conntrack: remove get_timeout() indirection") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions