Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp944783ybx; Fri, 1 Nov 2019 13:57:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVVvZ1BVior+OZBH9KCF2h3DB0J4JxjyW0QiU6x/0gCtWKQXtCCcqw3X1wsRf9LJSDVWXI X-Received: by 2002:a17:906:7f06:: with SMTP id d6mr11668947ejr.323.1572641861358; Fri, 01 Nov 2019 13:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572641861; cv=none; d=google.com; s=arc-20160816; b=uzccX9Kz7ylVyrs0At0lUAsCtDTbz1lBMQ90dYf7hR2bnVv9rSx6V0MFpcv/PBpPwk 5oTg0BQJzFxjzzNEXcr/F5GrHrztJRASB0KbhlbLsDiBaYmfoWkp0BQFnD4/vr3BnTOm ef4M1CqHrMAGIRKSfsMmFz0Qziqhx3JgpXxFNpRkxAp9He5dygsuaJAh4xjkn7sKwX6f yJnAD2tKaLowgjhYjJNXE75mAN+lirxU984XLaZRjuXAp+g0RHvzwY/vI5RLU6sEFfIG WOaN+i5VoeI4uEkd/7fABz2a5TkADq/CQPT0A1C2+WvSoLNlrEvB6e54RXaiRazzIoeL q1zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=K71YtVHX64W3J+gcMlkPgOo/j5jpKpJ4xYX6R4xuIW8=; b=zsBGWrpgaALQ9cf1feWdjYArxpGsldAd9Zw/IunO53SbtHJyo7tJhqYuytgeLk5nzy 9qXGRHb52MEY/nyL6pNkzay1PYis2OF7YSGkXU+03cZ0JeG7j2eMMsMa06B3yPWfS+R6 TySIVctMZVm0/GWkiMLN2pJanU5xVFB649XJ5Vpr+SGQFcCpFSminjnAaSMTwUC5YvN9 BUB0UIt/XAQ5R8vGK37oFFEkoLC19Y81GIGNzvQlOmg73Npl6vCdk7LTK1GcYv8rkP1G FjOTQBGm+ukNUbUigle+16+YTdKpI+XOAA+PtJ50XbQZuJD7AR2m14JjwLnlUUNa4SgR wTZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=wibfpvX2; 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 d13si6295034ejj.317.2019.11.01.13.57.18; Fri, 01 Nov 2019 13:57:41 -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=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=wibfpvX2; 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 S1727154AbfKASH2 (ORCPT + 99 others); Fri, 1 Nov 2019 14:07:28 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:45213 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726991AbfKASH2 (ORCPT ); Fri, 1 Nov 2019 14:07:28 -0400 Received: by mail-io1-f68.google.com with SMTP id s17so11782856iol.12 for ; Fri, 01 Nov 2019 11:07:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=K71YtVHX64W3J+gcMlkPgOo/j5jpKpJ4xYX6R4xuIW8=; b=wibfpvX2XghCpSzEhr+T52O7XBVpiwm7HyI22ix/gTaiIC7gEcmZLuUbSx0QcsQk0l 7VRG3ZZq0Zz2XfCiIZZuzCuYVVP74LAUeZhzMo1KcQxQFfRXGd1jELmu/076petYJJhw FGOUsARnK1A+7Ln8hL4GePo4EvzqNYH78HWQHlQ1cM4R6ezZZ/f9PGCAZlzQEQ/GXJrN /VS7ER187zHOZs8QEQX4iSRuc7/+eW/SLRjRy8mmks03POz92N+/6rG3pORbq2Fgn2lq C/ll3yctfnlA0gc4YVriCFxcbq9cUPpzRg3wjYzMuyrPzT0mOh4CC3kuW2+P1Tgj1vUy BVbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=K71YtVHX64W3J+gcMlkPgOo/j5jpKpJ4xYX6R4xuIW8=; b=F9tn/Rqy0yhUwSXsUxgvG+V+G2QM0Sy1+CCC5racfEN0YRJfauda+BRCNMfvUPbooX FDAqgpfb1Dfd+KKHzn1atuEYBAygZcsEzJTb1pKj6nVAA539/DZexoYuf0KWGzAzHcVo OXjKg06XV9z/y7ED3runVWVxI9cZ9RT+CTspqouxB1pi1IAtiU9WA4206uWxrYJklOV5 QOpwusPMuCJ2Ml22Mpr2yVgC9Kx9fRI3Zt/P1VCOZzGafF8mx7faRtDrToHhN4MYfOJx dhshXolSrVJdwntoKwieXDgsg2Rw0m6PswXwgi7NmCJ1x4QAjXDLc9TGv1R5YsLFsFud DPDg== X-Gm-Message-State: APjAAAVNIHmDNayvs/mFaJh/eaNKku4+fwPRj+ysgY1zvSWxvNg2uWU1 sLsd6SygjBC8Dz/tpi8Y4ap3pw== X-Received: by 2002:a5e:c302:: with SMTP id a2mr11706975iok.295.1572631644822; Fri, 01 Nov 2019 11:07:24 -0700 (PDT) Received: from [192.168.1.159] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id h16sm1201668ilq.18.2019.11.01.11.07.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Nov 2019 11:07:23 -0700 (PDT) Subject: Re: BUG: unable to handle kernel paging request in io_wq_cancel_all To: Dmitry Vyukov 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 References: <00000000000069801e05961be5fb@google.com> <0e2bc2bf-2a7a-73c5-03e2-9d08f89f0ffa@kernel.dk> <7fe298b7-4bc9-58e7-4173-63e3cbcbef25@kernel.dk> From: Jens Axboe Message-ID: <5e420723-8cc0-42ac-2ca4-d708af70fe3d@kernel.dk> Date: Fri, 1 Nov 2019 12:07:21 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/1/19 12:03 PM, Dmitry Vyukov wrote: > 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. I'm often guilty of that, I think, but for this one I just kept it separate since I didn't want to rebase things at this point. So I do appreciate the reminder, I'm sure it'll be pertinent in many other cases... -- Jens Axboe