Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4618079pxa; Mon, 10 Aug 2020 13:41:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsvu4nRixBroasWkQXCELBt5jV17K/SpvylGNXXTwrQihgl/5QgZzzbh9B647n2ir9XXZO X-Received: by 2002:a05:6402:1a54:: with SMTP id bf20mr23086948edb.217.1597092074907; Mon, 10 Aug 2020 13:41:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597092074; cv=none; d=google.com; s=arc-20160816; b=ubsWMfyxHzBWOi0NKL5j/Qra5lOEZcWQo9iS2gTc+fEv2PJkN6it8yzqs4ieFGpddz BhsioRMGCeNA27xLh3R33lErHbxQ3dzSwgkp/PDtXqT9TmBUUBSUXiZOBUZwshwWrbHu MGhLMrsbedDx8YHiLXWbLcdJwkg2EY8r65Fl7ArJe+v2zY//3cnFtRtBlM7cfuK+7BWM Pbzhl/OL6b+u+8W0dUHlJURPd2YXX/4poj4N2OuKbROW9mjXkZgMcK2Z++4AmBskQrWm faupwbeIdEwddxYgwuqRqkCBWmecBukWm1zUQb88yCrQTFwbt2p8EGDI0b4C/xDTl9WN SaXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:date :mime-version; bh=jS1QhIpDWAybN3/rlAubKTo0kERuNQcJeBNxwDNaJb8=; b=wSh7b1djSQ7PycE+sVDu6MomeH4cY3RiYoTTm18sEc8n/2j7sMwbEUbrjpOX2eBUCJ D1f8/TMX3JY8i81ZeNsFgnSH0xmbSpExlIX5Eb7u6ul8Vmu72+dOpwFUKQDR3gRQEvyA pYJYQbo1b0WHeST9lvEYwyWWjUSxhyzZ3u6Xz8GLvz6FLYZSynJAV6Ks00qSlHU488oR 8n4xvjF/QVCbA2sZhnI/OlUVXorpHOlVdarZ73g9m5qs+B5Sk5iatqWeQYFffteCfMp6 9myhxKISaFtu0DvnCgtrQT2chgASnuKxzoSw8PrkG3vr/ugVfxGDiJ9w7AVvTQWhDvGf 8Fzg== 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 y10si11246473edu.397.2020.08.10.13.40.51; Mon, 10 Aug 2020 13:41:14 -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 S1726714AbgHJUhT (ORCPT + 99 others); Mon, 10 Aug 2020 16:37:19 -0400 Received: from mail-il1-f197.google.com ([209.85.166.197]:47592 "EHLO mail-il1-f197.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726501AbgHJUhS (ORCPT ); Mon, 10 Aug 2020 16:37:18 -0400 Received: by mail-il1-f197.google.com with SMTP id e12so8763949ile.14 for ; Mon, 10 Aug 2020 13:37:17 -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:message-id:subject:from:to; bh=jS1QhIpDWAybN3/rlAubKTo0kERuNQcJeBNxwDNaJb8=; b=qpG3oCeWkaHD8VD934MEQ4fZoZMW1cpBqNuR6pV/8/8BPTuIMXoZgvBagp17IZdYb3 0PbDh6xRJMr63xsliIZWAMECui7O00eLo2NOVUfCg7oX40yjswDHoZhfGz1WWnbndAir 1pPZeeyhIZQX5mpfu1xcCQxIbY8LdyQtCMSO7Lhfy7fH1s9TgiEHoPyqE91rXcab6sUM YkW0Gszyr4M6K4EdLdm45OrDKfaJYnkHn+sEaIKeOXvi0Yzm2+OOXFc+3tZuaI0zNQka srHfkMNGmB3Hnzp/5BEE2SXOWznzc1VhgM9rDdI5MVTwAsFriOel62cDx1kLMUDZdALq WQKQ== X-Gm-Message-State: AOAM532Rd0+AScBWO37WtuRCbjuQY40SoH6rzpc3HwfqE+8x+QuXRH6t 6m8ge7ZX6aaOA1uBKDduCHzx3bohsRkN5p/Jj8n3FdaR5sjx MIME-Version: 1.0 X-Received: by 2002:a92:d590:: with SMTP id a16mr6513877iln.87.1597091836660; Mon, 10 Aug 2020 13:37:16 -0700 (PDT) Date: Mon, 10 Aug 2020 13:37:16 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000991ae405ac8beb12@google.com> Subject: INFO: task can't die in io_uring_flush From: syzbot To: 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" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: f80535b9 Add linux-next specific files for 20200810 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=11df00d6900000 kernel config: https://syzkaller.appspot.com/x/.config?x=2055bd0d83d5ee16 dashboard link: https://syzkaller.appspot.com/bug?extid=6d70b15b0d106c3450c5 compiler: gcc (GCC) 10.1.0-syz 20200507 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+6d70b15b0d106c3450c5@syzkaller.appspotmail.com INFO: task syz-executor.5:31048 can't die for more than 143 seconds. syz-executor.5 D28360 31048 7448 0x00000004 Call Trace: context_switch kernel/sched/core.c:3778 [inline] __schedule+0x8e5/0x21e0 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 io_uring_cancel_files fs/io_uring.c:7897 [inline] io_uring_flush+0x740/0xa90 fs/io_uring.c:7914 filp_close+0xb4/0x170 fs/open.c:1276 __close_fd+0x2f/0x50 fs/file.c:671 __do_sys_close fs/open.c:1295 [inline] __se_sys_close fs/open.c:1293 [inline] __x64_sys_close+0x69/0x100 fs/open.c:1293 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x416981 Code: Bad RIP value. RSP: 002b:00007ffe164f4ff0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000416981 RDX: 0000000000000000 RSI: 00000000000010bc RDI: 0000000000000003 RBP: 0000000000000001 R08: 00000000102b50bc R09: 00000000102b50c0 R10: 00007ffe164f50e0 R11: 0000000000000293 R12: 0000000001191d50 R13: 0000000000126257 R14: ffffffffffffffff R15: 000000000118bf2c INFO: task syz-executor.5:31048 blocked for more than 143 seconds. Not tainted 5.8.0-next-20200810-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28360 31048 7448 0x00000004 Call Trace: context_switch kernel/sched/core.c:3778 [inline] __schedule+0x8e5/0x21e0 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 io_uring_cancel_files fs/io_uring.c:7897 [inline] io_uring_flush+0x740/0xa90 fs/io_uring.c:7914 filp_close+0xb4/0x170 fs/open.c:1276 __close_fd+0x2f/0x50 fs/file.c:671 __do_sys_close fs/open.c:1295 [inline] __se_sys_close fs/open.c:1293 [inline] __x64_sys_close+0x69/0x100 fs/open.c:1293 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x416981 Code: Bad RIP value. RSP: 002b:00007ffe164f4ff0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000416981 RDX: 0000000000000000 RSI: 00000000000010bc RDI: 0000000000000003 RBP: 0000000000000001 R08: 00000000102b50bc R09: 00000000102b50c0 R10: 00007ffe164f50e0 R11: 0000000000000293 R12: 0000000001191d50 R13: 0000000000126257 R14: ffffffffffffffff R15: 000000000118bf2c Showing all locks held in the system: 1 lock held by khungtaskd/1170: #0: ffffffff89c66c40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5825 1 lock held by in:imklog/6542: #0: ffff88809e544630 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:930 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1170 Comm: khungtaskd Not tainted 5.8.0-next-20200810-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x18f/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x223 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:147 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:253 [inline] watchdog+0xd89/0xf30 kernel/hung_task.c:339 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6543 Comm: rs:main Q:Reg Not tainted 5.8.0-next-20200810-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0033:0x55c2017dc011 Code: e7 e8 03 5d fc ff 4c 89 e7 48 89 c5 e8 d8 5c fc ff 48 63 54 24 2c 4c 63 e0 89 44 24 1c 48 89 d8 4c 01 e0 48 01 d0 80 7d 00 20 <41> 0f 95 c5 4d 8d 6c 05 13 41 8b 47 08 49 39 c5 72 13 4c 89 ee 4c RSP: 002b:00007faa8110e810 EFLAGS: 00000202 RAX: 0000000000000032 RBX: 0000000000000009 RCX: 0000000000000000 RDX: 0000000000000007 RSI: 00007faa8110e840 RDI: 00007faa7401fb70 RBP: 00007faa7401fcb0 R08: 0000000000000000 R09: 0000000000000000 R10: 000055c201a19280 R11: 0000000000000000 R12: 0000000000000022 R13: 0000000000000000 R14: 00007faa7401fd68 R15: 00007faa78019c00 FS: 00007faa8110f700 GS: 0000000000000000 --- 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.