syzbot


WARNING in io_sq_thread_park

Status: fixed on 2021/11/10 00:51
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+e3a3f84f5cecf61f0583@syzkaller.appspotmail.com
Fix commit: a185f1db59f1 io_uring: do ctx sqd ejection in a clear context
First crash: 1102d, last: 1102d
Discussions (3)
Title Replies (including bot) Last reply
[PATCH 5.11 000/152] 5.11.12-rc1 review 156 (156) 2021/04/06 00:09
[PATCH 5.12] io_uring: do ctx sqd ejection in a clear context 2 (2) 2021/03/24 12:55
[syzbot] WARNING in io_sq_thread_park 0 (1) 2021/03/23 05:40

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 27907 at fs/io_uring.c:7147 io_sq_thread_park+0xb5/0xd0 fs/io_uring.c:7147
Modules linked in:
CPU: 1 PID: 27907 Comm: iou-sqp-27905 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_sq_thread_park+0xb5/0xd0 fs/io_uring.c:7147
Code: 3c 02 00 75 29 48 8b ab a8 00 00 00 48 85 ed 74 0d e8 df a3 99 ff 48 89 ef e8 f7 49 75 ff 5b 5d e9 d0 a3 99 ff e8 cb a3 99 ff <0f> 0b eb 85 48 89 ef e8 bf 36 dd ff eb cd 48 89 ef e8 b5 36 dd ff
RSP: 0018:ffffc90001bff9e8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88802489a000 RCX: 0000000000000000
RDX: ffff88808e7e0000 RSI: ffffffff81da4a65 RDI: ffff88802489a000
RBP: ffff88802489a0a8 R08: 0000000000000001 R09: ffff88806a7420c7
R10: ffffed100d4e8418 R11: 0000000000000000 R12: ffff88806a742590
R13: ffff88806a742458 R14: 1ffff9200037ff42 R15: ffff88806a7424b8
FS:  00007f63505a8700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000540198 CR3: 0000000024531000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 000000000111062a
Call Trace:
 io_ring_ctx_wait_and_kill+0x214/0x700 fs/io_uring.c:8619
 io_uring_release+0x3e/0x50 fs/io_uring.c:8646
 __fput+0x288/0x920 fs/file_table.c:280
 task_work_run+0xdd/0x1a0 kernel/task_work.c:140
 io_run_task_work fs/io_uring.c:2238 [inline]
 io_run_task_work fs/io_uring.c:2228 [inline]
 io_uring_try_cancel_requests+0x8ec/0xc60 fs/io_uring.c:8770
 io_uring_cancel_sqpoll+0x1cf/0x290 fs/io_uring.c:8974
 io_sqpoll_cancel_cb+0x87/0xb0 fs/io_uring.c:8907
 io_run_task_work_head+0x58/0xb0 fs/io_uring.c:1961
 io_sq_thread+0x3e2/0x18d0 fs/io_uring.c:6763
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/23 03:00 upstream 84196390620a 8092f30d .config console log report info ci-upstream-kasan-gce-root WARNING in io_sq_thread_park
* Struck through repros no longer work on HEAD.