Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2670699pxj; Mon, 17 May 2021 07:10:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKUk2CNHUnZwKTeB5WBa+njiZJltFdD4UfuRgBb7lFIynIsgvTrlG/t2ZXgKP6YXboiJeH X-Received: by 2002:a17:906:1c8b:: with SMTP id g11mr127083ejh.158.1621260652610; Mon, 17 May 2021 07:10:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621260652; cv=none; d=google.com; s=arc-20160816; b=NbW80wV0W8JpM9eSrIcuIRizb0+34mWxNmgz9LiMBIQ6B5KJuocP6DUMbcGh7x+PRi Tm+bE6NUbnZHVx5s2uj0nbR8Sbvj33BrMsKnf3Nbnj4madYu71NbfE44OvABde9bJTHK tlpGpcE73OkbDj8SsBEi0zy6N7+YjnjGzqag93m4tJL/oF9bGJkUAtg732Rm/J4PVvtG V5MoUU4Q0iVVtlwE/ySr/C2DHpemJKt80n0RxZTgPzwQCzodhESF44qhaJSrGCKCmwge qVVmI95AfacTM04JD5GW2GnzIlbCQ9wdAOswH4LeCdBOgOU2DYBw1IMNtiojIRDYdCXI uwWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=stlYcXvw22WJPtSswO8oQRc/1As/x/9LDWonCzm7Y1g=; b=PTGEXKTCRg0oBcGnxI6Gn6H2hjCxTiUPEKtoMgRcTTcZQpYN5PGRcd48HWodg86e4s vrCRf6Wiy+1If2zgJ2gtF28NMHjbrQu+RxWN+mc+WDas5h9RCBk42ZCelcYxU66kSWtr 9gkBJYuN8ejawdOfBDIlaXqAYGxTPhYNxeP6/I19jHSxKbAadR5l8sCRWjWFoZ9tycRm VpRhfy5B/BEeCNGjyMdXYkhVT6X3FzK5O+GCmFuCVnWKoExRcHN73tepjSePSSNYhpK2 MZrPAv+D92Xw6Rw1hJJVXv9rm9bGvav2/fAMstYR3f6TRTO4QG/nJJu2yGB1QrWEYC4j TErw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si5658036edw.467.2021.05.17.07.10.29; Mon, 17 May 2021 07:10:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236800AbhEQL3h (ORCPT + 99 others); Mon, 17 May 2021 07:29:37 -0400 Received: from verein.lst.de ([213.95.11.211]:57156 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236803AbhEQL3f (ORCPT ); Mon, 17 May 2021 07:29:35 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id B31EB68AFE; Mon, 17 May 2021 13:28:15 +0200 (CEST) Date: Mon, 17 May 2021 13:28:15 +0200 From: Christoph Hellwig To: syzbot Cc: axboe@kernel.dk, hare@suse.de, hch@lst.de, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, martin.petersen@oracle.com, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] WARNING in blk_rq_append_bio Message-ID: <20210517112815.GA11490@lst.de> References: <0000000000006d129905c284e02d@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0000000000006d129905c284e02d@google.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This was fixed just a little later with "block: remove an incorrect check from blk_rq_append_bio" On Mon, May 17, 2021 at 04:27:20AM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: 5103a5be Add linux-next specific files for 20210407 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=17b28e36d00000 > kernel config: https://syzkaller.appspot.com/x/.config?x=c278e8a8a7f47f4c > dashboard link: https://syzkaller.appspot.com/bug?extid=1c24e3484e48799b2333 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1232b5c9d00000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17971a36d00000 > > The issue was bisected to: > > commit 393bb12e00580aaa23356504eed38d8f5571153a > Author: Christoph Hellwig > Date: Wed Mar 31 07:30:01 2021 +0000 > > block: stop calling blk_queue_bounce for passthrough requests > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=134e9381d00000 > final oops: https://syzkaller.appspot.com/x/report.txt?x=10ce9381d00000 > console output: https://syzkaller.appspot.com/x/log.txt?x=174e9381d00000 > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+1c24e3484e48799b2333@syzkaller.appspotmail.com > Fixes: 393bb12e0058 ("block: stop calling blk_queue_bounce for passthrough requests") > > ------------[ cut here ]------------ > WARNING: CPU: 1 PID: 25 at block/blk-map.c:488 blk_rq_append_bio+0x565/0x680 block/blk-map.c:488 > Modules linked in: > CPU: 0 PID: 25 Comm: kworker/u4:1 Not tainted 5.12.0-rc6-next-20210407-syzkaller #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 > Workqueue: events_unbound async_run_entry_fn > RIP: 0010:blk_rq_append_bio+0x565/0x680 block/blk-map.c:488 > Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 de 00 00 00 48 8b 44 24 10 48 89 98 a0 00 00 00 45 31 e4 e9 3f fe ff ff e8 6b 3e bc fd <0f> 0b 41 bc ea ff ff ff e9 2d fe ff ff c7 44 24 08 00 00 00 00 e9 > RSP: 0018:ffffc90000dff6d0 EFLAGS: 00010293 > RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 > RDX: ffff888011cbb900 RSI: ffffffff83b7ea55 RDI: 0000000000000003 > RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000001 > R10: ffffffff83b7e568 R11: 0000000000000000 R12: 0000000000000001 > R13: 0000000000000008 R14: ffff88801c86e400 R15: ffff88801c86e400 > FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 00007fb8501cc930 CR3: 0000000023c21000 CR4: 00000000001506e0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > Call Trace: > blk_rq_map_kern+0x5db/0x750 block/blk-map.c:653 > __scsi_execute+0x4c1/0x600 drivers/scsi/scsi_lib.c:224 > scsi_execute_req include/scsi/scsi_device.h:462 [inline] > read_capacity_10+0x112/0x690 drivers/scsi/sd.c:2442 > sd_read_capacity drivers/scsi/sd.c:2519 [inline] > sd_revalidate_disk.isra.0+0x206c/0x7c00 drivers/scsi/sd.c:3203 > sd_probe+0x9e5/0x1140 drivers/scsi/sd.c:3459 > really_probe+0x291/0xf60 drivers/base/dd.c:576 > driver_probe_device+0x298/0x410 drivers/base/dd.c:763 > __device_attach_driver+0x203/0x2c0 drivers/base/dd.c:870 > bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 > __device_attach_async_helper+0x1c9/0x290 drivers/base/dd.c:896 > async_run_entry_fn+0x9d/0x550 kernel/async.c:127 > process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 > worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 > kthread+0x3b1/0x4a0 kernel/kthread.c:292 > ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 > > > --- > This report is generated by a bot. It may contain errors. > See https://goo.gl/tpsmEJ for more information about syzbot. > syzbot engineers can be reached at syzkaller@googlegroups.com. > > syzbot will keep track of this issue. See: > https://goo.gl/tpsmEJ#status for how to communicate with syzbot. > For information about bisection process see: https://goo.gl/tpsmEJ#bisection > syzbot can test patches for this issue, for details see: > https://goo.gl/tpsmEJ#testing-patches ---end quoted text---