syzbot


WARNING in io_req_task_complete

Status: upstream: reported on 2025/03/31 21:25
Subsystems: io-uring
[Documentation on labels]
Reported-by: syzbot+7039663f7490865be042@syzkaller.appspotmail.com
First crash: 97d, last: 7d16h
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly io-uring report (Jul 2025) 0 (1) 2025/07/03 08:17
[syzbot] [io-uring?] WARNING in io_req_task_complete 0 (1) 2025/03/31 21:25

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 3 PID: 12206 at io_uring/io_uring.h:407 io_req_complete_defer io_uring/io_uring.h:407 [inline]
WARNING: CPU: 3 PID: 12206 at io_uring/io_uring.h:407 io_req_task_complete+0x164/0x200 io_uring/io_uring.c:1609
Modules linked in:
CPU: 3 UID: 0 PID: 12206 Comm: syz.6.1960 Not tainted 6.16.0-rc3-syzkaller-00329-gdfba48a70cb6 #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:io_req_complete_defer io_uring/io_uring.h:407 [inline]
RIP: 0010:io_req_task_complete+0x164/0x200 io_uring/io_uring.c:1609
Code: bd a8 00 00 00 be ff ff ff ff e8 d7 5a b0 06 31 ff 41 89 c4 89 c6 e8 4b a6 eb fc 45 85 e4 0f 85 1d ff ff ff e8 fd aa eb fc 90 <0f> 0b 90 e9 0f ff ff ff e8 ef aa eb fc 48 8d bd 70 01 00 00 48 b8
RSP: 0018:ffffc90003b97a90 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88803efb4500 RCX: ffffffff84d07565
RDX: ffff88802bf78000 RSI: ffffffff84d07573 RDI: 0000000000000005
RBP: ffff88804e1d6000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88803efb4528 R14: 0000000000000004 R15: fffffbfff21507e8
FS:  00007f3bebd9b6c0(0000) GS:ffff8880d6a52000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fea2af96d58 CR3: 000000006304c000 CR4: 0000000000352ef0
DR0: 0000000000000040 DR1: 0000000000000004 DR2: 0000000000000003
DR3: 00000000000010e3 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 io_notif_tw_complete+0x15b/0x350 io_uring/notif.c:32
 io_handle_tw_list+0x486/0x500 io_uring/io_uring.c:1067
 tctx_task_work_run+0xac/0x380 io_uring/io_uring.c:1132
 tctx_task_work+0x7a/0xd0 io_uring/io_uring.c:1150
 task_work_run+0x150/0x240 kernel/task_work.c:227
 get_signal+0x1d1/0x26d0 kernel/signal.c:2807
 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop+0x84/0x110 kernel/entry/common.c:111
 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline]
 syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline]
 do_syscall_64+0x3f6/0x4c0 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3beaf8e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3bebd9b0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f3beb1b5fa8 RCX: 00007f3beaf8e929
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f3beb1b5fa8
RBP: 00007f3beb1b5fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3beb1b5fac
R13: 0000000000000000 R14: 00007ffd07605880 R15: 00007ffd07605968
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/29 16:02 upstream dfba48a70cb6 fc9d8ee5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in io_req_task_complete
2025/03/31 20:20 upstream 609706855d90 36d76a97 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in io_req_task_complete
* Struck through repros no longer work on HEAD.