syzbot


WARNING in io_wq_destroy

Status: closed as dup on 2021/03/22 17:52
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+831debb250650baf4827@syzkaller.appspotmail.com
First crash: 1374d, last: 1370d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING in io_wq_put fs io-uring C unreliable 3 1376d 1387d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in io_wq_destroy 2 (4) 2021/03/23 13:59

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 21655 at fs/io-wq.c:1068 io_wq_destroy+0x1dd/0x240 fs/io-wq.c:1068
Modules linked in:
CPU: 0 PID: 21655 Comm: syz-executor.1 Not tainted 5.12.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:io_wq_destroy+0x1dd/0x240 fs/io-wq.c:1068
Code: 48 c1 ea 03 80 3c 02 00 75 6e 49 8b 3c 24 e8 0a b3 d8 ff 4c 89 e7 5b 5d 41 5c 41 5d 41 5e 41 5f e9 f8 b2 d8 ff e8 03 9a 95 ff <0f> 0b e9 02 ff ff ff e8 f7 99 95 ff 48 89 ef e8 df b2 d8 ff eb ae
RSP: 0018:ffffc90016507950 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888062949c40 RSI: ffffffff81de576d RDI: ffff888018887040
RBP: ffff888018887000 R08: 000000000000003f R09: ffff88801930140f
R10: ffffffff81de5600 R11: 0000000000000000 R12: ffff888019301400
R13: dffffc0000000000 R14: ffffed1003260280 R15: 0000000000000040
FS:  00007f4fc4760700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000100bba0 CR3: 0000000013bb2000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 io_wq_put fs/io-wq.c:1079 [inline]
 io_wq_put_and_exit+0x8d/0xc0 fs/io-wq.c:1086
 io_uring_clean_tctx+0xed/0x160 fs/io_uring.c:8890
 __io_uring_files_cancel+0x503/0x5f0 fs/io_uring.c:8955
 io_uring_files_cancel include/linux/io_uring.h:22 [inline]
 do_exit+0x299/0x2a60 kernel/exit.c:780
 do_group_exit+0x125/0x310 kernel/exit.c:922
 get_signal+0x42c/0x2100 kernel/signal.c:2777
 arch_do_signal_or_restart+0x2a8/0x1eb0 arch/x86/kernel/signal.c:789
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x148/0x250 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x466459
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4fc4760188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: 0000000000000100 RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000000 RSI: 000000000000450c RDI: 0000000000000005
RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 0000000000a9fb1f R14: 00007f4fc4760300 R15: 0000000000022000

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/26 16:29 upstream db24726bfefa a8529b82 .config console log report info ci-upstream-kasan-gce WARNING in io_wq_destroy
2021/03/22 14:52 upstream 0d02ec6b3136 bea32f74 .config console log report info ci-upstream-kasan-gce WARNING in io_wq_destroy
2021/03/22 20:40 upstream 84196390620a 8092f30d .config console log report info ci-upstream-kasan-gce-386 WARNING in io_wq_destroy
2021/03/22 20:27 upstream 84196390620a 8092f30d .config console log report info ci-upstream-kasan-gce-386 WARNING in io_wq_destroy
* Struck through repros no longer work on HEAD.