syzbot


WARNING in io_cqring_event_overflow (2)

Status: fixed on 2024/08/14 03:44
Subsystems: io-uring
[Documentation on labels]
Reported-by: syzbot+f7f9c893345c5c615d34@syzkaller.appspotmail.com
Fix commit: 3b7c16be30e3 io_uring/msg_ring: fix overflow posting
First crash: 165d, last: 162d
Discussions (3)
Title Replies (including bot) Last reply
[PATCH] io_uring: Fix WARNING in io_cqring_event_overflow 2 (2) 2024/07/03 12:07
[PATCH 1/1] io_uring/msg_ring: fix overflow posting 3 (3) 2024/07/02 14:48
[syzbot] [io-uring?] WARNING in io_cqring_event_overflow (2) 1 (2) 2024/07/01 23:37
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in io_cqring_event_overflow io-uring C 7 690d 698d 22/28 fixed on 2023/06/08 14:41

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5145 at io_uring/io_uring.c:703 io_cqring_event_overflow+0x442/0x660 io_uring/io_uring.c:703
Modules linked in:
CPU: 0 UID: 0 PID: 5145 Comm: kworker/0:4 Not tainted 6.10.0-rc6-next-20240701-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: events io_fallback_req_func
RIP: 0010:io_cqring_event_overflow+0x442/0x660 io_uring/io_uring.c:703
Code: 0f 95 c0 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 ed ae ed fc 90 0f 0b 90 e9 c5 fc ff ff e8 df ae ed fc 90 <0f> 0b 90 e9 6e fc ff ff e8 d1 ae ed fc c6 05 f6 ea f3 0a 01 90 48
RSP: 0018:ffffc900040d7a08 EFLAGS: 00010293
RAX: ffffffff84a5cf11 RBX: 0000000000000000 RCX: ffff8880299bbc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff84a5cb74 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffffff84a9f5d0 R12: ffff888021d0a000
R13: 0000000000000000 R14: ffff888021d0a000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4e669ff800 CR3: 000000002a360000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __io_post_aux_cqe io_uring/io_uring.c:816 [inline]
 io_add_aux_cqe+0x27c/0x320 io_uring/io_uring.c:837
 io_msg_tw_complete+0x9d/0x4d0 io_uring/msg_ring.c:78
 io_fallback_req_func+0xce/0x1c0 io_uring/io_uring.c:256
 process_one_work kernel/workqueue.c:3224 [inline]
 process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305
 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/01 14:46 linux-next 74564adfd352 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/07/01 14:36 linux-next 74564adfd352 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/07/01 14:06 linux-next 74564adfd352 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/07/01 11:50 linux-next 74564adfd352 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/06/28 23:49 linux-next 642a16ca7994 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/06/28 22:53 linux-next 642a16ca7994 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/06/28 22:53 linux-next 642a16ca7994 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/06/28 20:18 linux-next 642a16ca7994 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/06/27 20:40 linux-next 642a16ca7994 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/06/27 20:40 linux-next 642a16ca7994 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/06/27 20:40 linux-next 642a16ca7994 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/06/27 20:40 linux-next 642a16ca7994 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/06/27 20:40 linux-next 642a16ca7994 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/06/27 20:39 linux-next 642a16ca7994 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/06/27 20:39 linux-next 642a16ca7994 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
2024/06/27 20:39 linux-next 642a16ca7994 b62c7d46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in io_cqring_event_overflow
* Struck through repros no longer work on HEAD.