INFO: task kworker/0:1:9 blocked for more than 143 seconds. Not tainted 6.4.0-rc6-syzkaller-00195-g40f71e7cd3c6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1 state:D stack:25304 pid:9 ppid:2 flags:0x00004000 Workqueue: gfs_recovery gfs2_recover_func Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 io_schedule+0x8c/0x100 kernel/sched/core.c:8979 folio_wait_bit_common+0x86c/0x12b0 mm/filemap.c:1301 folio_wait_locked include/linux/pagemap.h:1028 [inline] gfs2_jhead_process_page+0x192/0x800 fs/gfs2/lops.c:476 gfs2_find_jhead+0xd2a/0xef0 fs/gfs2/lops.c:594 gfs2_recover_func+0x6d2/0x1f00 fs/gfs2/recovery.c:460 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor270:4993 blocked for more than 143 seconds. Not tainted 6.4.0-rc6-syzkaller-00195-g40f71e7cd3c6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor270 state:D stack:23472 pid:4993 ppid:4992 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 bit_wait+0x12/0xc0 kernel/sched/wait_bit.c:199 __wait_on_bit kernel/sched/wait_bit.c:49 [inline] out_of_line_wait_on_bit+0x251/0x3a0 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/0x23e0 fs/gfs2/ops_fstype.c:833 init_inodes+0xdc/0x310 fs/gfs2/ops_fstype.c:886 gfs2_fill_super+0x1d02/0x2840 fs/gfs2/ops_fstype.c:1250 get_tree_bdev+0x405/0x620 fs/super.c:1303 gfs2_get_tree+0x54/0x210 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x8c/0x270 fs/super.c:1510 do_new_mount+0x28f/0xae0 fs/namespace.c:3039 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcd6a8dc93a RSP: 002b:00007ffc42c0b7b8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fcd6a8dc93a RDX: 0000000020021140 RSI: 0000000020021180 RDI: 00007ffc42c0b7d0 RBP: 00007ffc42c0b7d0 R08: 00007ffc42c0b810 R09: 0000000000000002 R10: 0000000000010010 R11: 0000000000000282 R12: 0000000000000004 R13: 0000555555f482c0 R14: 0000000000010010 R15: 00007ffc42c0b810 Showing all locks held in the system: 2 locks held by kworker/0:1/9: #0: ffff8880156d4538 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc900000e7d20 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf276f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf27ab0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf27520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4749: #0: ffff88802c7ba098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 1 lock held by syz-executor270/4993: #0: ffff88807ceb20e0 (&type->s_umount_key#42/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc6-syzkaller-00195-g40f71e7cd3c6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 34 Comm: kworker/u4:2 Not tainted 6.4.0-rc6-syzkaller-00195-g40f71e7cd3c6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5446 [inline] RIP: 0010:lock_is_held_type+0x9d/0x190 kernel/locking/lockdep.c:5776 Code: ea 8a e8 36 17 00 00 65 ff 05 f7 c6 52 75 41 83 bd c0 0a 00 00 00 7e 47 4c 89 ed 48 81 c5 c8 0a 00 00 31 db 48 83 fb 31 73 24 <48> 89 ef 4c 89 fe e8 28 02 00 00 85 c0 75 2a 48 ff c3 49 63 85 c0 RSP: 0018:ffffc90000ab7838 EFLAGS: 00000083 RAX: 0000000000000004 RBX: 0000000000000001 RCX: ffff888017641dc0 RDX: 0000000000000000 RSI: ffffffff8cf274a0 RDI: ffff888017642888 RBP: ffff8880176428b0 R08: dffffc0000000000 R09: 0000000000000000 R10: ffffc90000ab7a60 R11: dffffc0000000001 R12: 0000000000000246 R13: ffff888017641dc0 R14: 00000000ffffffff R15: ffffffff8cf274a0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055dde5416690 CR3: 000000000cd30000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:288 [inline] __might_resched+0xf4/0x780 kernel/sched/core.c:10115 __mutex_lock_common+0xda/0x2530 kernel/locking/mutex.c:580 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 arch_jump_label_transform_apply+0x12/0x30 arch/x86/kernel/jump_label.c:145 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:836 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308