INFO: task syz-executor.3:8419 blocked for more than 143 seconds. Not tainted 6.10.0-rc1-next-20240531-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:25088 pid:8419 tgid:8414 ppid:6589 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:830 [inline] do_unlinkat+0x26a/0x830 fs/namei.c:4398 __do_sys_unlinkat fs/namei.c:4454 [inline] __se_sys_unlinkat fs/namei.c:4447 [inline] __x64_sys_unlinkat+0xce/0xf0 fs/namei.c:4447 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa967c7cee9 RSP: 002b:00007fa968a1d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 00007fa967db4140 RCX: 00007fa967c7cee9 RDX: 0000000000000000 RSI: 00000000200003c0 RDI: ffffffffffffff9c RBP: 00007fa967cc947f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa967db4140 R15: 00007fff54b84b88 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e333fa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:327 [inline] #0: ffffffff8e333fa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:839 [inline] #0: ffffffff8e333fa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6689 BUG: using smp_processor_id() in preemptible [00000000] code: khungtaskd/30 caller is nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc1-next-20240531-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49 nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959 nbcon_cpu_emergency_flush+0x11/0x190 kernel/printk/nbcon.c:1324 debug_show_all_locks+0x19c/0x2a0 kernel/locking/lockdep.c:6694 check_hung_uninterruptible_tasks kernel/hung_task.c:219 [inline] watchdog+0xf9a/0x1020 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 5 locks held by kworker/u8:2/35: #0: ffff8880b953e7d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:560 #1: ffff8880b9528948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 #2: ffff8880b952a718 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 kernel/time/timer.c:1051 #3: ffffffff9499ffe8 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x16d/0x510 lib/debugobjects.c:708 #4: ffffffff8e1e3468 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:145 BUG: using smp_processor_id() in preemptible [00000000] code: khungtaskd/30 caller is nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc1-next-20240531-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49 nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959 nbcon_cpu_emergency_flush+0x11/0x190 kernel/printk/nbcon.c:1324 debug_show_all_locks+0x19c/0x2a0 kernel/locking/lockdep.c:6694 check_hung_uninterruptible_tasks kernel/hung_task.c:219 [inline] watchdog+0xf9a/0x1020 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 2 locks held by getty/4844: #0: ffff88802ab8f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f0e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 BUG: using smp_processor_id() in preemptible [00000000] code: khungtaskd/30 caller is nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc1-next-20240531-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49 nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959 nbcon_cpu_emergency_flush+0x11/0x190 kernel/printk/nbcon.c:1324 debug_show_all_locks+0x19c/0x2a0 kernel/locking/lockdep.c:6694 check_hung_uninterruptible_tasks kernel/hung_task.c:219 [inline] watchdog+0xf9a/0x1020 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389