INFO: task kworker/u4:4:1023 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:kworker/u4:4 state:D stack:20344 pid: 1023 ppid: 2 flags:0x00004000
Workqueue: nbd-del nbd_dev_remove_work
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
nbd_dev_remove drivers/block/nbd.c:252 [inline]
nbd_dev_remove_work+0x47/0xe0 drivers/block/nbd.c:269
process_one_work+0x853/0x1140 kernel/workqueue.c:2298
worker_thread+0xac1/0x1320 kernel/workqueue.c:2445
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
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:4/1023:
#0: ffff88801ba40138 ((wq_completion)nbd-del){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140
#1: ffffc90004fc7d20 ((work_completion)(&nbd->remove_work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2273
1 lock held by in:imklog/6219:
#0: ffff88807edb6d70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990
2 locks held by agetty/6443:
#0: ffff88801dbbf098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc900029ec2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113
3 locks held by kworker/u5:1/19177:
#0: ffff88806c834138 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140
#1: ffffc900035bfd20 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2273
#2: ffff888022aa0ff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_open+0xa5/0x1560 net/bluetooth/hci_core.c:1324
=============================================
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: 2208 Comm: kworker/u4:6 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:mark_lock+0x21a/0x1e00 kernel/locking/lockdep.c:4624
Code: 69 00 bb 01 00 00 00 45 85 2e 0f 84 a7 00 00 00 48 c7 44 24 60 0e 36 e0 45 4b c7 04 27 00 00 00 00 4b c7 44 27 0f 00 00 00 00 <43> c6 44 27 17 00 4b c7 44 27 1f 00 00 00 00 43 c6 44 27 27 00 65
RSP: 0018:ffffc9000321f500 EFLAGS: 00000002
RAX: 1ffffffff1f5ebd2 RBX: 0000000000000001 RCX: ffffffff81665dc1
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff901a6ef0
RBP: ffffc9000321f6f0 R08: dffffc0000000000 R09: fffffbfff2034ddf
R10: fffffbfff2034ddf R11: 0000000000000000 R12: 1ffff92000643eac
R13: 0000000000000004 R14: ffffffff8faf5e90 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000e37000 CR3: 000000000ca8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mark_held_locks kernel/locking/lockdep.c:4206 [inline]
__trace_hardirqs_on_caller kernel/locking/lockdep.c:4224 [inline]
lockdep_hardirqs_on_prepare+0x26e/0x780 kernel/locking/lockdep.c:4292
trace_hardirqs_on+0x6f/0x80 kernel/trace/trace_preemptirq.c:49
__text_poke+0x7dd/0x9f0 arch/x86/kernel/alternative.c:1058
text_poke arch/x86/kernel/alternative.c:1083 [inline]
text_poke_bp_batch+0x6b0/0x940 arch/x86/kernel/alternative.c:1361
text_poke_flush arch/x86/kernel/alternative.c:1451 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
static_key_disable_cpuslocked+0xcc/0x1b0 kernel/jump_label.c:207
static_key_disable+0x16/0x20 kernel/jump_label.c:215
toggle_allocation_gate+0x3c8/0x460 mm/kfence/core.c:746
process_one_work+0x853/0x1140 kernel/workqueue.c:2298
worker_thread+0xac1/0x1320 kernel/workqueue.c:2445
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
----------------
Code disassembly (best guess):
0: 69 00 bb 01 00 00 imul $0x1bb,(%rax),%eax
6: 00 45 85 add %al,-0x7b(%rbp)
9: 2e 0f 84 a7 00 00 00 je,pn 0xb7
10: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp)
17: e0 45
19: 4b c7 04 27 00 00 00 movq $0x0,(%r15,%r12,1)
20: 00
21: 4b c7 44 27 0f 00 00 movq $0x0,0xf(%r15,%r12,1)
28: 00 00
* 2a: 43 c6 44 27 17 00 movb $0x0,0x17(%r15,%r12,1) <-- trapping instruction
30: 4b c7 44 27 1f 00 00 movq $0x0,0x1f(%r15,%r12,1)
37: 00 00
39: 43 c6 44 27 27 00 movb $0x0,0x27(%r15,%r12,1)
3f: 65 gs