INFO: task syz-executor:2830 blocked for more than 143 seconds. Not tainted 6.7.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:11288 pid:2830 tgid:2830 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x691/0x970 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xab/0x110 kernel/sched/core.c:6778 __bch2_fs_stop+0x217/0x370 fs/bcachefs/super.c:629 generic_shutdown_super+0x71/0x110 fs/super.c:696 bch2_kill_sb+0x11/0x20 fs/bcachefs/fs.c:1972 deactivate_locked_super+0x33/0x110 fs/super.c:484 cleanup_mnt+0xe2/0x120 fs/namespace.c:1256 task_work_run+0x81/0xb0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xa9/0xc0 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x64/0xb0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x2c/0x1e0 kernel/entry/common.c:296 do_syscall_64+0x5c/0x120 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7fadb387e297 RSP: 002b:00007ffe70ad54d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fadb387e297 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe70ad5590 RBP: 00007ffe70ad5590 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe70ad6640 R13: 00007fadb38d9636 R14: 000000000000d8e8 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8377ec40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8377ec40 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8377ec40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x30/0x100 kernel/locking/lockdep.c:6614 2 locks held by getty/1387: #0: ffff8881092920a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x40 drivers/tty/tty_ldisc.c:243 #1: ffffc90002a9b2f0 (&ldata->atomic_read_lock){....}-{3:3}, at: n_tty_read+0x242/0x910 drivers/tty/n_tty.c:2201 1 lock held by syz-executor/2830: #0: ffff8881016ca0e0 (&type->s_umount_key#50){....}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8881016ca0e0 (&type->s_umount_key#50){....}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8881016ca0e0 (&type->s_umount_key#50){....}-{3:3}, at: deactivate_super+0x2f/0x40 fs/super.c:516 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc7-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+0x83/0xd0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x146/0x160 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x8e/0x140 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0x5da/0x600 kernel/hung_task.c:379 kthread+0xe9/0x100 kernel/kthread.c:388 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 844 Comm: kworker/u4:5 Not tainted 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__default_send_IPI_dest_field+0x3e/0x60 arch/x86/kernel/apic/ipi.c:186 Code: 5f ff 00 10 00 00 74 0f f3 90 f7 04 25 00 c3 5f ff 00 10 00 00 75 f1 c1 e5 18 89 2c 25 10 c3 5f ff 09 de 89 34 25 00 c3 5f ff <5b> 5d c3 cc cc cc cc e8 16 ff ff ff be 00 04 00 00 eb da 66 2e 0f RSP: 0018:ffffc90001a5bc00 EFLAGS: 00000002 RAX: 56a0853c27e32300 RBX: 0000000000000800 RCX: ffff88810367b700 RDX: 0000000000000800 RSI: 00000000000008fb RDI: 0000000000000002 RBP: 0000000002000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff81065a20 R12: ffffffff8103d420 R13: ffff888237d34380 R14: 0000000000000000 R15: ffff888237c2fc80 FS: 0000000000000000(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557cb7c5baa0 CR3: 0000000003644000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:36 [inline] flat_send_IPI_mask+0x34/0x80 arch/x86/kernel/apic/apic_flat_64.c:44 arch_send_call_function_single_ipi arch/x86/include/asm/smp.h:101 [inline] send_call_function_single_ipi kernel/smp.c:117 [inline] smp_call_function_many_cond+0x57a/0xae0 kernel/smp.c:837 on_each_cpu_cond_mask+0x3a/0x70 kernel/smp.c:1023 text_poke_bp_batch+0x2c3/0x310 text_poke_flush arch/x86/kernel/alternative.c:2417 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2424 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked kernel/jump_label.c:235 [inline] static_key_disable+0x3f/0x60 kernel/jump_label.c:243 toggle_allocation_gate+0xe2/0x130 mm/kfence/core.c:835 process_one_work kernel/workqueue.c:2627 [inline] process_scheduled_works+0x250/0x4d0 kernel/workqueue.c:2700 worker_thread+0x23d/0x300 kernel/workqueue.c:2781 kthread+0xe9/0x100 kernel/kthread.c:388 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242