Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp65064rwb; Thu, 12 Jan 2023 03:38:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXu9+noImr40qOChuWegp8ZRHFxdT1zCvFF0AUkhMFc1MtZeRhLe37ENjnfKOYcE4l5jobh6 X-Received: by 2002:a05:6402:360b:b0:491:ad51:33f7 with SMTP id el11-20020a056402360b00b00491ad5133f7mr27049366edb.22.1673523482496; Thu, 12 Jan 2023 03:38:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673523482; cv=none; d=google.com; s=arc-20160816; b=tMVIeW6v+zCjuiwy8SVFnTPrlqjm/FcVs+juOBqhO8Nh2cTBPSNlGw9LVcRiQRxAJv kYwQHp8/pZIs3c6jm7/uUM05bbVICOTRq2uXq7MaYbe4CTCqpnkAUzYxavaTvSP61VQE XZCNE4Dkmhg5udao8eucVnlZabciPDONI3DgBuaxve0XSlhEFfRW8BFaXLc4xUnQJVbU WwsVrTl8JTvPnk0aDeR+9Yqucwb9dhumm4DR7tNoqojqJ4Txth2i97yCHr9wNSOyQVBi OF3smpcLeQb6jIc1BAUcpnz4wXfO9gsVuTFj0cLoh0XbP/Hui2rHMbHxBpoBUJmUV80h /j3w== 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=c70SQndbZorZngnihNfYASa4lUls1tbZ8cLdA7wRKDY=; b=vzpmoYLGy7ZnXjm2gD7OyAdnnPDcuJO1SRqL8aiYqa2CBncLhYTWPsPq0waBhMyiOQ RNNq5AgCL9g5NMDH9iRkDRfHkkvYyatOTjHrYyBrlxUC6GrM3N8uqIMX4/xrrq8n9AEF Hz+rdCafZNyrdAXMrIVx7/xIzvws6BMRkKeTRFRe9Zw9mexl/6Ktgs+zRn73gG00G+/H FXEx36BloR28+8GCi85jZVzUKZncQOkvy1tOqBO5+JhdO6oNIxkKQry3IfdYmaKlJ3Dw fKLZOijW13P6HHLCs091PEOczTAqizw/DgGPUds4FRhpG/BpHXiJWiLsf6/w3HZjNqHN o5CA== 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 b5-20020a056402084500b0048bfc2985basi20667555edz.304.2023.01.12.03.37.49; Thu, 12 Jan 2023 03:38:02 -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 S231580AbjALLF0 (ORCPT + 49 others); Thu, 12 Jan 2023 06:05:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231688AbjALLFE (ORCPT ); Thu, 12 Jan 2023 06:05:04 -0500 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDEBC3A4 for ; Thu, 12 Jan 2023 02:56:18 -0800 (PST) Received: by mail-il1-f200.google.com with SMTP id l13-20020a056e021c0d00b003034e24b866so13311289ilh.22 for ; Thu, 12 Jan 2023 02:56:18 -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:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c70SQndbZorZngnihNfYASa4lUls1tbZ8cLdA7wRKDY=; b=G8ruanrGN7Q+FBZtD88iy85DqRoEZAphyS346woVdxH/ROgQ75IiVKOVKGb+iUNwsq ZD9P3+XJE7Ey/B9tmf31O6DUN/TWKQLeSVdUYavVFn0AKmEdVEiyPL/GSNmFSy5yGnZl 7iMZZvReFowGrb6YeJ7h2s8L0Qb0q2F5+DBR3d9MhbpJ0ZVJuhHkum+ikuOOSH3TK12X YhuKJp6GKCHcF6CPuLcr3DeRNUrwOTAd9Hw9xfkhADWRfqKP0Xptwrp/jesXCs0JzwuJ lc5MTXN1Lj3gfD4Hjezvaqeo01ZQv4QYLf6XAWJODyGDV/RKlz/WGtBtHs1VpQaDokga yQSg== X-Gm-Message-State: AFqh2kqojXruFlJnhXG1QOmF485v5Sy9aVf/gEEe/BF9t3BuUiE5LHdA SmfZ3/eDkS/esnHhh/e0KMMqXpjXs7sZdDRTPhgVuGSw1KlD MIME-Version: 1.0 X-Received: by 2002:a92:d64d:0:b0:30e:d14d:9204 with SMTP id x13-20020a92d64d000000b0030ed14d9204mr123257ilp.128.1673520977888; Thu, 12 Jan 2023 02:56:17 -0800 (PST) Date: Thu, 12 Jan 2023 02:56:17 -0800 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000694ccd05f20ef7be@google.com> Subject: Re: [syzbot] WARNING in io_cqring_event_overflow 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 has tested the proposed patch but the reproducer is still triggering an issue: WARNING in io_cqring_event_overflow ------------[ cut here ]------------ WARNING: CPU: 1 PID: 2836 at io_uring/io_uring.c:734 io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 Modules linked in: CPU: 1 PID: 2836 Comm: kworker/u4:4 Not tainted 6.2.0-rc3-syzkaller-00011-g0af4af977a59 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound io_ring_exit_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 lr : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 sp : ffff8000164abad0 x29: ffff8000164abad0 x28: ffff0000c655e578 x27: ffff80000d49b000 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000d1727000 x18: 00000000000000c0 x17: ffff80000df48158 x16: ffff80000dd86118 x15: ffff0000c60dce00 x14: 0000000000000110 x13: 00000000ffffffff x12: ffff0000c60dce00 x11: ff808000095945e8 x10: 0000000000000000 x9 : ffff8000095945e8 x8 : ffff0000c60dce00 x7 : ffff80000c1090e0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 io_req_cqe_overflow+0x5c/0x70 io_uring/io_uring.c:773 io_fill_cqe_req io_uring/io_uring.h:168 [inline] io_do_iopoll+0x474/0x62c io_uring/rw.c:1065 io_iopoll_try_reap_events+0x6c/0x108 io_uring/io_uring.c:1513 io_uring_try_cancel_requests+0x13c/0x258 io_uring/io_uring.c:3056 io_ring_exit_work+0xec/0x390 io_uring/io_uring.c:2869 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 576210 hardirqs last enabled at (576209): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (576209): [] _raw_spin_unlock_irq+0x3c/0x70 kernel/locking/spinlock.c:202 hardirqs last disabled at (576210): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (576168): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (576168): [] batadv_nc_purge_paths+0x1d0/0x214 net/batman-adv/network-coding.c:471 softirqs last disabled at (576166): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (576166): [] batadv_nc_purge_paths+0x60/0x214 net/batman-adv/network-coding.c:442 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 2836 at io_uring/io_uring.c:734 io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 Modules linked in: CPU: 0 PID: 2836 Comm: kworker/u4:4 Tainted: G W 6.2.0-rc3-syzkaller-00011-g0af4af977a59 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound io_ring_exit_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 lr : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 sp : ffff8000164abad0 x29: ffff8000164abad0 x28: ffff0000c3a36f78 x27: ffff80000d49b000 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000c70e9000 x18: 0000000000000232 x17: ffff80000c15d8bc x16: ffff80000dd86118 x15: ffff0000c60dce00 x14: 0000000000000110 x13: 00000000ffffffff x12: ffff0000c60dce00 x11: ff808000095945e8 x10: 0000000000000000 x9 : ffff8000095945e8 x8 : ffff0000c60dce00 x7 : ffff80000c1090e0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 io_req_cqe_overflow+0x5c/0x70 io_uring/io_uring.c:773 io_fill_cqe_req io_uring/io_uring.h:168 [inline] io_do_iopoll+0x474/0x62c io_uring/rw.c:1065 io_iopoll_try_reap_events+0x6c/0x108 io_uring/io_uring.c:1513 io_uring_try_cancel_requests+0x13c/0x258 io_uring/io_uring.c:3056 io_ring_exit_work+0xec/0x390 io_uring/io_uring.c:2869 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 587416 hardirqs last enabled at (587415): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (587415): [] _raw_spin_unlock_irq+0x3c/0x70 kernel/locking/spinlock.c:202 hardirqs last disabled at (587416): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (587360): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (587360): [] batadv_nc_purge_paths+0x1d0/0x214 net/batman-adv/network-coding.c:471 softirqs last disabled at (587358): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (587358): [] batadv_nc_purge_paths+0x60/0x214 net/batman-adv/network-coding.c:442 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 2836 at io_uring/io_uring.c:734 io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 Modules linked in: CPU: 0 PID: 2836 Comm: kworker/u4:4 Tainted: G W 6.2.0-rc3-syzkaller-00011-g0af4af977a59 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound io_ring_exit_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 lr : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 sp : ffff8000164abad0 x29: ffff8000164abad0 x28: ffff0000cc27dc78 x27: ffff80000d49b000 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000c60f2000 x18: 0000000000000364 x17: ffff80000c15d8bc x16: ffff80000dd86118 x15: ffff0000c60dce00 x14: 0000000000000110 x13: 00000000ffffffff x12: ffff0000c60dce00 x11: ff808000095945e8 x10: 0000000000000000 x9 : ffff8000095945e8 x8 : ffff0000c60dce00 x7 : ffff80000c1090e0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 io_req_cqe_overflow+0x5c/0x70 io_uring/io_uring.c:773 io_fill_cqe_req io_uring/io_uring.h:168 [inline] io_do_iopoll+0x474/0x62c io_uring/rw.c:1065 io_iopoll_try_reap_events+0x6c/0x108 io_uring/io_uring.c:1513 io_uring_try_cancel_requests+0x13c/0x258 io_uring/io_uring.c:3056 io_ring_exit_work+0xec/0x390 io_uring/io_uring.c:2869 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 588956 hardirqs last enabled at (588955): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (588955): [] _raw_spin_unlock_irq+0x3c/0x70 kernel/locking/spinlock.c:202 hardirqs last disabled at (588956): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (587754): [] sock_orphan include/net/sock.h:2098 [inline] softirqs last enabled at (587754): [] unix_release_sock+0x15c/0x544 net/unix/af_unix.c:604 softirqs last disabled at (587752): [] sock_orphan include/net/sock.h:2094 [inline] softirqs last disabled at (587752): [] unix_release_sock+0x140/0x544 net/unix/af_unix.c:604 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 2836 at io_uring/io_uring.c:734 io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 Modules linked in: CPU: 1 PID: 2836 Comm: kworker/u4:4 Tainted: G W 6.2.0-rc3-syzkaller-00011-g0af4af977a59 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound io_ring_exit_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 lr : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 sp : ffff8000164abad0 x29: ffff8000164abad0 x28: ffff0000cc1fb478 x27: ffff80000d49b000 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000c7bf0000 x18: 0000000000000191 x17: ffff80000c15d8bc x16: ffff80000dd86118 x15: ffff0000c60dce00 x14: 0000000000000110 x13: 00000000ffffffff x12: ffff0000c60dce00 x11: ff808000095945e8 x10: 0000000000000000 x9 : ffff8000095945e8 x8 : ffff0000c60dce00 x7 : ffff80000c1090e0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 io_req_cqe_overflow+0x5c/0x70 io_uring/io_uring.c:773 io_fill_cqe_req io_uring/io_uring.h:168 [inline] io_do_iopoll+0x474/0x62c io_uring/rw.c:1065 io_iopoll_try_reap_events+0x6c/0x108 io_uring/io_uring.c:1513 io_uring_try_cancel_requests+0x13c/0x258 io_uring/io_uring.c:3056 io_ring_exit_work+0xec/0x390 io_uring/io_uring.c:2869 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 598112 hardirqs last enabled at (598111): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (598111): [] _raw_spin_unlock_irq+0x3c/0x70 kernel/locking/spinlock.c:202 hardirqs last disabled at (598112): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (597426): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (597426): [] batadv_nc_purge_paths+0x1d0/0x214 net/batman-adv/network-coding.c:471 softirqs last disabled at (597424): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (597424): [] batadv_nc_purge_paths+0x60/0x214 net/batman-adv/network-coding.c:442 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 2836 at io_uring/io_uring.c:734 io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 Modules linked in: CPU: 0 PID: 2836 Comm: kworker/u4:4 Tainted: G W 6.2.0-rc3-syzkaller-00011-g0af4af977a59 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound io_ring_exit_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 lr : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 sp : ffff8000164abad0 x29: ffff8000164abad0 x28: ffff0000c39dbe78 x27: ffff80000d49b000 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000c82e1000 x18: 000000000000032e x17: ffff80000c15d8bc x16: ffff80000dd86118 x15: ffff0000c60dce00 x14: 0000000000000110 x13: 00000000ffffffff x12: ffff0000c60dce00 x11: ff808000095945e8 x10: 0000000000000000 x9 : ffff8000095945e8 x8 : ffff0000c60dce00 x7 : ffff80000c1090e0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 io_req_cqe_overflow+0x5c/0x70 io_uring/io_uring.c:773 io_fill_cqe_req io_uring/io_uring.h:168 [inline] io_do_iopoll+0x474/0x62c io_uring/rw.c:1065 io_iopoll_try_reap_events+0x6c/0x108 io_uring/io_uring.c:1513 io_uring_try_cancel_requests+0x13c/0x258 io_uring/io_uring.c:3056 io_ring_exit_work+0xec/0x390 io_uring/io_uring.c:2869 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 600672 hardirqs last enabled at (600671): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (600671): [] _raw_spin_unlock_irq+0x3c/0x70 kernel/locking/spinlock.c:202 hardirqs last disabled at (600672): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (600626): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (600626): [] batadv_nc_purge_paths+0x1d0/0x214 net/batman-adv/network-coding.c:471 softirqs last disabled at (600624): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (600624): [] batadv_nc_purge_paths+0x60/0x214 net/batman-adv/network-coding.c:442 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 2836 at io_uring/io_uring.c:734 io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 Modules linked in: CPU: 0 PID: 2836 Comm: kworker/u4:4 Tainted: G W 6.2.0-rc3-syzkaller-00011-g0af4af977a59 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound io_ring_exit_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 lr : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 sp : ffff8000164abad0 x29: ffff8000164abad0 x28: ffff0000cc27d878 x27: ffff80000d49b000 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000d1727000 x18: 0000000000000315 x17: ffff80000c15d8bc x16: ffff80000dd86118 x15: ffff0000c60dce00 x14: 0000000000000110 x13: 00000000ffffffff x12: ffff0000c60dce00 x11: ff808000095945e8 x10: 0000000000000000 x9 : ffff8000095945e8 x8 : ffff0000c60dce00 x7 : ffff80000c1090e0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 io_req_cqe_overflow+0x5c/0x70 io_uring/io_uring.c:773 io_fill_cqe_req io_uring/io_uring.h:168 [inline] io_do_iopoll+0x474/0x62c io_uring/rw.c:1065 io_iopoll_try_reap_events+0x6c/0x108 io_uring/io_uring.c:1513 io_uring_try_cancel_requests+0x13c/0x258 io_uring/io_uring.c:3056 io_ring_exit_work+0xec/0x390 io_uring/io_uring.c:2869 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 603390 hardirqs last enabled at (603389): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (603389): [] _raw_spin_unlock_irq+0x3c/0x70 kernel/locking/spinlock.c:202 hardirqs last disabled at (603390): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (603380): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (603380): [] batadv_nc_purge_paths+0x1d0/0x214 net/batman-adv/network-coding.c:471 softirqs last disabled at (603378): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (603378): [] batadv_nc_purge_paths+0x60/0x214 net/batman-adv/network-coding.c:442 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 2836 at io_uring/io_uring.c:734 io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 Modules linked in: CPU: 1 PID: 2836 Comm: kworker/u4:4 Tainted: G W 6.2.0-rc3-syzkaller-00011-g0af4af977a59 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound io_ring_exit_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 lr : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 sp : ffff8000164abad0 x29: ffff8000164abad0 x28: ffff0000c63c7478 x27: ffff80000d49b000 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000c9364000 x18: 0000000000000150 x17: ffff8001f1b6b000 x16: ffff80000dd86118 x15: ffff0000c60dce00 x14: 0000000000000110 x13: 00000000ffffffff x12: ffff0000c60dce00 x11: ff808000095945e8 x10: 0000000000000000 x9 : ffff8000095945e8 x8 : ffff0000c60dce00 x7 : ffff80000c1090e0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 io_req_cqe_overflow+0x5c/0x70 io_uring/io_uring.c:773 io_fill_cqe_req io_uring/io_uring.h:168 [inline] io_do_iopoll+0x474/0x62c io_uring/rw.c:1065 io_iopoll_try_reap_events+0x6c/0x108 io_uring/io_uring.c:1513 io_uring_try_cancel_requests+0x13c/0x258 io_uring/io_uring.c:3056 io_ring_exit_work+0xec/0x390 io_uring/io_uring.c:2869 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 613556 hardirqs last enabled at (613555): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (613555): [] _raw_spin_unlock_irq+0x3c/0x70 kernel/locking/spinlock.c:202 hardirqs last disabled at (613556): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (613530): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (613530): [] ieee80211_ibss_work+0x184/0x9f0 net/mac80211/ibss.c:1701 softirqs last disabled at (613528): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (613528): [] ieee80211_ibss_work+0x68/0x9f0 net/mac80211/ibss.c:1690 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 2836 at io_uring/io_uring.c:734 io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 Modules linked in: CPU: 1 PID: 2836 Comm: kworker/u4:4 Tainted: G W 6.2.0-rc3-syzkaller-00011-g0af4af977a59 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound io_ring_exit_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 lr : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 sp : ffff8000164abad0 x29: ffff8000164abad0 x28: ffff0000cc1fb378 x27: ffff80000d49b000 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000c70e9000 x18: 000000000000028f x17: 0000000000000075 x16: ffff80000dd86118 x15: ffff0000c60dce00 x14: 0000000000000110 x13: 00000000ffffffff x12: ffff0000c60dce00 x11: ff808000095945e8 x10: 0000000000000000 x9 : ffff8000095945e8 x8 : ffff0000c60dce00 x7 : ffff80000c1090e0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 io_req_cqe_overflow+0x5c/0x70 io_uring/io_uring.c:773 io_fill_cqe_req io_uring/io_uring.h:168 [inline] io_do_iopoll+0x474/0x62c io_uring/rw.c:1065 io_iopoll_try_reap_events+0x6c/0x108 io_uring/io_uring.c:1513 io_uring_try_cancel_requests+0x13c/0x258 io_uring/io_uring.c:3056 io_ring_exit_work+0xec/0x390 io_uring/io_uring.c:2869 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 621634 hardirqs last enabled at (621633): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (621633): [] _raw_spin_unlock_irq+0x3c/0x70 kernel/locking/spinlock.c:202 hardirqs last disabled at (621634): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (621566): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (621566): [] batadv_nc_purge_paths+0x1d0/0x214 net/batman-adv/network-coding.c:471 softirqs last disabled at (621564): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (621564): [] batadv_nc_purge_paths+0x60/0x214 net/batman-adv/network-coding.c:442 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 2836 at io_uring/io_uring.c:734 io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 Modules linked in: CPU: 1 PID: 2836 Comm: kworker/u4:4 Tainted: G W 6.2.0-rc3-syzkaller-00011-g0af4af977a59 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound io_ring_exit_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 lr : io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 sp : ffff8000164abad0 x29: ffff8000164abad0 x28: ffff0000c4c59b78 x27: ffff80000d49b000 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000c70eb000 x18: 000000000000036d x17: ffff80000c15d8bc x16: ffff80000dd86118 x15: ffff0000c60dce00 x14: 0000000000000110 x13: 00000000ffffffff x12: ffff0000c60dce00 x11: ff808000095945e8 x10: 0000000000000000 x9 : ffff8000095945e8 x8 : ffff0000c60dce00 x7 : ffff80000c1090e0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: io_cqring_event_overflow+0x1c0/0x230 io_uring/io_uring.c:734 io_req_cqe_overflow+0x5c/0x70 io_uring/io_uring.c:773 io_fill_cqe_req io_uring/io_uring.h:168 [inline] io_do_iopoll+0x474/0x62c io_uring/rw.c:1065 io_iopoll_try_reap_events+0x6c/0x108 io_uring/io_uring.c:1513 io_uring_try_cancel_requests+0x13c/0x258 io_uring/io_uring.c:3056 io_ring_exit_work+0xec/0x390 io_uring/io_uring.c:2869 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 623186 hardirqs last enabled at (623185): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (623185): [] _raw_spin_unlock_irq+0x3c/0x70 kernel/locking/spinlock.c:202 hardirqs last disabled at (623186): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (623164): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (623164): [] ieee80211_ibss_work+0x184/0x9f0 net/mac80211/ibss.c:1701 softirqs last disabled at (623162): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (623162): [] ieee80211_ibss_work+0x68/0x9f0 net/mac80211/ibss.c:1690 ---[ end trace 0000000000000000 ]--- Tested on: commit: 0af4af97 io_uring/poll: add hash if ready poll request.. git tree: git://git.kernel.dk/linux.git syztest console output: https://syzkaller.appspot.com/x/log.txt?x=1415a902480000 kernel config: https://syzkaller.appspot.com/x/.config?x=965a23481ff8fa50 dashboard link: https://syzkaller.appspot.com/bug?extid=6805087452d72929404e compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: arm64 Note: no patches were applied.