From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Westphal Subject: Re: net/ipv4: warning in nf_nat_ipv4_fn Date: Wed, 8 Feb 2017 23:10:06 +0100 Message-ID: <20170208221006.GA11820@breakpoint.cc> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Pablo Neira Ayuso , Patrick McHardy , Jozsef Kadlecsik , "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev , LKML , Dmitry Vyukov , Kostya Serebryany , Eric Dumazet , syzkaller To: Andrey Konovalov Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netfilter-devel.vger.kernel.org Andrey Konovalov wrote: > Hi, > > I've got the following error report while fuzzing the kernel with syzkaller. > > On commit 926af6273fc683cd98cd0ce7bf0d04a02eed6742. > > A reproducer and .config are attached. > > WARNING: CPU: 2 PID: 26582 at > net/ipv4/netfilter/nf_nat_l3proto_ipv4.c:261 > nf_nat_ipv4_fn+0x7f2/0xa50 > net/ipv4/netfilter/nf_nat_l3proto_ipv4.c:261 > Kernel panic - not syncing: panic_on_warn set ... Thats this assert: /* We never see fragments: conntrack defrags on pre-routing * and local-out, and nf_nat_out protects post-routing. */ NF_CT_ASSERT(!ip_is_fragment(ip_hdr(skb))); ... and its wrong. I will send a patch to remove it.