Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1228586ybl; Tue, 3 Dec 2019 03:57:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxmJXYgxKn66lt5sEcMu7I4XJKOtGj6pFAHMHTQWTsP4RTh1tcKSZFQ5UJxCJKGm0PYX9pN X-Received: by 2002:a9d:48a:: with SMTP id 10mr2637884otm.95.1575374242392; Tue, 03 Dec 2019 03:57:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575374242; cv=none; d=google.com; s=arc-20160816; b=s31v/TZ+UuclEbq3yA9ttsXg0+cSArRAUVY6e59ulflzcAg2O+EyETSwAS8RZSfvea sC4J7tKYRvhP3I4QSd+GGT1CyRzXs9GYlirzdtAfpLNoDFMSeGhfsTfmH1SHqTcaRlRF vRv95+xLMO9WOV26kcag1Xq9spuLUHmsKaxIoJNCtR4AUQZmTbBeJTp6KgqLA6DGIxJY ieWH9tMXoPD7A777Toc9hQHekV4VOvgsVyczAyefCUDom3xnFE/SWgOg4jQxxr/y6eZH 38WTx6+mnOg8kGFGKallwkgO99nPwTCpmBhQD+pzhGZHzizJbgHvFauDBVNLcf6gvwU7 W+3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Ngc8wo7Uhyo3sArOjS0xWHxZmq1WvVqG7C+zCw90fOA=; b=wUYOOElVCGqFpb1DdJpwt2bHm5uXC9VUEwadTEHMxUhfs2z3C8vvC9scmY9RRT9cf3 8NnyRD8Iq7K+JuLylyWStqKN49b4eo9v+Cl8elPsXZvQRbkHkNfSemM8N4KcOrJdGOq2 xwX06Wo5MtWDL8NdkFf0YIWF/H3OVhxyEtGqkqCn7/SQx7SYfwj8zjS5lOaq7c6TBUU3 EZT1/nY0/nv+mYYjE+ZQpxORfQ2ORZkZKCdjuafFT03f3usUR5WYZ/A5Rr2aWrrIcLsL IzIYwdeoJgySKYEusCHyjeJIZJXYfor/15qlI2S31OQlrEpYB6ttCfsP+7w7z5rbDF2N CUzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i8si1104960otp.254.2019.12.03.03.57.09; Tue, 03 Dec 2019 03:57:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726144AbfLCL4g (ORCPT + 99 others); Tue, 3 Dec 2019 06:56:36 -0500 Received: from charlotte.tuxdriver.com ([70.61.120.58]:36079 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725773AbfLCL4f (ORCPT ); Tue, 3 Dec 2019 06:56:35 -0500 Received: from 2606-a000-111b-43ee-0000-0000-0000-115f.inf6.spectrum.com ([2606:a000:111b:43ee::115f] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1ic6mu-0007R5-Rd; Tue, 03 Dec 2019 06:56:23 -0500 Date: Tue, 3 Dec 2019 06:56:16 -0500 From: Neil Horman To: Dmitry Vyukov Cc: Marcelo Ricardo Leitner , syzbot , David Miller , Alexey Kuznetsov , LKML , linux-sctp@vger.kernel.org, Xin Long , mvohra@vmware.com, netdev , syzkaller-bugs , William Tu , Vladislav Yasevich , websitedesignservices4u@gmail.com, Hideaki YOSHIFUJI Subject: Re: kernel BUG at net/core/skbuff.c:LINE! (3) Message-ID: <20191203115616.GA4707@hmswarspite.think-freely.org> References: <001a114372a6074e6505642b7f72@google.com> <000000000000039751059891760e@google.com> <20191202183912.GC377783@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Spam-Score: -2.9 (--) X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 03, 2019 at 09:42:14AM +0100, Dmitry Vyukov wrote: > On Mon, Dec 2, 2019 at 7:39 PM Marcelo Ricardo Leitner > wrote: > > > > On Sat, Nov 30, 2019 at 04:37:56PM +0100, Dmitry Vyukov wrote: > > > On Sat, Nov 30, 2019 at 3:50 PM syzbot > > > wrote: > > > > > > > > syzbot has bisected this bug to: > > > > > > > > commit 84e54fe0a5eaed696dee4019c396f8396f5a908b > > > > Author: William Tu > > > > Date: Tue Aug 22 16:40:28 2017 +0000 > > > > > > > > gre: introduce native tunnel support for ERSPAN > > > > > > > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=158a2f86e00000 > > > > start commit: f9f1e414 Merge tag 'for-linus-4.16-rc1-tag' of git://git.k.. > > > > git tree: upstream > > > > final crash: https://syzkaller.appspot.com/x/report.txt?x=178a2f86e00000 > > > > console output: https://syzkaller.appspot.com/x/log.txt?x=138a2f86e00000 > > > > kernel config: https://syzkaller.appspot.com/x/.config?x=34a80ee1ac29767b > > > > dashboard link: https://syzkaller.appspot.com/bug?extid=b2bf2652983d23734c5c > > > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=147bfebd800000 > > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13d8d543800000 > > > > > > > > Reported-by: syzbot+b2bf2652983d23734c5c@syzkaller.appspotmail.com > > > > Fixes: 84e54fe0a5ea ("gre: introduce native tunnel support for ERSPAN") > > > > > > > > For information about bisection process see: https://goo.gl/tpsmEJ#bisection > > > > > > Humm... the repro contains syz_emit_ethernet, wonder if it's > > > remote-triggerable... > > > > The call trace is still from the tx path. Packet never left the system > > in this case. > > My understanding is that this does not necessarily mean that the > remote side is not involved. There is enough state on the host for L4 > protocols, so that the remote side can mess things and then the bad > thing will happen with local trigger. But that local trigger can be > just anything trivial that everybody does. > But thats not really helpful. Unless you see an explicit path from the receive side to ip6_append_data, Theres no real way for a received packet to reach this code, so we can't really call it remotely triggerable. My guess is, since this is coming from the rawv6_sendmsg path, that the raw protocol is somehow not marshaling its data in a way that ip6_append_data expects. Neil