syzbot


INFO: task hung in io_uring_cancel_sqpoll

Status: auto-closed as invalid on 2021/06/12 15:48
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+11bf59db879676f59e52@syzkaller.appspotmail.com
First crash: 1131d, last: 1131d
Discussions (2)
Title Replies (including bot) Last reply
Re: INFO: task hung in io_uring_cancel_sqpoll 3 (3) 2021/05/15 07:44
INFO: task hung in io_uring_cancel_sqpoll 15 (16) 2021/05/03 10:45

Sample crash report:
INFO: task iou-sqp-4867:4871 blocked for more than 430 seconds.
      Not tainted 5.12.0-rc2-syzkaller-00467-g0d7588ab9ef9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:iou-sqp-4867    state:D stack:    0 pid: 4871 ppid:  4259 flags:0x00000004
Call Trace:
[<ffffffe003bc3252>] context_switch kernel/sched/core.c:4324 [inline]
[<ffffffe003bc3252>] __schedule+0x478/0xdec kernel/sched/core.c:5075
[<ffffffe003bc3c2a>] schedule+0x64/0x166 kernel/sched/core.c:5154
[<ffffffe0004b80ee>] io_uring_cancel_sqpoll+0x1de/0x294 fs/io_uring.c:8858
[<ffffffe0004c19cc>] io_sq_thread+0x548/0xe58 fs/io_uring.c:6750
[<ffffffe000005570>] ret_from_exception+0x0/0x14

Showing all locks held in the system:
3 locks held by kworker/u4:0/7:
3 locks held by kworker/1:0/19:
1 lock held by khungtaskd/1556:
 #0: ffffffe00592b5e8 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x32/0x1fa kernel/locking/lockdep.c:6329
1 lock held by klogd/3947:
2 locks held by getty/4142:
 #0: ffffffe00f1aa098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x48 drivers/tty/tty_ldsem.c:340
 #1: ffffffd010b6f2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x9ac/0xb08 drivers/tty/n_tty.c:2178
2 locks held by kworker/0:1/4375:

=============================================


Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/14 15:48 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0d7588ab9ef9 4a003785 .config console log report info ci-qemu2-riscv64 INFO: task hung in io_uring_cancel_sqpoll
* Struck through repros no longer work on HEAD.