INFO: task syz-executor.0:10046 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:27088 pid:10046 ppid: 3109 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
blk_mq_freeze_queue_wait+0x105/0x190 block/blk-mq.c:178
del_gendisk+0x6d0/0x790 block/genhd.c:623
loop_remove drivers/block/loop.c:2080 [inline]
loop_control_remove drivers/block/loop.c:2137 [inline]
loop_control_ioctl+0x577/0x730 drivers/block/loop.c:2175
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fbd6a789ae9
RSP: 002b:00007fbd67cde188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fbd6a89d020 RCX: 00007fbd6a789ae9
RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000005
RBP: 00007fbd6a7e3f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffed8aec3df R14: 00007fbd67cde300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cd1da80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:3/87:
#0: ffff8880b9b395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478
#1: ffff8880b9b27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x46c/0x780 kernel/sched/psi.c:871
1 lock held by in:imklog/6207:
#0: ffff88801f632870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990
2 locks held by agetty/6229:
#0: ffff88801db7b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90001a982e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106
nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105
nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xc82/0xcd0 kernel/hung_task.c:295
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 9128 Comm: kworker/u4:9 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy4 ieee80211_iface_work
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline]
RIP: 0010:lock_acquire+0x140/0x4d0 kernel/locking/lockdep.c:5633
Code: 60 4c 89 e3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 e7 e8 83 6b 6a 00 48 c7 44 24 60 00 00 00 00 9c 8f 44 24 60 42 80 3c 3b 00 <74> 08 4c 89 e7 e8 e6 6a 6a 00 48 8d 9c 24 80 00 00 00 4c 8b 64 24
RSP: 0018:ffffc900051ffb00 EFLAGS: 00000246
RAX: 1ffff1100eb5b100 RBX: 1ffff92000a3ff6c RCX: 0000000080000001
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900051ffc48 R08: dffffc0000000000 R09: fffffbfff1c3d206
R10: fffffbfff1c3d206 R11: 0000000000000000 R12: ffffc900051ffb60
R13: 1ffff92000a3ff68 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffbdfe10000 CR3: 000000000ca8e000 CR4: 00000000003526e0
Call Trace:
process_one_work+0x804/0x1140 kernel/workqueue.c:2273
worker_thread+0xac1/0x1320 kernel/workqueue.c:2445
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 4c 89 e3 mov %r12,%rbx
3: 48 c1 eb 03 shr $0x3,%rbx
7: 42 80 3c 3b 00 cmpb $0x0,(%rbx,%r15,1)
c: 74 08 je 0x16
e: 4c 89 e7 mov %r12,%rdi
11: e8 83 6b 6a 00 callq 0x6a6b99
16: 48 c7 44 24 60 00 00 movq $0x0,0x60(%rsp)
1d: 00 00
1f: 9c pushfq
20: 8f 44 24 60 popq 0x60(%rsp)
24: 42 80 3c 3b 00 cmpb $0x0,(%rbx,%r15,1)
* 29: 74 08 je 0x33 <-- trapping instruction
2b: 4c 89 e7 mov %r12,%rdi
2e: e8 e6 6a 6a 00 callq 0x6a6b19
33: 48 8d 9c 24 80 00 00 lea 0x80(%rsp),%rbx
3a: 00
3b: 4c rex.WR
3c: 8b .byte 0x8b
3d: 64 fs
3e: 24 .byte 0x24