INFO: task syz-executor.0:5422 blocked for more than 143 seconds. Not tainted 6.10.0-rc6-next-20240701-syzkaller-09748-g74564adfd352 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27608 pid:5422 tgid:5420 ppid:5396 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6597 __schedule_loop kernel/sched/core.c:6674 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6689 blk_mq_freeze_queue_wait+0xff/0x190 block/blk-mq.c:139 nbd_set_size+0xe2/0x7b0 drivers/block/nbd.c:371 nbd_start_device_ioctl drivers/block/nbd.c:1444 [inline] __nbd_ioctl drivers/block/nbd.c:1519 [inline] nbd_ioctl+0x5dc/0xf40 drivers/block/nbd.c:1559 blkdev_ioctl+0x580/0x6b0 block/ioctl.c:676 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/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f941b879829 RSP: 002b:00007f941ca990c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f941b98c030 RCX: 00007f941b879829 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000004 RBP: 00007f941b8d5074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f941b98c030 R15: 00007ffc0ced2f18 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e335820 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #0: ffffffff8e335820 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #0: ffffffff8e335820 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6704 2 locks held by getty/4852: #0: ffff88802a8660a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 1 lock held by syz-executor.0/5422: #0: ffff88801ff9e998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1552 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc6-next-20240701-syzkaller-09748-g74564adfd352 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 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 UID: 0 PID: 12 Comm: kworker/u8:1 Not tainted 6.10.0-rc6-next-20240701-syzkaller-09748-g74564adfd352 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:hw_breakpoint_active arch/x86/include/asm/debugreg.h:115 [inline] RIP: 0010:use_temporary_mm arch/x86/kernel/alternative.c:1822 [inline] RIP: 0010:__text_poke+0x727/0xd30 arch/x86/kernel/alternative.c:1920 Code: 65 4c 8b 3c 25 40 d7 03 00 31 ff 4c 89 e6 4c 89 fa e8 3d 5c 0d 00 48 c7 c7 60 6a c5 8b e8 a1 d7 5b 0a 65 48 8b 1d 39 75 cd 7e <48> 89 de 48 81 e6 aa 00 00 00 31 ff e8 d8 7d 5e 00 48 81 e3 aa 00 RSP: 0018:ffffc90000117740 EFLAGS: 00000086 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8880172cda00 RDX: 0000000000000000 RSI: ffffffff8bc56a60 RDI: ffffffff8c207b00 RBP: ffffc90000117910 R08: ffffffff813389f1 R09: 1ffff11002a0e0ef R10: dffffc0000000000 R11: ffffed1002a0e0f0 R12: ffff888015070000 R13: ffffc90000117800 R14: 1ffff11002a0f8ab R15: ffff8880172cda00 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cd00534680 CR3: 0000000015078000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: text_poke arch/x86/kernel/alternative.c:1984 [inline] text_poke_bp_batch+0x8cd/0xb30 arch/x86/kernel/alternative.c:2373 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:833 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244