INFO: task kworker/1:0:21 blocked for more than 143 seconds. Not tainted 6.5.0-rc5-syzkaller-00021-ga027b2eca0b7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:0 state:D stack:27328 pid:21 ppid:2 flags:0x00004000 Workqueue: gfs_recovery gfs2_recover_func Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 io_schedule+0xbe/0x130 kernel/sched/core.c:9028 folio_wait_bit_common+0x3d0/0x9a0 mm/filemap.c:1304 folio_wait_locked include/linux/pagemap.h:1032 [inline] gfs2_jhead_process_page+0x4bc/0x590 fs/gfs2/lops.c:477 gfs2_find_jhead+0xa30/0xd00 fs/gfs2/lops.c:595 gfs2_recover_func+0x725/0x2280 fs/gfs2/recovery.c:460 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 INFO: task syz-executor109:5015 blocked for more than 143 seconds. Not tainted 6.5.0-rc5-syzkaller-00021-ga027b2eca0b7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor109 state:D stack:25840 pid:5015 ppid:5014 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 bit_wait+0x16/0xe0 kernel/sched/wait_bit.c:199 __wait_on_bit+0x62/0x170 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0xdb/0x110 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_recover_journal+0x13d/0x160 fs/gfs2/recovery.c:577 init_journal fs/gfs2/ops_fstype.c:832 [inline] init_inodes+0x2297/0x2e30 fs/gfs2/ops_fstype.c:885 gfs2_fill_super+0x1a9e/0x2b10 fs/gfs2/ops_fstype.c:1248 get_tree_bdev+0x43e/0x7d0 fs/super.c:1318 gfs2_get_tree+0x4e/0x280 fs/gfs2/ops_fstype.c:1333 vfs_get_tree+0x88/0x350 fs/super.c:1519 do_new_mount fs/namespace.c:3335 [inline] path_mount+0x1492/0x1ed0 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f54574ca0ea RSP: 002b:00007ffd3c0dc6a8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffd3c0dc6c0 RCX: 00007f54574ca0ea RDX: 0000000020021140 RSI: 0000000020021180 RDI: 00007ffd3c0dc6c0 RBP: 0000000000000004 R08: 00007ffd3c0dc700 R09: 0000000000021193 R10: 0000000000010010 R11: 0000000000000282 R12: 0000000000010010 R13: 00007ffd3c0dc700 R14: 0000000000000003 R15: 0000000001000000 Showing all locks held in the system: 5 locks held by kworker/u4:0/9: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c9a2730 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c9a2430 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 2 locks held by kworker/1:0/21: #0: ffff888015fba138 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888015fba138 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888015fba138 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888015fba138 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888015fba138 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:675 [inline] #0: ffff888015fba138 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:702 [inline] #0: ffff888015fba138 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2567 #1: ffffc900003cfd80 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2571 1 lock held by khungtaskd/27: #0: ffffffff8c9a3340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by getty/4767: #0: ffff88814adc3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900020382f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 1 lock held by syz-executor109/5015: #0: ffff888021d300e0 (&type->s_umount_key#57/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb40 fs/super.c:228 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.5.0-rc5-syzkaller-00021-ga027b2eca0b7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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+0x2ac/0x310 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+0xf29/0x11b0 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 6.5.0-rc5-syzkaller-00021-ga027b2eca0b7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:iterate_chain_key kernel/locking/lockdep.c:448 [inline] RIP: 0010:__lock_acquire+0xcfd/0x5de0 kernel/locking/lockdep.c:5132 Code: 00 00 0f b7 44 24 40 8b 5c 24 48 8b 4c 24 68 c1 e0 0d 66 0b 44 24 10 98 44 29 f0 31 d8 8b 5c 24 60 89 c2 29 c1 c1 c2 06 31 ca <01> d8 89 d1 29 d3 c1 c1 08 89 dd 01 c2 31 cd 89 e9 29 e8 01 d5 c1 RSP: 0018:ffffc900002ff670 EFLAGS: 00000082 RAX: 00000000d3226462 RBX: 00000000612435ec RCX: 000000006d400ba7 RDX: 00000000a5d91313 RSI: 0000000000000008 RDI: ffffffff91843c50 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff23081d0 R10: ffffffff91840e87 R11: 0000000000000000 R12: ffff88801925edb2 R13: ffff88801925ed90 R14: 0000000020c1c5e3 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558c45b18600 CR3: 000000000c776000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5761 [inline] lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5726 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __pte_offset_map_lock+0xf1/0x250 mm/pgtable-generic.c:280 pte_offset_map_lock include/linux/mm.h:2862 [inline] __get_locked_pte+0x75/0xc0 mm/memory.c:1817 get_locked_pte include/linux/mm.h:2642 [inline] __text_poke+0x1be/0x8a0 arch/x86/kernel/alternative.c:1815 text_poke arch/x86/kernel/alternative.c:1900 [inline] text_poke_bp_batch+0x507/0x780 arch/x86/kernel/alternative.c:2289 text_poke_flush arch/x86/kernel/alternative.c:2402 [inline] text_poke_flush arch/x86/kernel/alternative.c:2399 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2409 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32e/0x410 kernel/jump_label.c:829 static_key_disable_cpuslocked+0x154/0x1b0 kernel/jump_label.c:235 static_key_disable+0x1a/0x20 kernel/jump_label.c:243 toggle_allocation_gate mm/kfence/core.c:836 [inline] toggle_allocation_gate+0x13f/0x250 mm/kfence/core.c:823 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.540 msecs