INFO: task kworker/u10:4:17340 blocked for more than 430 seconds. Not tainted 6.16.0-rc1-syzkaller-gfda589c28604 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u10:4 state:D stack:0 pid:17340 tgid:17340 ppid:2 task_flags:0x4208060 flags:0x00000000 Workqueue: ib-unreg-wq ib_unregister_work Call Trace: [] context_switch kernel/sched/core.c:5396 [inline] [] __schedule+0x1022/0x4094 kernel/sched/core.c:6785 [] __schedule_loop kernel/sched/core.c:6863 [inline] [] schedule+0xc4/0x35e kernel/sched/core.c:6878 [] schedule_timeout+0x1c6/0x2ae kernel/time/sleep_timeout.c:75 [] do_wait_for_common kernel/sched/completion.c:95 [inline] [] __wait_for_common+0x1d2/0x3e8 kernel/sched/completion.c:116 [] wait_for_common kernel/sched/completion.c:127 [inline] [] wait_for_completion+0x1a/0x22 kernel/sched/completion.c:148 [] disable_device+0x1b2/0x2ba drivers/infiniband/core/device.c:1288 [] __ib_unregister_device+0x28e/0x402 drivers/infiniband/core/device.c:1518 [] ib_unregister_work+0x20/0x36 drivers/infiniband/core/device.c:1630 [] process_one_work+0x96a/0x1f32 kernel/workqueue.c:3238 [] process_scheduled_works kernel/workqueue.c:3321 [inline] [] worker_thread+0x5ce/0xde8 kernel/workqueue.c:3402 [] kthread+0x39c/0x7d4 kernel/kthread.c:464 [] ret_from_fork_kernel+0x2a/0xbb2 arch/riscv/kernel/process.c:214 [] ret_from_fork_kernel_asm+0x16/0x18 arch/riscv/kernel/entry.S:327 Showing all locks held in the system: 1 lock held by khungtaskd/37: #0: ffffffff883dc420 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2a/0x1a0 kernel/locking/lockdep.c:6766 3 locks held by syslogd/3003: 2 locks held by getty/3158: #0: ffffaf80198790a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3a/0x46 drivers/tty/tty_ldsem.c:340 #1: ffff8f800008e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x3e4/0x12b6 drivers/tty/n_tty.c:2222 3 locks held by syz-executor/3183: 3 locks held by kworker/u8:0/12899: #0: ffffaf80126e2148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3213 #1: ffff8f80046b7b70 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3213 #2: ffffffff89855570 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xcc/0x7ce net/core/net_namespace.c:662 3 locks held by kworker/1:1/14329: 2 locks held by kworker/0:2/16646: 3 locks held by kworker/u9:3/16913: 3 locks held by kworker/u10:4/17340: #0: ffffaf80127a8948 ((wq_completion)ib-unreg-wq){+.+.}-{0:0}, at: process_one_work+0x848/0x1f32 kernel/workqueue.c:3213 #1: ffff8f8002517b70 ((work_completion)(&device->unregistration_work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1f32 kernel/workqueue.c:3213 #2: ffffaf8031b1c6d0 (&device->unregistration_lock){+.+.}-{4:4}, at: __ib_unregister_device+0x200/0x402 drivers/infiniband/core/device.c:1514 2 locks held by syz.2.5014/18232: 2 locks held by syz.2.5049/18340: 1 lock held by syz.3.5050/18341: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 37 Comm: khungtaskd Not tainted 6.16.0-rc1-syzkaller-gfda589c28604 #0 PREEMPT Hardware name: riscv-virtio,qemu (DT) Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:132 [] show_stack+0x30/0x3c arch/riscv/kernel/stacktrace.c:138 [] __dump_stack lib/dump_stack.c:94 [inline] [] dump_stack_lvl+0x12e/0x1a6 lib/dump_stack.c:120 [] dump_stack+0x1c/0x24 lib/dump_stack.c:129 [] nmi_cpu_backtrace+0x3b0/0x3b2 lib/nmi_backtrace.c:113 [] nmi_trigger_cpumask_backtrace+0x2b6/0x458 lib/nmi_backtrace.c:62 [] arch_trigger_cpumask_backtrace+0x2c/0x3c arch/riscv/kernel/smp.c:350 [] trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline] [] watchdog+0xcf2/0x11de kernel/hung_task.c:470 [] kthread+0x39c/0x7d4 kernel/kthread.c:464 [] ret_from_fork_kernel+0x2a/0xbb2 arch/riscv/kernel/process.c:214 [] ret_from_fork_kernel_asm+0x16/0x18 arch/riscv/kernel/entry.S:327 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 16913 Comm: kworker/u9:3 Not tainted 6.16.0-rc1-syzkaller-gfda589c28604 #0 PREEMPT Hardware name: riscv-virtio,qemu (DT) Workqueue: 0x0 (events_unbound) epc : __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] epc : _raw_spin_unlock_irq+0x2e/0xb2 kernel/locking/spinlock.c:202 ra : __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] ra : _raw_spin_unlock_irq+0x2a/0xb2 kernel/locking/spinlock.c:202 epc : ffffffff86346f58 ra : ffffffff86346f54 sp : ffff8f80040f7c30 gp : ffffffff89c83ca0 tp : ffffaf8011bb0000 t0 : ffff8f80017777a0 t1 : fffff5ef0265a000 t2 : ffffffffe0e007e9 s0 : ffff8f80040f7c50 s1 : ffffaf80132d0000 a0 : 0000000000000000 a1 : ffffffff87d71b68 a2 : 0000000000000002 a3 : 0000000000000001 a4 : 0000000000000001 a5 : 00000000000a4111 a6 : 0000000000000003 a7 : ffffaf80132d0003 s2 : 0000000000000088 s3 : 0000000000000080 s4 : fffff5ef03a77428 s5 : fffffffef1042838 s6 : fffff5ef03a7742f s7 : ffffffff882141c0 s8 : ffffaf801d3ba100 s9 : dfffffff00000000 s10: ffffffff89cc4ca0 s11: 1ffff5f00265a00c t3 : da8b286c00000000 t4 : fffff5ef0265a000 t5 : fffff5ef0265a001 t6 : 0000000000000002 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] arch_local_irq_enable arch/riscv/include/asm/irqflags.h:21 [inline] [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] [] _raw_spin_unlock_irq+0x2e/0xb2 kernel/locking/spinlock.c:202 [] worker_thread+0x294/0xde8 kernel/workqueue.c:3416 [] kthread+0x39c/0x7d4 kernel/kthread.c:464 [] ret_from_fork_kernel+0x2a/0xbb2 arch/riscv/kernel/process.c:214 [] ret_from_fork_kernel_asm+0x16/0x18 arch/riscv/kernel/entry.S:327