INFO: task syz-executor.0:6180 blocked for more than 143 seconds. Not tainted 6.16.0-rc2-next-20250620-syzkaller-04336-g5d4809e25903 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27352 pid:6180 tgid:6179 ppid:6153 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5313 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6696 __schedule_loop kernel/sched/core.c:6774 [inline] schedule+0x165/0x360 kernel/sched/core.c:6789 schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:100 [inline] __wait_for_common kernel/sched/completion.c:121 [inline] wait_for_common kernel/sched/completion.c:132 [inline] wait_for_completion+0x2bf/0x5d0 kernel/sched/completion.c:153 __flush_workqueue+0x6f7/0x14b0 kernel/workqueue.c:4003 nbd_start_device_ioctl drivers/block/nbd.c:1541 [inline] __nbd_ioctl drivers/block/nbd.c:1602 [inline] nbd_ioctl+0xafe/0xeb0 drivers/block/nbd.c:1642 blkdev_ioctl+0x5a5/0x6d0 block/ioctl.c:704 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x456e69 RSP: 002b:00007fb0e17130d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000055bf80 RCX: 0000000000456e69 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00000000004b0cab R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004b02b7 R13: 000000000000000b R14: 000000000055bf80 R15: 00007ffeec1405d8 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e13ef20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13ef20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13ef20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by kworker/u9:0/51: #0: ffff888024f12948 ((wq_completion)nbd0-recv){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff888024f12948 ((wq_completion)nbd0-recv){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffffc90000bb7bc0 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc90000bb7bc0 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 2 locks held by getty/5590: #0: ffff88814d2460a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000331b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc2-next-20250620-syzkaller-04336-g5d4809e25903 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:470 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 4340 Comm: kworker/u8:9 Not tainted 6.16.0-rc2-next-20250620-syzkaller-04336-g5d4809e25903 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:hlock_class kernel/locking/lockdep.c:234 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4857 [inline] RIP: 0010:__lock_acquire+0x332/0xd20 kernel/locking/lockdep.c:5190 Code: e5 15 09 d5 09 cd 44 09 f5 41 89 6c c7 20 45 89 44 c7 24 4c 89 7c 24 10 4d 8d 34 c7 81 e5 ff 1f 00 00 48 0f a3 2d 9e 18 09 12 <73> 10 48 69 c5 c8 00 00 00 48 8d 80 30 53 48 93 eb 40 83 3d e5 a7 RSP: 0018:ffffc9000ded7528 EFLAGS: 00000007 RAX: 000000000000001e RBX: ffff88801a47b078 RCX: 000000000000003a RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880321d1e00 RBP: 000000000000003a R08: 0000000000000000 R09: ffffffff82115f0e R10: dffffc0000000000 R11: fffff94000010cd1 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880321d29e0 R15: ffff8880321d28f0 FS: 0000000000000000(0000) GS:ffff888125d26000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff8c089ec4 CR3: 000000000df38000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __pte_offset_map_lock+0x13e/0x210 mm/pgtable-generic.c:402 get_locked_pte include/linux/mm.h:2727 [inline] __text_poke+0x2e6/0xa10 arch/x86/kernel/alternative.c:2505 text_poke arch/x86/kernel/alternative.c:2590 [inline] smp_text_poke_batch_finish+0xd0a/0x1100 arch/x86/kernel/alternative.c:2979 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x128/0x250 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xad/0x240 mm/kfence/core.c:850 process_one_work kernel/workqueue.c:3239 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3322 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3403 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245