INFO: task kworker/0:9:4255 blocked for more than 143 seconds. Not tainted 5.15.180-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:9 state:D stack:25768 pid: 4255 ppid: 2 flags:0x00004000 Workqueue: gfs_recovery gfs2_recover_func Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 io_schedule+0x7c/0xd0 kernel/sched/core.c:8484 wait_on_page_bit_common+0x815/0xe00 mm/filemap.c:1356 wait_on_page_locked include/linux/pagemap.h:688 [inline] gfs2_jhead_process_page+0x24e/0xbc0 fs/gfs2/lops.c:476 gfs2_find_jhead+0xec2/0x1000 fs/gfs2/lops.c:597 gfs2_recover_func+0x663/0x1bc0 fs/gfs2/recovery.c:462 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 INFO: task syz.7.394:6435 blocked for more than 144 seconds. Not tainted 5.15.180-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.394 state:D stack:24680 pid: 6435 ppid: 5057 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 bit_wait+0xd/0xc0 kernel/sched/wait_bit.c:199 __wait_on_bit kernel/sched/wait_bit.c:49 [inline] out_of_line_wait_on_bit+0x15e/0x200 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_recover_journal+0x104/0x150 fs/gfs2/recovery.c:579 init_journal+0x1770/0x2220 fs/gfs2/ops_fstype.c:837 init_inodes+0xdb/0x320 fs/gfs2/ops_fstype.c:891 gfs2_fill_super+0x1701/0x1f50 fs/gfs2/ops_fstype.c:1249 get_tree_bdev+0x3f1/0x610 fs/super.c:1325 gfs2_get_tree+0x4d/0x1e0 fs/gfs2/ops_fstype.c:1332 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x24a/0xa40 fs/namespace.c:3012 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3540 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f75a99a710a RSP: 002b:00007f75a780ce68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f75a780cef0 RCX: 00007f75a99a710a RDX: 0000200000037f40 RSI: 00002000000008c0 RDI: 00007f75a780ceb0 RBP: 0000200000037f40 R08: 00007f75a780cef0 R09: 0000000001010084 R10: 0000000001010084 R11: 0000000000000246 R12: 00002000000008c0 R13: 00007f75a780ceb0 R14: 0000000000037f5f R15: 0000200000000480 Showing all locks held in the system: 1 lock held by ksoftirqd/1/20: #0: ffff8880b913a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 1 lock held by khungtaskd/27: #0: ffffffff8c11d9e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/0:2/1325: #0: ffff888016872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90004f57d00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 2 locks held by getty/3921: #0: ffff88802bdb6098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900026362e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 2 locks held by kworker/0:9/4255: #0: ffff88801d8ba138 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002f2fd00 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 4 locks held by kworker/u4:11/4401: #0: ffff8880169cd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000329fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d21f390 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb00 net/core/net_namespace.c:572 #3: ffffffff8c122370 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0xa1/0x4b0 kernel/rcu/tree.c:4039 3 locks held by kworker/0:17/4975: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900035dfd00 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8c122370 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0xa1/0x4b0 kernel/rcu/tree.c:4039 1 lock held by syz.7.394/6435: #0: ffff88801b8d40e0 (&type->s_umount_key#115/1){+.+.}-{3:3}, at: alloc_super+0x201/0x950 fs/super.c:229 1 lock held by syz.5.454/6827: #0: ffff88801b8d40e0 (&type->s_umount_key#119){.+.+}-{3:3}, at: iterate_supers+0xa4/0x1d0 fs/super.c:716 1 lock held by syz.9.455/6832: #0: ffff88801b8d40e0 (&type->s_umount_key#119){.+.+}-{3:3}, at: iterate_supers+0xa4/0x1d0 fs/super.c:716 1 lock held by syz-executor/7877: #0: ffffffff8c122468 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #0: ffffffff8c122468 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x347/0x6b0 kernel/rcu/tree_exp.h:845 1 lock held by dhcpcd-run-hook/9434: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7877 Comm: syz-executor Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:remove_class_from_lock_chains kernel/locking/lockdep.c:5951 [inline] RIP: 0010:zap_class+0x2bc/0x890 kernel/locking/lockdep.c:5994 Code: 11 03 00 00 48 89 44 24 10 4c 8d 3c c5 00 a0 b0 8f 4c 89 f8 48 c1 e8 03 42 80 3c 30 00 74 08 4c 89 ff e8 07 34 60 00 4d 8b 3f <4d> 85 ff 0f 94 c0 49 83 c7 f8 0f 94 c1 08 c1 75 b5 4d 89 fd 49 c1 RSP: 0018:ffffc90002fafae0 EFLAGS: 00000046 RAX: 1ffffffff1fd7f58 RBX: 00000000000011d9 RCX: 000000000004b201 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8ef78434 RBP: 00000000000964b6 R08: dffffc0000000000 R09: fffffbfff1fe9981 R10: fffffbfff1fe9981 R11: 1ffffffff1fe9980 R12: 000000000004b25b R13: 1ffffffff2036534 R14: dffffc0000000000 R15: 0000000000000000 FS: 000055558da8a500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055640d524950 CR3: 000000004af8f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lockdep_free_key_range kernel/locking/lockdep.c:6123 [inline] lockdep_unregister_key+0x330/0x500 kernel/locking/lockdep.c:6325 wq_unregister_lockdep kernel/workqueue.c:3518 [inline] destroy_workqueue+0x87b/0xb20 kernel/workqueue.c:4485 xlog_dealloc_log+0x215/0x270 fs/xfs/xfs_log.c:2074 xfs_unmountfs+0x1a9/0x250 fs/xfs/xfs_mount.c:1040 xfs_fs_put_super+0x66/0x2b0 fs/xfs/xfs_super.c:1095 generic_shutdown_super+0x130/0x300 fs/super.c:475 kill_block_super+0x7c/0xe0 fs/super.c:1427 deactivate_locked_super+0x93/0xf0 fs/super.c:335 cleanup_mnt+0x418/0x4d0 fs/namespace.c:1143 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f4a85756c97 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffd3e8cd828 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f4a857d789d RCX: 00007f4a85756c97 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd3e8cd8e0 RBP: 00007ffd3e8cd8e0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd3e8ce970 R13: 00007f4a857d789d R14: 0000000000059c02 R15: 00007ffd3e8ce9b0