Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4178895pxj; Mon, 21 Jun 2021 15:42:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWq/Oh8lYLq8niQvkkV0W/xOvJQ1cyqtAmamR3K1o+9/G16noz9GMVhtQI7qdQfSX2wTtd X-Received: by 2002:a6b:f20c:: with SMTP id q12mr295089ioh.72.1624315358481; Mon, 21 Jun 2021 15:42:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624315358; cv=none; d=google.com; s=arc-20160816; b=iu1i1MoTXPA29L/kh15xU2PZoOsCaJW7BsP/sP1CwOHqGZ53n6DsXo3Ste89+uJ8O0 eSkOhF1/rLdXXXJatyth1d4kUtYS6gRFYy7Yqe5zAKOOOL6XomlMxX0eYGDts1PCNPeI kK9OMODV+8ZzqJVyB1Lf4fdUGTx9pYkP8T4T/++H/xv3n9aHfce1Zz0r3cK2D21OWODm W+NAEqUJiN/qA08djZgvY+xLQwVdSo5s24HV2jzX86m+reKHXa2Xvk09FCNwJ33+F8SW e30WuRn/CILWarBSXxc/KIN13moBt9nOTmYFj/lZPYXVu4gYXYrGKDVdSExrPQmf5CfQ wMhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=RXam9GMUzLvNCPDpGTpQSUV1cqeRRhDCXMT8mAyrtUQ=; b=o19Wou9ofVAtUKE11J8iRJSYQtRrXZTeB+NJ4XZB2kZ8/QL09XU17rNPkiFTIWw/Gd TX4Xs0IdlL1aC5u9y2JRY/FUMLXvZhOzRYZ0WElH2yhl0WdJaycC/weCBGBwtGhKg2gK XkAi6mmQCvFTAvgESRg+mpKCi+PXJJxtaQ+1qK51hcOYLOPDSgYwJGv3WNFrUic1tYez NPY8pqFxqlxK4swHRMq/h6RHkopCxitV/br3MjaZVQDjAUnnjH2J5nXkOWXrFB07F5P9 QQsUG1cb0N+HMqDaAOFUgvmbFe6v84HMBLSEN2NyWaIb7MFnDULDZq9T6KOD4dqEfsRb I60Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kDb6cwsQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f10si8157571jag.106.2021.06.21.15.42.19; Mon, 21 Jun 2021 15:42:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kDb6cwsQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232335AbhFUWnf (ORCPT + 99 others); Mon, 21 Jun 2021 18:43:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:55176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231817AbhFUWne (ORCPT ); Mon, 21 Jun 2021 18:43:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B2ECA6124B; Mon, 21 Jun 2021 22:41:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624315279; bh=UXd0EyfCTFXC5zHmXZWHGRM8gwslzKUqjbDHNEzxVfo=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=kDb6cwsQ+u/G1qukOtXSytwcTsshNyCF6ilM3FqjLc0THc4lnd88yV49yrN2GYoWC JgyHuVSBi6nyyVXA/fhZ5ofYCR+9DnEN7wsDJzUIMkgzEAqOl8hZsMf++wSAg6BtCk +eVbTT0Cj4W34NQafsPcqiwauPeBsr/U2ATWtZcK8MVY326DsRrOdy2EYyCceSzwxZ fC9p5Axvo1whYj+xAM7SLsOlyUs66TwM2wZSK6ZPuNSe0KRlW4YD83jNgvqVLOlaOl 5OJW+orEIzGGwXISlZFZTDYYC4kZdCsvj2l4KBTsy9SGIMJl5Jr5lt1C2/DsCj3Jj9 tB1i16c1lj+IQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 6F0265C052D; Mon, 21 Jun 2021 15:41:19 -0700 (PDT) Date: Mon, 21 Jun 2021 15:41:19 -0700 From: "Paul E. McKenney" To: syzbot Cc: akpm@linux-foundation.org, andrii@kernel.org, ast@kernel.org, axboe@kernel.dk, bpf@vger.kernel.org, christian@brauner.io, coreteam@netfilter.org, daniel@iogearbox.net, davem@davemloft.net, dsahern@kernel.org, dvyukov@google.com, fw@strlen.de, jiangshanlai@gmail.com, joel@joelfernandes.org, john.fastabend@gmail.com, josh@joshtriplett.org, kadlec@netfilter.org, kafai@fb.com, kpsingh@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, mathieu.desnoyers@efficios.com, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, pablo@netfilter.org, peterz@infradead.org, rcu@vger.kernel.org, rostedt@goodmis.org, shakeelb@google.com, songliubraving@fb.com, syzkaller-bugs@googlegroups.com, yanfei.xu@windriver.com, yhs@fb.com, yoshfuji@linux-ipv6.org Subject: Re: [syzbot] KASAN: use-after-free Read in check_all_holdout_tasks_trace Message-ID: <20210621224119.GW4397@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <000000000000f034fc05c2da6617@google.com> <000000000000cac82d05c5214992@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000000000000cac82d05c5214992@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 19, 2021 at 09:54:06AM -0700, syzbot wrote: > syzbot has bisected this issue to: > > commit f9006acc8dfe59e25aa75729728ac57a8d84fc32 > Author: Florian Westphal > Date: Wed Apr 21 07:51:08 2021 +0000 > > netfilter: arp_tables: pass table pointer via nf_hook_ops > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=10dceae8300000 > start commit: 0c38740c selftests/bpf: Fix ringbuf test fetching map FD > git tree: bpf-next > final oops: https://syzkaller.appspot.com/x/report.txt?x=12dceae8300000 > console output: https://syzkaller.appspot.com/x/log.txt?x=14dceae8300000 > kernel config: https://syzkaller.appspot.com/x/.config?x=a6380da8984033f1 > dashboard link: https://syzkaller.appspot.com/bug?extid=7b2b13f4943374609532 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1264c2d7d00000 > > Reported-by: syzbot+7b2b13f4943374609532@syzkaller.appspotmail.com > Fixes: f9006acc8dfe ("netfilter: arp_tables: pass table pointer via nf_hook_ops") > > For information about bisection process see: https://goo.gl/tpsmEJ#bisection I am not seeing any mention of check_all_holdout_tasks_trace() in the console output, but I again suggest the following two patches: 6a04a59eacbd ("rcu-tasks: Don't delete holdouts within trc_inspect_reader()" dd5da0a9140e ("rcu-tasks: Don't delete holdouts within trc_wait_for_one_reader()") Thanx, Paul