Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4924648pxj; Wed, 12 May 2021 16:43:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHIh1MxbtcpWC/ZCe7/TF/mrav7jxKDZQx5Pp812xU6Ts0FLI924X16pw5Tc/gG2n1wbdH X-Received: by 2002:a05:6808:10d6:: with SMTP id s22mr809294ois.96.1620863024925; Wed, 12 May 2021 16:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620863024; cv=none; d=google.com; s=arc-20160816; b=aHiVvnRQQADpjqEMkr5owndXgFZyFfsawRvf9VePK8G7J7SwmJ0hUl09yowfuYgbgh J50bk/2pZoPdiOIZ6/yXg83G8lz+bZOlMLbE3SO+F29gRJ8GLH43tAH0RLB0J02wZdtn fMyvv0+DMsNNCph/AFNmkZfFXj29GrrsJU7HS5kQhdo0EesQSHLhB/VyLBlatw7rer8A ujIwLbElK5nZ5IWN+mas653CufPw788MRhwu2fUHiiDIaz6va6wthuTVbPqDrz7n6MBW YPiLQak/ERvBq8PMtBLG0qgqWr4XyBw9KHavQ9KdidcrrqaVswdmfY6OIE/A8LjR5lL6 I7YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:in-reply-to:date :mime-version; bh=szSoE56UMB+c1bsbG7AHkdeB3bUPiZNML4nbMj0xf7k=; b=vAkvx5MLB87yahUiDrXJbDkvf9/sJRNJg58R44oqSIKHrqKWrs6Jvrb+MhxFd1OTEz 6oCiZNMqG1eAN+M08zNO6wWUf4tppe7FC7PisM7WW3WQ07CJMz9lHkn2+B3TR388++UO HtrKAuslFBuYngglZMS4p0ejJH/T8nGLgfAH1TZKmDimgJw4KE98Zp9ml4CbG3feF+d8 pghzLpNUgvZEpjMuJJE3twT5TowSwUJR5DPKDOaOdjcANUWPOUq12cIGJhiTXCvlyR1Z VcMlgTFvo9DV4r8LnjqmGFUoqyXLIKJ8KfAgowOp/Ay3UoMSaMVXhBejg6h4ZhHU/lMF oSeQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si1571388oib.137.2021.05.12.16.43.30; Wed, 12 May 2021 16:43:44 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231981AbhELX3E (ORCPT + 99 others); Wed, 12 May 2021 19:29:04 -0400 Received: from mail-io1-f72.google.com ([209.85.166.72]:38850 "EHLO mail-io1-f72.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233109AbhELWjP (ORCPT ); Wed, 12 May 2021 18:39:15 -0400 Received: by mail-io1-f72.google.com with SMTP id i13-20020a5e9e0d0000b029042f7925649eso16716698ioq.5 for ; Wed, 12 May 2021 15:38:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:in-reply-to:message-id:subject :from:to; bh=szSoE56UMB+c1bsbG7AHkdeB3bUPiZNML4nbMj0xf7k=; b=KQNwyMc5qDsT7XwVQI9+Jvq3/+mMhhkekF1FOn/8ERcTVrA289LPdqO1N4nhD1c0Kt BGzLqpQ+U1dAvBadE282GKaCzn5jFxoD/VP+a87LmwFNvP2MbiytI5pbG5KTeByD4g20 +Th1eysZfRzXMw1C3IyrlsgNderEApJjOm9zG6EZBC+/KcA9hOIHTlcf+Rz479VoxNEv 16brgOFAGcGFkG7yZw60A9uylSVkZ+VhLaHIx7c6VC3IuDEGXk1j9iaXhKRHYfdsOvfZ yb16iO4PeKbBgLpWmMLoKY+wMNhvkznyuro3dqYSeL3anXkDCsYXqWmxfpir5al4cOUn /tBg== X-Gm-Message-State: AOAM533R1+cANr4IggXa7Mg/Zw2xWQtr/FqfT+nelWoIq8uhFG0CQQYu UwCDzSI3qDumIJEp/eH1tFTIJphBZgXkMg1T3MZrm6wHjOJn MIME-Version: 1.0 X-Received: by 2002:a05:6e02:13d0:: with SMTP id v16mr3591842ilj.168.1620859086249; Wed, 12 May 2021 15:38:06 -0700 (PDT) Date: Wed, 12 May 2021 15:38:06 -0700 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000011220705c229aa98@google.com> Subject: Re: [syzbot] WARNING in io_link_timeout_fn From: syzbot To: asml.silence@gmail.com, axboe@kernel.dk, io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: WARNING in io_req_complete_failed ------------[ cut here ]------------ WARNING: CPU: 0 PID: 10153 at fs/io_uring.c:1505 req_ref_put_and_test fs/io_uring.c:1505 [inline] WARNING: CPU: 0 PID: 10153 at fs/io_uring.c:1505 io_put_req fs/io_uring.c:2171 [inline] WARNING: CPU: 0 PID: 10153 at fs/io_uring.c:1505 io_req_complete_failed+0x2ee/0x5a0 fs/io_uring.c:1649 Modules linked in: CPU: 1 PID: 10153 Comm: syz-executor.3 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:req_ref_put_and_test fs/io_uring.c:1505 [inline] RIP: 0010:io_put_req fs/io_uring.c:2171 [inline] RIP: 0010:io_req_complete_failed+0x2ee/0x5a0 fs/io_uring.c:1649 Code: 58 bd da ff be 01 00 00 00 4c 89 f7 e8 5b 78 fe ff e9 09 fe ff ff e8 f1 32 97 ff 4c 89 ef e8 a9 fd 65 ff eb cb e8 e2 32 97 ff <0f> 0b e9 c8 fd ff ff 4c 89 f7 e8 23 0b db ff e9 3c fd ff ff 4c 89 RSP: 0018:ffffc9000afbfd10 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 000000000000007f RCX: 0000000000000000 RDX: ffff88801f5e0000 RSI: ffffffff81dd35ae RDI: 0000000000000003 RBP: ffff888043314dc0 R08: 000000000000007f R09: ffff888043314e1f R10: ffffffff81dd3374 R11: 000000000000000f R12: ffffffffffffffea R13: ffff888043314e1c R14: ffff888043314e18 R15: 00000000ffffffea FS: 00007fac1b577700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f04f797dd40 CR3: 0000000012dfb000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __io_queue_sqe+0x61e/0x10f0 fs/io_uring.c:6440 __io_req_task_submit+0x103/0x120 fs/io_uring.c:2037 __tctx_task_work fs/io_uring.c:1908 [inline] tctx_task_work+0x24e/0x550 fs/io_uring.c:1922 task_work_run+0xdd/0x1a0 kernel/task_work.c:161 tracehook_notify_signal include/linux/tracehook.h:212 [inline] handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x24a/0x280 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 Tested on: commit: a298232e io_uring: fix link timeout refs git tree: git://git.kernel.dk/linux-block.git io_uring-5.13 console output: https://syzkaller.appspot.com/x/log.txt?x=15f82965d00000 kernel config: https://syzkaller.appspot.com/x/.config?x=ae2e6c63d6410fd3 dashboard link: https://syzkaller.appspot.com/bug?extid=5a864149dd970b546223 compiler: