INFO: task syz-executor.0:5508 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24880 pid:5508 tgid:5507 ppid:5451 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2558 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __flush_workqueue+0x7d6/0x1710 kernel/workqueue.c:3994 nbd_start_device_ioctl drivers/block/nbd.c:1463 [inline] __nbd_ioctl drivers/block/nbd.c:1524 [inline] nbd_ioctl+0xbd1/0xf40 drivers/block/nbd.c:1564 blkdev_ioctl+0x5e7/0x740 block/ioctl.c:642 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl+0xfe/0x170 fs/ioctl.c:890 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f414da7cda9 RSP: 002b:00007f414e8c90c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f414dbabf80 RCX: 00007f414da7cda9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f414dac947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f414dbabf80 R15: 00007ffcdfc53ae8 Showing all locks held in the system: 3 locks held by kworker/u8:1/11: 1 lock held by khungtaskd/29: #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4839: #0: ffff88802af760a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by kworker/u9:2/5086: #0: ffff88802070e948 ((wq_completion)nbd0-recv){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff88802070e948 ((wq_completion)nbd0-recv){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc90009367d00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc90009367d00 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 1 lock held by syz-executor.0/9865: #0: ffff88802070a998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1557 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4522 Comm: klogd Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:instrument_atomic_read include/linux/instrumented.h:68 [inline] RIP: 0010:atomic_read_acquire include/linux/atomic/atomic-instrumented.h:49 [inline] RIP: 0010:__fget_light fs/file.c:1145 [inline] RIP: 0010:__fdget+0x46/0x1f0 fs/file.c:1159 Code: ff 65 48 8b 1c 25 c0 d3 03 00 48 81 c3 f0 08 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 0d 73 e6 ff 48 8b 1b <48> 89 df be 04 00 00 00 e8 6d 75 e6 ff 48 89 d8 48 c1 e8 03 42 0f RSP: 0018:ffffc900033afc90 EFLAGS: 00000246 RAX: 1ffff1100fb9a11e RBX: ffff88802e9c8000 RCX: ffff88807dcd0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: ffffc900033afec0 R08: ffffffff8947a940 R09: ffffc900033afdc0 R10: dffffc0000000000 R11: fffff52000675fc5 R12: ffffc900033afd20 R13: 1ffff92000675fa0 R14: 0000000000000003 R15: dffffc0000000000 FS: 00007fa693921380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff397920d58 CR3: 000000002c9fe000 CR4: 0000000000350ef0 Call Trace: fdget include/linux/file.h:66 [inline] sockfd_lookup_light net/socket.c:555 [inline] __sys_sendto+0x102/0x4f0 net/socket.c:2171 __do_sys_sendto net/socket.c:2203 [inline] __se_sys_sendto net/socket.c:2199 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2199 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa693a839b5 Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffdecbf74e8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fa693a839b5 RDX: 0000000000000088 RSI: 000055f1ad7eb390 RDI: 0000000000000003 RBP: 000055f1ad7e6910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013 R13: 00007fa693c11212 R14: 00007ffdecbf75e8 R15: 0000000000000000