INFO: task kworker/0:0:8 blocked for more than 143 seconds. Not tainted 6.8.0-rc2-syzkaller-00084-g5c24e4e9e708 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:23664 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/0x49a0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 io_schedule+0x8c/0x110 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+0x6c1/0x1f20 fs/gfs2/recovery.c:460 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 INFO: task syz-executor941:5056 blocked for more than 143 seconds. Not tainted 6.8.0-rc2-syzkaller-00084-g5c24e4e9e708 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor941 state:D stack:23408 pid:5056 tgid:5056 ppid:5054 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x49a0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 bit_wait+0x12/0xd0 kernel/sched/wait_bit.c:199 __wait_on_bit+0xb0/0x2f0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d4/0x260 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_recover_journal+0xf2/0x160 fs/gfs2/recovery.c:577 init_journal+0x1845/0x23f0 fs/gfs2/ops_fstype.c:831 init_inodes+0xdc/0x320 fs/gfs2/ops_fstype.c:884 gfs2_fill_super+0x1edb/0x26c0 fs/gfs2/ops_fstype.c:1263 get_tree_bdev+0x3f7/0x570 fs/super.c:1619 gfs2_get_tree+0x54/0x220 fs/gfs2/ops_fstype.c:1341 vfs_get_tree+0x90/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_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f8c28b11daa RSP: 002b:00007ffcb8a588d8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffcb8a588f0 RCX: 00007f8c28b11daa RDX: 0000000020021140 RSI: 0000000020021180 RDI: 00007ffcb8a588f0 RBP: 0000000000000004 R08: 00007ffcb8a58930 R09: 0000000000021177 R10: 0000000000008000 R11: 0000000000000282 R12: 0000000000008000 R13: 00007ffcb8a58930 R14: 0000000000000003 R15: 0000000001000000 Showing all locks held in the system: 2 locks held by kworker/0:0/8: #0: ffff888018323938 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888018323938 ((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: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 1 lock held by syslogd/4492: #0: ffff8880b953c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 2 locks held by getty/4805: #0: ffff88802a1980a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor941/5056: #0: ffff88802f13a0e0 (&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-rc2-syzkaller-00084-g5c24e4e9e708 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 80 Comm: kworker/u4:5 Not tainted 6.8.0-rc2-syzkaller-00084-g5c24e4e9e708 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:hlock_class kernel/locking/lockdep.c:240 [inline] RIP: 0010:__lock_acquire+0xf26/0x1fd0 kernel/locking/lockdep.c:5133 Code: 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 20 24 c5 92 be 08 00 00 00 e8 58 10 81 00 48 0f a3 1d 50 fe 53 11 0f 83 56 02 00 00 <48> 69 c3 c8 00 00 00 48 8d 98 20 83 93 92 48 bf 00 00 00 00 00 fc RSP: 0018:ffffc9000234f6b0 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000008 RCX: ffffffff817125c8 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92c52420 RBP: 63eb093d7c6c6e45 R08: ffffffff92c52427 R09: 1ffffffff258a484 R10: dffffc0000000000 R11: fffffbfff258a485 R12: ffff888018f39dc0 R13: ffff888018f39dc0 R14: 0000000000000000 R15: ffff888018f39dc0 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb3f3207580 CR3: 000000000df32000 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 __mutex_lock_common kernel/locking/mutex.c:608 [inline] __mutex_lock+0x136/0xd70 kernel/locking/mutex.c:752 arch_jump_label_transform_queue+0x5d/0x100 arch/x86/kernel/jump_label.c:136 __jump_label_update+0x177/0x3a0 kernel/jump_label.c:475 static_key_disable_cpuslocked+0xce/0x1c0 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+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.286 msecs