Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp827987pxv; Thu, 15 Jul 2021 17:15:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmYDsNPpOlBHcSGlqQ1r3vjkMdV2qquILCTxkHdthvwOPAYgHywy5hIiwRgM1ev9XBqmKU X-Received: by 2002:a17:906:3c14:: with SMTP id h20mr8558418ejg.176.1626394548846; Thu, 15 Jul 2021 17:15:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626394548; cv=none; d=google.com; s=arc-20160816; b=P/D7+N873g7HF9AK+VicR7+z9tbi05O54kWY1NcbHJP+B3RZ4J7ssIJKVDFfkgNle+ S2aj99CzqxYxTTD3ZcxuSuH/KtcdbtziAifYxf3Hs7JR4P3BRpCT53UipDbu8zKquOGs TevDdCKSNFGvN29g67dbvZk0H9DFVbaXRqn0pysVcIOsaCFsHROmKUMa+FviFxBQFoNw lnklUc4HTcnA5VJSJho66FRi6cfa0Hl5ww6K/bHumUgg8NX+JqiWePrvztSJD3oaMpuH TnkdQfeKX7saJE0GpYyNwB6aT6O0/24qNYM98+OMyKdHfamriafw9FNcTwDIYFVajhdU rXVA== 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=0e+Pa0OyImMjzCDiyc/6gdDWXSNMLGetChoTpyH/X/I=; b=Hf2QyzsHUXAX9S6J/VBYwg/TS63V/7n9EhI+daM4nSa2xo6WBBfu8aVc0GZRBKmPD+ G130Z0fcf0j8zwvndaDu4MKgMHQegNE2F4qFzcYOjdyzvrc6taXetBT93MWDDRzihwgW fpWgTzNiYQPqskjVbPzkywRT1BibdDgFop1f4XKk+jlcentIhh8CWeFDU2qUeIIIVnB5 2KmeicuMd94Vms7kbeKu9vaRWM7GOxePHNL7l0mcO13IcVUOH2fnSykfRemarqZDIzGu tagWgFRIEf2VOkVUajdob8QhH4adSNekAy15xliINh5/BxivnyPAn2SXP6/8rWlIuEJN Wmrg== 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 g23si8625835ejw.663.2021.07.15.17.15.23; Thu, 15 Jul 2021 17:15:48 -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 S229603AbhGPARD (ORCPT + 99 others); Thu, 15 Jul 2021 20:17:03 -0400 Received: from mail-io1-f72.google.com ([209.85.166.72]:35476 "EHLO mail-io1-f72.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229703AbhGPARC (ORCPT ); Thu, 15 Jul 2021 20:17:02 -0400 Received: by mail-io1-f72.google.com with SMTP id n13-20020a5ed90d0000b02904f43c8bffc4so4811204iop.2 for ; Thu, 15 Jul 2021 17:14:07 -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=0e+Pa0OyImMjzCDiyc/6gdDWXSNMLGetChoTpyH/X/I=; b=ceqfkBEdgcQz9UMMOoTA1dHec7WkeUgJwCnfM7qgRQngxemgnEr8synatvzxfNKC+l 7oWwGhszevD7EhViW7/E4qLyo2LTNPfO5Yzk0uGQhbEmTnPznNaN4NKYLV4sVLUZAyhC w7ilfvatY24FjZuFDPSqDyZhT30cOPrVob6DA0KKHdVLBmS6uVynn7LrOcIvBo7poSWU Jx4LC87IVcu0KpgMq7svsUU5iHvc47Ne0B/U8NL4LNE5X27YvrX7g1bZ1O5Jgbf/anJ/ xrusW7vl54opR7CdLNSA0EPodhRTaIMgdlIFRhQH5JP5TYOHYt8f6A5P0Ldp5VayKhCR 8oJw== X-Gm-Message-State: AOAM533kjhc9PW+A4sgMenRZQIOH9MqAAksmshoB9tGC4+nxG02DTtLp 7red6GWbRzebcpWhS24wXHKEFpLOqQ2zp9ItcD1xqYKuyuS8 MIME-Version: 1.0 X-Received: by 2002:a05:6e02:d41:: with SMTP id h1mr4255760ilj.191.1626394447135; Thu, 15 Jul 2021 17:14:07 -0700 (PDT) Date: Thu, 15 Jul 2021 17:14:07 -0700 In-Reply-To: <532f6c4a-1066-a31a-bd14-3f5068365f50@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000494b5f05c73277cd@google.com> Subject: Re: [syzbot] INFO: task hung in io_sq_thread_park (2) From: syzbot To: asml.silence@gmail.com, axboe@kernel.dk, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, mingo@kernel.org, mingo@redhat.com, peterz@infradead.org, rostedt@goodmis.org, syzkaller-bugs@googlegroups.com, will@kernel.org 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_uring_cancel_generic ------------[ cut here ]------------ WARNING: CPU: 1 PID: 25279 at fs/io_uring.c:9122 io_dump fs/io_uring.c:9117 [inline] WARNING: CPU: 1 PID: 25279 at fs/io_uring.c:9122 io_uring_cancel_generic+0x5fb/0xe50 fs/io_uring.c:9195 Modules linked in: CPU: 1 PID: 25279 Comm: iou-sqp-25271 Tainted: G W 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:io_dump fs/io_uring.c:9122 [inline] RIP: 0010:io_uring_cancel_generic+0x5fb/0xe50 fs/io_uring.c:9195 Code: 08 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 9e 06 00 00 48 8b 85 10 08 00 00 48 89 44 24 40 <0f> 0b 48 8b 44 24 10 48 05 98 00 00 00 48 89 c2 48 89 44 24 08 48 RSP: 0018:ffffc9000ab87c50 EFLAGS: 00010246 RAX: ffff88803ddb7800 RBX: ffff888049f73880 RCX: 0000000000000000 RDX: 1ffff110093ee812 RSI: ffffffff81e2ebed RDI: ffff888049f74090 RBP: ffff888049f73880 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81e2ebc5 R11: 0000000000000001 R12: ffffc9000ab87d40 R13: ffff88803ddb7858 R14: 0000000000000001 R15: 0000000000000000 FS: 00007fb893f40700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f68dd0c6080 CR3: 000000002b457000 CR4: 0000000000350ef0 Call Trace: io_sq_thread+0xaac/0x1250 fs/io_uring.c:6930 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 25279 Comm: iou-sqp-25271 Tainted: G W 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 panic+0x306/0x73d kernel/panic.c:232 __warn.cold+0x35/0x44 kernel/panic.c:606 report_bug+0x1bd/0x210 lib/bug.c:199 handle_bug+0x3c/0x60 arch/x86/kernel/traps.c:239 exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:259 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:566 RIP: 0010:io_dump fs/io_uring.c:9122 [inline] RIP: 0010:io_uring_cancel_generic+0x5fb/0xe50 fs/io_uring.c:9195 Code: 08 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 9e 06 00 00 48 8b 85 10 08 00 00 48 89 44 24 40 <0f> 0b 48 8b 44 24 10 48 05 98 00 00 00 48 89 c2 48 89 44 24 08 48 RSP: 0018:ffffc9000ab87c50 EFLAGS: 00010246 RAX: ffff88803ddb7800 RBX: ffff888049f73880 RCX: 0000000000000000 RDX: 1ffff110093ee812 RSI: ffffffff81e2ebed RDI: ffff888049f74090 RBP: ffff888049f73880 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81e2ebc5 R11: 0000000000000001 R12: ffffc9000ab87d40 R13: ffff88803ddb7858 R14: 0000000000000001 R15: 0000000000000000 io_sq_thread+0xaac/0x1250 fs/io_uring.c:6930 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Kernel Offset: disabled Rebooting in 86400 seconds.. Tested on: commit: d55b8f3c io_uring: add syz debug info git tree: https://github.com/isilence/linux.git syztest_sqpoll_hang console output: https://syzkaller.appspot.com/x/log.txt?x=16f6cb80300000 kernel config: https://syzkaller.appspot.com/x/.config?x=cfe2c0e42bc9993d dashboard link: https://syzkaller.appspot.com/bug?extid=ac957324022b7132accf compiler: