INFO: task syz.0.16:5077 blocked for more than 143 seconds. Not tainted 5.15.189-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.16 state:D stack:26560 pid: 5077 ppid: 4875 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 schedule_timeout+0x97/0x280 kernel/time/timer.c:1890 do_wait_for_common+0x29a/0x440 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:138 flush_workqueue+0x63a/0x1380 kernel/workqueue.c:2882 nbd_start_device_ioctl drivers/block/nbd.c:1365 [inline] __nbd_ioctl drivers/block/nbd.c:1427 [inline] nbd_ioctl+0xaea/0xe40 drivers/block/nbd.c:1467 blkdev_ioctl+0x33c/0x690 block/ioctl.c:604 block_ioctl+0xac/0xf0 block/fops.c:496 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f9d98265929 RSP: 002b:00007f9d974d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9d9848cfa0 RCX: 00007f9d98265929 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f9d982e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9d9848cfa0 R15: 00007ffc18752958 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u5:0/146: #0: ffff88802064d938 ((wq_completion)nbd1-recv){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900016efd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by getty/3957: #0: ffff88814cb1e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002cf62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 2 locks held by kworker/u5:1/4243: #0: ffff888020605138 ((wq_completion)nbd0-recv){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002eafd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by kworker/u5:2/4245: #0: ffff8880208d3938 ((wq_completion)nbd8-recv){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002f3fd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by kworker/u5:4/5110: #0: ffff8880206f3938 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000333fd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by kworker/u5:5/5133: #0: ffff8880206fa138 ((wq_completion)nbd3-recv){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000331fd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by kworker/u5:6/5163: #0: ffff888020794138 ((wq_completion)nbd4-recv){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000356fd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by kworker/u5:7/5191: #0: ffff888020720938 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000368fd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by kworker/u5:8/5221: #0: ffff888020727138 ((wq_completion)nbd6-recv){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900037bfd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by kworker/u5:9/5249: #0: ffff8880208cd938 ((wq_completion)nbd7-recv){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000386fd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by kworker/u5:10/5286: #0: ffff88802092a938 ((wq_completion)nbd9-recv){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900038ffd00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 154 Comm: kworker/u4:2 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: 0x0 (bat_events) RIP: 0010:__cpu_to_node+0x1e/0xe0 arch/x86/mm/numa.c:819 Code: 00 eb c4 66 0f 1f 84 00 00 00 00 00 41 57 41 56 53 89 fb 49 bf 00 00 00 00 00 fc ff df e8 6a 1a 41 00 48 83 3d c2 1e 1d 0c 00 <75> 5d 4c 63 f3 bf 08 00 00 00 89 de e8 b1 1d 41 00 83 fb 07 0f 87 RSP: 0018:ffffc90001fe7a50 EFLAGS: 00000046 RAX: ffffffff8136a9b6 RBX: 0000000000000001 RCX: ffff88801b8d8000 RDX: 0000000000000000 RSI: ffffffff8a0b2860 RDI: 0000000000000001 RBP: ffff88801b8d8048 R08: dffffc0000000000 R09: fffffbfff1ad2dd6 R10: fffffbfff1ad2dd6 R11: 1ffffffff1ad2dd5 R12: ffff8880b913a428 R13: ffff8880b913a300 R14: 00000000ffffffff R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000565483d96618 CR3: 000000002a7e6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: task_node include/linux/sched/topology.h:272 [inline] account_numa_dequeue kernel/sched/fair.c:1207 [inline] account_entity_dequeue kernel/sched/fair.c:3010 [inline] dequeue_entity+0x2bc/0xfc0 kernel/sched/fair.c:4590 dequeue_task_fair+0x1a2/0xfd0 kernel/sched/fair.c:5924 dequeue_task kernel/sched/core.c:1997 [inline] deactivate_task kernel/sched/core.c:2014 [inline] __schedule+0x685/0x43b0 kernel/sched/core.c:6330 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 worker_thread+0xf5c/0x12a0 kernel/workqueue.c:2478 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287