Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1649816ybl; Thu, 5 Dec 2019 05:00:21 -0800 (PST) X-Google-Smtp-Source: APXvYqxziPOzp2PZxp9edmMWlbYJ5ipXQ6WVUeLy9z56R+TPbv/UvlNGwQXAuq5fsquSKEbZGqr8 X-Received: by 2002:aca:3cc3:: with SMTP id j186mr6633773oia.169.1575550820926; Thu, 05 Dec 2019 05:00:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575550820; cv=none; d=google.com; s=arc-20160816; b=wIr8lAc1N/gxUaH8vZp0K3wQGLNYnv/Dx7yRlkc54x/ZL/70kcPQDrUPt30Ip7/Dry XAFmZhqODZ6B7V3TXUdG2DRN2Vu4fvJPu7evnM/LkzRmmN4p2foW2CegeOLO4JIRUA19 JkZuOlrYe6CK6d7/0Nj/iEQBmuWIQG+zXoWbu0FZH3A2e8Cq3xMybjAd4iYLNCGVWrc9 btYCIW12nMg0SJ0X8M2HeBauKaCgnyshVLu81q4JT25I/vMRNZklAm9rFkBwC80mr/yW SzvilrfRkygYwnq3xKy75LHDHRC9Cuttirbl5VClosXAJROGpfw63YJdl3TMU3V0Bkz3 VZBQ== 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=nj/ExjOy04k2h5DR9OkGDidH/Xuq6qOKnSyyWk7whM8=; b=tXrsOUpKfKBdId3TrQAGuZNgD054NXHcXVMf40a0+t8Ciev7UVAe3IIhiDwaHP8uQK qvUwlpg+kMS1vfm8rKf9HCPxPTiGFY9EwD9eaeCdGUn4t2qiWnKrEYDHmUq3bscXV3lH MN0hV5spbCNjiOg1kl8G970wj9yxj3Ce56e5YDdGY6v6T2oRQkBZWRoI+8mY5wWQf9Kw Gvek7eCZEUaD2wLmtb6oZdU0nT4a2N67YWhuIexl3cYH5YULU8IncExU2Rtb+qsVtFIn S8052BoSOkizH65q5ODHPMtQWN64ANlYEyn9SQFkIfXKXvMBKEOzS+UxYQYv8bPmto/Y 1MFQ== 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 v129si4500217oib.156.2019.12.05.05.00.08; Thu, 05 Dec 2019 05:00:20 -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 S1729518AbfLEM7N (ORCPT + 99 others); Thu, 5 Dec 2019 07:59:13 -0500 Received: from www62.your-server.de ([213.133.104.62]:58488 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729503AbfLEM7M (ORCPT ); Thu, 5 Dec 2019 07:59:12 -0500 Received: from 29.249.197.178.dynamic.dsl-lte-bonding.lssmb00p-msn.res.cust.swisscom.ch ([178.197.249.29] helo=localhost) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1icqii-00073e-Qh; Thu, 05 Dec 2019 13:59:02 +0100 Date: Thu, 5 Dec 2019 13:59:00 +0100 From: Daniel Borkmann To: Daniel Axtens Cc: Dmitry Vyukov , syzbot , kasan-dev , Andrii Nakryiko , Alexei Starovoitov , bpf , Martin KaFai Lau , LKML , netdev , Song Liu , syzkaller-bugs , Yonghong Song , Andrey Ryabinin Subject: Re: BUG: unable to handle kernel paging request in pcpu_alloc Message-ID: <20191205125900.GB29780@localhost.localdomain> References: <000000000000314c120598dc69bd@google.com> <877e3be6eu.fsf@dja-thinkpad.axtens.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <877e3be6eu.fsf@dja-thinkpad.axtens.net> User-Agent: Mutt/1.12.1 (2019-06-15) X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.101.4/25654/Thu Dec 5 10:46:25 2019) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 05, 2019 at 03:35:21PM +1100, Daniel Axtens wrote: > >> HEAD commit: 1ab75b2e Add linux-next specific files for 20191203 > >> git tree: linux-next > >> console output: https://syzkaller.appspot.com/x/log.txt?x=10edf2eae00000 > >> kernel config: https://syzkaller.appspot.com/x/.config?x=de1505c727f0ec20 > >> dashboard link: https://syzkaller.appspot.com/bug?extid=82e323920b78d54aaed5 > >> compiler: gcc (GCC) 9.0.0 20181231 (experimental) > >> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=156ef061e00000 > >> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11641edae00000 > >> > >> IMPORTANT: if you fix the bug, please add the following tag to the commit: > >> Reported-by: syzbot+82e323920b78d54aaed5@syzkaller.appspotmail.com > > > > +Daniel, is it the same as: > > https://syzkaller.appspot.com/bug?id=f6450554481c55c131cc23d581fbd8ea42e63e18 > > If so, is it possible to make KASAN detect this consistently with the > > same crash type so that syzbot does not report duplicates? > > It looks like both of these occur immediately after failure injection. I > think my assumption that I could ignore the chance of failures in the > per-cpu allocation path will have to be revisited. That's annoying. > > I'll try to spin something today but Andrey feel free to pip me at the > post again :) > > I'm not 100% confident to call them dups just yet, but I'm about 80% > confident that they are. Ok. Double checked BPF side yesterday night, but looks sane to me and the fault also hints into pcpu_alloc() rather than BPF code. Daniel, from your above reply, I read that you are aware of how the bisected commit would have caused the fault? Thanks, Daniel