INFO: task kworker/1:2:1792 blocked for more than 143 seconds. Not tainted 6.6.0-rc1-syzkaller-00196-g57d88e8a5974 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:25152 pid:1792 ppid:2 flags:0x00004000 Workqueue: events_long flush_mdb Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 io_schedule+0xbe/0x130 kernel/sched/core.c:9026 bit_wait_io+0x16/0xe0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0x112/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0xdb/0x110 kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x67/0x70 fs/buffer.c:71 lock_buffer include/linux/buffer_head.h:382 [inline] hfs_mdb_commit+0xf28/0x1290 fs/hfs/mdb.c:271 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 INFO: task syz-executor.0:5391 blocked for more than 143 seconds. Not tainted 6.6.0-rc1-syzkaller-00196-g57d88e8a5974 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24272 pid:5391 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 io_schedule+0xbe/0x130 kernel/sched/core.c:9026 bit_wait_io+0x16/0xe0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0x112/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0xdb/0x110 kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x67/0x70 fs/buffer.c:71 lock_buffer include/linux/buffer_head.h:382 [inline] hfs_mdb_commit+0x9a6/0x1290 fs/hfs/mdb.c:325 hfs_sync_fs+0x15/0x20 fs/hfs/super.c:35 sync_filesystem fs/sync.c:56 [inline] sync_filesystem+0x109/0x280 fs/sync.c:30 generic_shutdown_super+0x7e/0x3c0 fs/super.c:666 kill_block_super+0x3b/0x70 fs/super.c:1646 deactivate_locked_super+0x9a/0x170 fs/super.c:481 deactivate_super+0xde/0x100 fs/super.c:514 cleanup_mnt+0x222/0x3d0 fs/namespace.c:1254 task_work_run+0x14d/0x240 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f831667dc07 RSP: 002b:00007ffccf537428 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f831667dc07 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffccf5374e0 RBP: 00007ffccf5374e0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffccf5385a0 R13: 00007f83166d7af2 R14: 0000000000013e48 R15: 0000000000000007 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cbab1e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6607 2 locks held by kworker/1:2/1792: #0: ffff888012c71538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x774/0x15d0 kernel/workqueue.c:2602 #1: ffffc9000540fd88 ((work_completion)(&(&sbi->mdb_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a7/0x15d0 kernel/workqueue.c:2605 2 locks held by getty/4794: #0: ffff8880263c40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 1 lock held by syz-executor.0/5391: #0: ffff888025c6e0e0 (&type->s_umount_key#53){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888025c6e0e0 (&type->s_umount_key#53){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888025c6e0e0 (&type->s_umount_key#53){+.+.}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:513 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc1-syzkaller-00196-g57d88e8a5974 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 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+0xfac/0x1230 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2829 Comm: kworker/u4:10 Not tainted 6.6.0-rc1-syzkaller-00196-g57d88e8a5974 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__default_send_IPI_dest_field+0x70/0xf0 arch/x86/kernel/apic/ipi.c:178 Code: 0f b6 03 84 c0 74 04 3c 03 7e 7c 8b 04 25 00 c3 5f ff f6 c4 10 75 e7 44 89 24 25 10 c3 5f ff 89 f0 09 e8 89 04 25 00 c3 5f ff <48> 83 c4 08 5b 5d 41 5c c3 bb e8 03 00 00 eb 16 65 ff 05 a9 b6 cb RSP: 0018:ffffc9000a8178e8 EFLAGS: 00000002 RAX: 00000000000008fb RBX: fffffbffffebf860 RCX: ffffffff818e84db RDX: 0000000000000800 RSI: 00000000000000fb RDI: 0000000001000000 RBP: 0000000000000800 R08: 0000000000000000 R09: fffffbfff1d9c4c2 R10: ffffffff8ece2617 R11: 0000000000000000 R12: 0000000001000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b993d8d0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005596576ae680 CR3: 000000000c976000 CR4: 0000000000350ee0 Call Trace: _flat_send_IPI_mask+0x40/0x70 arch/x86/kernel/apic/apic_flat_64.c:36 arch_send_call_function_single_ipi arch/x86/include/asm/smp.h:103 [inline] send_call_function_single_ipi kernel/smp.c:117 [inline] smp_call_function_many_cond+0x12df/0x1570 kernel/smp.c:826 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1012 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1998 [inline] text_poke_bp_batch+0x746/0x960 arch/x86/kernel/alternative.c:2291 text_poke_flush arch/x86/kernel/alternative.c:2399 [inline] text_poke_flush arch/x86/kernel/alternative.c:2396 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2406 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32e/0x410 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:830 [inline] toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:822 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304