Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5117738rwj; Tue, 20 Dec 2022 21:02:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXufJVS04Xpou9DFfFyRVAC3W35PLJkTz3K0b+Rq2HBkLbkeg98oUuZNalK+Qx4pV8hDe59j X-Received: by 2002:a17:906:688f:b0:7ae:31a0:571c with SMTP id n15-20020a170906688f00b007ae31a0571cmr148396ejr.57.1671598924743; Tue, 20 Dec 2022 21:02:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671598924; cv=none; d=google.com; s=arc-20160816; b=vPaqY6tfMj8joYrbjUY8Bf24nTXynZ3MoorHyKttMklzwROkEKknwk0DovCKxvTz7a wycO52Mv3+IaUjU8x2t65KzvBhEiRuvtWWl5qfPtIeWdWChovAIFySUr9DC4mmy8PyDm MUSBC2yBQmDWiH8xiQrWyceSBgM9u9bKmTCF20je3kjMvNgkG8fqDSbGQq3oB3c+aroC ooSzzc6KSz5UXEjV7zv9OgBLhloHIFwYxmSdEOvtLJZVhTxDvqYtmSwRJPv72sxPpAQI RiK7iQYo0+PSXn92VNIs40RpIQwRMdBIsfPWq4BRTEFUlrhrr2i+dZTRw4i9GNBS92+s AOrA== 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:date:mime-version; bh=c6Vv3GZn7ROVR+Uvu0zXaLGzZPu9ziyHOne2RRkvk8w=; b=e5ZLwLWntV5fXnrpBi4c4pZKjvh4TWFcZqbITI0XnNIt1+AQs8c/vbJo/j7hBMxBUo Inz9v6vKvBG8ryJyGRneZLhBUjN76bNqFUqV+S4pJ1EFEmGDTHCVvF/826Xpz8n4ndJu +FwGz3rGVQI2raAI/lsh6mIKJp0phMcEGghTZirQN4++hNI4wgzu1i+H9WPN+U9l6H9z g79oVuvx6bFiiezm9bzGPT3tOX53WKBCqpiZUU6VoQZmzVsuDUhdKZjkSG94F79Np+Kc S97gv/fbQj/xKj2mbI/u3WIb9xzSKKkoM+THEIxsWM52wVxupCmUT1PcNDJkhqInT2+I 0dwA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d14-20020aa7c1ce000000b0046a7ad0bb17si2683222edp.586.2022.12.20.21.01.48; Tue, 20 Dec 2022 21:02:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234368AbiLUEYx (ORCPT + 69 others); Tue, 20 Dec 2022 23:24:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbiLUEYt (ORCPT ); Tue, 20 Dec 2022 23:24:49 -0500 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9515015731 for ; Tue, 20 Dec 2022 20:24:48 -0800 (PST) Received: by mail-il1-f199.google.com with SMTP id k6-20020a92c246000000b003035797fa8cso9380501ilo.8 for ; Tue, 20 Dec 2022 20:24:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=c6Vv3GZn7ROVR+Uvu0zXaLGzZPu9ziyHOne2RRkvk8w=; b=H340zVZSLfS9grlqyOxI5i8KRO7BRsC1APF1KtsJad9chCU6GNO4nN29PKKklbL61f l+TIp9ms4jPJ2QnRquAtnlKZdlh9raaQjdULZVXhOWqBwG+v6bTsnUWqRrvtnjnXgfzF /Bv97tj0b5kxmIikrL0miVhP4LQhtGJcdGh8goiR1T7FSRSYeXKOuERlrKrMiCbjzUJ7 QZYCDmIwcTiMJ1LHN4fvZnp/Ewg29U3wv1BY4z/hewshRWhzFf9ZdCYRGOE3pVzGU/Rr A1nzyzphPzhRVgGbjlJVPLRbtmgkm34uNpycB1cPDF4QeAf0zltHVdvPUvKEpm9FPnSm hkKA== X-Gm-Message-State: AFqh2krGjkcjvRHH8NszTrtiMe+tiGAEHpdBAjMe9qqONAYBu+e72MLg LUrcJAZxGZWkES29/6vYHzKunkU0NZNv64Ee5vuXj7HEkVQX MIME-Version: 1.0 X-Received: by 2002:a05:6638:60a:b0:363:ae32:346f with SMTP id g10-20020a056638060a00b00363ae32346fmr15266jar.31.1671596687953; Tue, 20 Dec 2022 20:24:47 -0800 (PST) Date: Tue, 20 Dec 2022 20:24:47 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000cb143a05f04eee15@google.com> Subject: [syzbot] WARNING in io_cqring_overflow_flush From: syzbot To: asml.silence@gmail.com, axboe@kernel.dk, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 77856d911a8c Merge tag 'arm64-fixes' of git://git.kernel.o.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=13e722d7880000 kernel config: https://syzkaller.appspot.com/x/.config?x=334a10f27a9ee2e0 dashboard link: https://syzkaller.appspot.com/bug?extid=cf6ea1d6bb30a4ce10b2 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=112eeb13880000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16b78bdb880000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/84863f051feb/disk-77856d91.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/87614e2a8a26/vmlinux-77856d91.xz kernel image: https://storage.googleapis.com/syzbot-assets/cb76bad63a90/bzImage-77856d91.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+cf6ea1d6bb30a4ce10b2@syzkaller.appspotmail.com ------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait_exclusive+0x7e/0x2c0 kernel/sched/wait.c:290 WARNING: CPU: 1 PID: 5084 at kernel/sched/core.c:9908 __might_sleep+0x109/0x160 kernel/sched/core.c:9908 Modules linked in: CPU: 1 PID: 5084 Comm: syz-executor102 Not tainted 6.1.0-syzkaller-13031-g77856d911a8c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__might_sleep+0x109/0x160 kernel/sched/core.c:9908 Code: ac 03 00 48 8d bb b8 16 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 75 34 48 8b 93 b8 16 00 00 48 c7 c7 80 d6 2b 8a e8 74 f6 5b 08 <0f> 0b e9 75 ff ff ff e8 7b 78 78 00 e9 26 ff ff ff 89 34 24 e8 8e RSP: 0018:ffffc90003ccfbb8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88802aa48000 RCX: 0000000000000000 RDX: ffff88802aa48000 RSI: ffffffff8166707c RDI: fffff52000799f69 RBP: ffffffff8a2c3500 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000244 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000001000 FS: 00007fbcc68c0700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbcc6964018 CR3: 0000000028bc2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mutex_lock_common kernel/locking/mutex.c:580 [inline] __mutex_lock+0x9f/0x1360 kernel/locking/mutex.c:747 io_cqring_overflow_flush io_uring/io_uring.c:674 [inline] io_cqring_overflow_flush+0xe6/0x130 io_uring/io_uring.c:669 io_cqring_wait io_uring/io_uring.c:2534 [inline] __do_sys_io_uring_enter+0x1590/0x21b0 io_uring/io_uring.c:3358 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fbcc6912ec9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 14 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbcc68c02f8 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007fbcc69974a8 RCX: 00007fbcc6912ec9 RDX: 000000000000fc0f RSI: 0000000000001000 RDI: 0000000000000003 RBP: 00007fbcc69974a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 00007fbcc69974ac R13: 0000000000000003 R14: 00007fbcc68c0400 R15: 0000000000022000 --- 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. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches