INFO: task kworker/0:0:8 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:24336 pid:8 tgid:8 ppid:2 flags:0x00004000 Workqueue: gfs2_recovery gfs2_recover_func Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 io_schedule+0x8c/0x100 kernel/sched/core.c:9023 folio_wait_bit_common+0x881/0x12b0 mm/filemap.c:1274 folio_wait_locked include/linux/pagemap.h:1123 [inline] gfs2_jhead_process_page+0x194/0x750 fs/gfs2/lops.c:470 gfs2_find_jhead+0xd68/0xf10 fs/gfs2/lops.c:587 gfs2_recover_func+0x6b7/0x1f10 fs/gfs2/recovery.c:460 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 INFO: task syz-executor246:5053 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor246 state:D stack:23408 pid:5053 tgid:5053 ppid:5052 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 bit_wait+0x12/0xc0 kernel/sched/wait_bit.c:199 __wait_on_bit+0xac/0x2e0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d4/0x250 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_recover_journal+0xf2/0x150 fs/gfs2/recovery.c:577 init_journal+0x1841/0x23f0 fs/gfs2/ops_fstype.c:831 init_inodes+0xdc/0x310 fs/gfs2/ops_fstype.c:884 gfs2_fill_super+0x1ece/0x26b0 fs/gfs2/ops_fstype.c:1263 get_tree_bdev+0x3f3/0x560 fs/super.c:1619 gfs2_get_tree+0x54/0x210 fs/gfs2/ops_fstype.c:1341 vfs_get_tree+0x8c/0x2a0 fs/super.c:1784 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f1c51743daa RSP: 002b:00007ffcb747e468 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffcb747e480 RCX: 00007f1c51743daa RDX: 0000000020037f40 RSI: 0000000020037f80 RDI: 00007ffcb747e480 RBP: 0000000000000004 R08: 00007ffcb747e4c0 R09: 0000000000037f50 R10: 0000000000004000 R11: 0000000000000282 R12: 0000000000004000 R13: 00007ffcb747e4c0 R14: 0000000000000003 R15: 0000000001000000 Showing all locks held in the system: 2 locks held by kworker/0:0/8: #0: ffff888018f45d38 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888018f45d38 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc900000d7d20 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc900000d7d20 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 1 lock held by khungtaskd/29: #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4804: #0: ffff888029cde0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor246/5053: #0: ffff8880233ea0e0 (&type->s_umount_key#42/1){+.+.}-{3:3}, at: alloc_super+0x20e/0x8f0 fs/super.c:345 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/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+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11 Comm: kworker/u4:0 Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__lock_acquire+0x35c/0x1fd0 kernel/locking/lockdep.c:5072 Code: 4b 7e 00 4c 8b 44 24 08 48 be 00 00 00 00 00 fc ff df 48 89 2b 48 8b 6c 24 28 49 8d 5c e8 10 48 89 d8 48 c1 e8 03 80 3c 30 00 <74> 17 48 89 df e8 0a 4b 7e 00 4c 8b 44 24 08 48 be 00 00 00 00 00 RSP: 0018:ffffc90000107410 EFLAGS: 00000046 RAX: 1ffff11002ada8e8 RBX: ffff8880156d4740 RCX: ffffffff925f0303 RDX: 0000000000000006 RSI: dffffc0000000000 RDI: 0000000000000033 RBP: 000000000000001e R08: ffff8880156d4640 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1e0475e R12: ffff8880130770a8 R13: 0000000000000033 R14: 000000000000001e R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005562c17ff680 CR3: 000000000d732000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 __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+0x1ba/0x300 mm/pgtable-generic.c:373 get_locked_pte include/linux/mm.h:2683 [inline] __text_poke+0x2c5/0xd30 arch/x86/kernel/alternative.c:1901 text_poke arch/x86/kernel/alternative.c:1986 [inline] text_poke_bp_batch+0x8cd/0xb30 arch/x86/kernel/alternative.c:2375 text_poke_flush arch/x86/kernel/alternative.c:2488 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2495 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xce/0x1b0 kernel/jump_label.c:235 static_key_disable+0x1a/0x20 kernel/jump_label.c:243 toggle_allocation_gate+0x1b8/0x250 mm/kfence/core.c:831 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.404 msecs