Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp791128ybx; Fri, 1 Nov 2019 11:16:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLSjUfaKkOmw2GOz4o8rfYUag7Ptj54sYKH9sd/REe/vW0UGRkG1f3geIanE8zTGCKF/+2 X-Received: by 2002:a17:906:1812:: with SMTP id v18mr11192876eje.86.1572632206885; Fri, 01 Nov 2019 11:16:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572632206; cv=none; d=google.com; s=arc-20160816; b=z0s8JzHKu2x+mk8qQiTAobpyRbndR7RNsg0kb3UbKuxu1zKPFR8NpxfogSAilmODLk 2s+LjfZNPPl43nWC7b4v+N90IKkJMMI9KC7auPVpcqoQfsQs5q1Mntk/c2bwt2jN+29G 5Ge2mnH2gkYuthMHithQr8Gu7IW+IVLeV+5HLUatPoxh2Akrgd35ZppnAw1qjvz7n9Il jxGFsG+2DYYTqjhaDP9pVg+6Jq7Sl2AAvL0sJJASYGNDOONnGyg6w9x0FfWZe9/Da4DG ZbSj8bRnxI1vgWgJvBQSUkmojbytyWCo8tnC0yMxlUFx3yQDfCvE6Ub3emzb+Hhb+tBT T4tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=k8D0kxdveIpuC6UigtyTU7urwvjnhy2BPAZbxffIYkA=; b=nRGpZoCXR21zkkRd/bhDTgyx4q9pMMIg6MpxVZyA20n7D3gDTInIuFjJqU0Dxg8yZg 7995CgYuTDv9jFYvTaSY3hlUk4/m9uUZgcCyDFhAbedROFK3O01xU/ZvrnDdp3iXVdeW 3BzgsPCLCNr7VnurKEwqg/2C18ckZUVoqa2U59T8BLiKUw/vYFXaQ3zSu21h1zcelETS WM9Zstqc/+A2SytVkKLyXPOrsN2QCzbWV9qm4y7AVl1d30i0U6gI7KCiMZlwuyS9KrUc 8tyIMX7sfpG2MdUseveVnyu5vJS24YmV5lLEm5Ew8u4KKwzeJF9SOVmpusGMHEcp6yfv bNLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="f+FQf0a/"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y27si6821126ejb.58.2019.11.01.11.16.22; Fri, 01 Nov 2019 11:16:46 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20161025 header.b="f+FQf0a/"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727029AbfKASDY (ORCPT + 99 others); Fri, 1 Nov 2019 14:03:24 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:44380 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726991AbfKASDX (ORCPT ); Fri, 1 Nov 2019 14:03:23 -0400 Received: by mail-qt1-f196.google.com with SMTP id o11so8929994qtr.11 for ; Fri, 01 Nov 2019 11:03:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=k8D0kxdveIpuC6UigtyTU7urwvjnhy2BPAZbxffIYkA=; b=f+FQf0a/ifANPLSwBV+ZkSgxM5Jp/onawYBupphq/LsTjIej2U+EoZiplzDJaj+w9f f+HNklqSQZF2LnhTGh7KLY0AgjSJJzx2aI4Hn67VjCULaV+wlrwW2pf4YAr/1vY0DU+H O69QaL/E2EfY4PDEOhF0PmKMeT/GqXZeYkLWyjeGmh84W4mLY39849znwYXB3Fd4ApvX kV0JygyDXSgMrkVC+vPJcBomOufJZwPeHCOl80eSjh8PAx1zeAmiwhTd6SV2DOpohy6a V1sA4A5q91zDXDOsrN+gypNTEucv0fgbKEUPi6AZLEvMGgH6SuL6ap6GoYm9uHPF2Tcv ZSBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=k8D0kxdveIpuC6UigtyTU7urwvjnhy2BPAZbxffIYkA=; b=nUbhQtGKui/KmhuSmQkAH0u9Hk6I803vai8zVJiRiu8BIUFL12iWwhBmFkz9cmdMbc cXN5NYxIvd+g/VGP62r1urqaFNp31c8tNvlAqHORnKOQOzb60VO848HWzHCeUDkCyaR8 nURoGbIn1box11qIXKpEkQehCQNufoAe64cWK8t6sPuLPebQQJKiifzQVrIVSlkeyVpR Ossh8lLbNYwAJR+mkYkgHc0YvWWntY0/6NPjs4aVUWcTTFOZ65gQOsaCA+hdIjhw2Lu8 mB+dAzQO9x+31laHeNOK8bL8Rboi42kqOEpwxwpESXRIVHhzj28Vz0Ge+Ke9QLp+sDq+ y7Kw== X-Gm-Message-State: APjAAAX3gvhq/wElC3Hym+Ih51/oCmFvely9/0ZWNXlFmqPZeHLjNIHx 1GplzX8Xp3JQ68VB6xdfNWnTyEnEjWwcTQE0npCA9A== X-Received: by 2002:ac8:1103:: with SMTP id c3mr676808qtj.50.1572631402359; Fri, 01 Nov 2019 11:03:22 -0700 (PDT) MIME-Version: 1.0 References: <00000000000069801e05961be5fb@google.com> <0e2bc2bf-2a7a-73c5-03e2-9d08f89f0ffa@kernel.dk> <7fe298b7-4bc9-58e7-4173-63e3cbcbef25@kernel.dk> In-Reply-To: <7fe298b7-4bc9-58e7-4173-63e3cbcbef25@kernel.dk> From: Dmitry Vyukov Date: Fri, 1 Nov 2019 19:03:10 +0100 Message-ID: Subject: Re: BUG: unable to handle kernel paging request in io_wq_cancel_all To: Jens Axboe Cc: syzbot , Andrew Morton , Dan Williams , David Howells , Greg Kroah-Hartman , Johannes Weiner , Joel Fernandes , linux-block , linux-fsdevel , LKML , mchehab+samsung@kernel.org, Ingo Molnar , patrick.bellasi@arm.com, Richard Guy Briggs , Steven Rostedt , syzkaller-bugs , Al Viro , Masahiro Yamada Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 1, 2019 at 6:56 PM Jens Axboe wrote: > > On 11/1/19 11:50 AM, Dmitry Vyukov wrote: > > On Wed, Oct 30, 2019 at 3:41 PM Jens Axboe wrote: > >> > >> On 10/30/19 1:44 AM, syzbot wrote: > >>> syzbot has bisected this bug to: > >>> > >>> commit ef0524d3654628ead811f328af0a4a2953a8310f > >>> Author: Jens Axboe > >>> Date: Thu Oct 24 13:25:42 2019 +0000 > >>> > >>> io_uring: replace workqueue usage with io-wq > >>> > >>> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=16acf5d0e00000 > >>> start commit: c57cf383 Add linux-next specific files for 20191029 > >>> git tree: linux-next > >>> final crash: https://syzkaller.appspot.com/x/report.txt?x=15acf5d0e00000 > >>> console output: https://syzkaller.appspot.com/x/log.txt?x=11acf5d0e00000 > >>> kernel config: https://syzkaller.appspot.com/x/.config?x=cb86688f30db053d > >>> dashboard link: https://syzkaller.appspot.com/bug?extid=221cc24572a2fed23b6b > >>> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=168671d4e00000 > >>> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=140f4898e00000 > >>> > >>> Reported-by: syzbot+221cc24572a2fed23b6b@syzkaller.appspotmail.com > >>> Fixes: ef0524d36546 ("io_uring: replace workqueue usage with io-wq") > >> > >> Good catch, it's a case of NULL vs ERR_PTR() confusion. I'll fold in > >> the below fix. > > > > Hi Jens, > > > > Please either add the syzbot tag to commit, or close manually with > > "#syz fix" (though requires waiting until the fixed commit is in > > linux-next). > > See https://goo.gl/tpsmEJ#rebuilt-treesamended-patches for details. > > Otherwise, the bug will be considered open and will waste time of > > humans looking at open bugs and prevent syzbot from reporting new bugs > > in io_uring. > > It's queued up since two days ago: > > http://git.kernel.dk/cgit/linux-block/commit/?h=for-5.5/io_uring&id=975c99a570967dd48e917dd7853867fee3febabd > > and should have the right attributions, so hopefully it'll catch up > eventually. > > -- > Jens Axboe > Cool! Thanks! I've seen "fold in" and historically lots of developers did not add the tag during amending, so wanted to double check.