INFO: task kworker/0:2:780 blocked for more than 143 seconds. Not tainted 6.8.0-rc7-syzkaller-00231-g09e5c48fea17 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:2 state:D stack:25200 pid:780 tgid:780 ppid:2 flags:0x00004000 Workqueue: gfs2_recovery gfs2_recover_func Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 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+0x915/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2f1/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 INFO: task syz-executor319:5068 blocked for more than 143 seconds. Not tainted 6.8.0-rc7-syzkaller-00231-g09e5c48fea17 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor319 state:D stack:23408 pid:5068 tgid:5068 ppid:5067 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 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+0xb2/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+0x3f9/0x570 fs/super.c:1614 gfs2_get_tree+0x54/0x220 fs/gfs2/ops_fstype.c:1341 vfs_get_tree+0x92/0x2a0 fs/super.c:1779 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+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f74f17d9daa RSP: 002b:00007fffe9545e28 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fffe9545e40 RCX: 00007f74f17d9daa RDX: 0000000020021140 RSI: 0000000020021180 RDI: 00007fffe9545e40 RBP: 0000000000000004 R08: 00007fffe9545e80 R09: 0000000000021177 R10: 0000000000008000 R11: 0000000000000282 R12: 0000000000008000 R13: 00007fffe9545e80 R14: 0000000000000003 R15: 0000000001000000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/0:2/780: #0: ffff888018ff7538 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888018ff7538 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc900039cfd20 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc900039cfd20 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 2 locks held by getty/4819: #0: ffff88802c2800a0 (&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-executor319/5068: #0: ffff88801f8140e0 (&type->s_umount_key#41/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:343 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc7-syzkaller-00231-g09e5c48fea17 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/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+0x2f1/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11 Comm: kworker/u4:0 Not tainted 6.8.0-rc7-syzkaller-00231-g09e5c48fea17 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__kasan_check_read+0xa/0x20 mm/kasan/shadow.c:31 Code: db eb d0 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 89 f6 48 8b 0c 24 <31> d2 e9 4f e6 ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 RSP: 0018:ffffc90000107670 EFLAGS: 00000057 RAX: 0000000000000000 RBX: 0000000000000034 RCX: ffffffff81718a3a RDX: 0000000000000002 RSI: 0000000000000008 RDI: ffffffff92c8d420 RBP: 0000000000000002 R08: ffffffff92c8d427 R09: 1ffffffff2591a84 R10: dffffc0000000000 R11: fffffbfff2591a85 R12: ffff8880172a4750 R13: dffffc0000000000 R14: 0000000000000004 R15: ffff8880172a4730 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff6dd8ce8c CR3: 000000000df32000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] mark_lock+0x9a/0x350 kernel/locking/lockdep.c:4656 mark_held_locks kernel/locking/lockdep.c:4274 [inline] __trace_hardirqs_on_caller kernel/locking/lockdep.c:4292 [inline] lockdep_hardirqs_on_prepare+0x281/0x780 kernel/locking/lockdep.c:4359 trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61 __text_poke+0x9c5/0xd30 arch/x86/kernel/alternative.c:1961 text_poke arch/x86/kernel/alternative.c:1986 [inline] text_poke_bp_batch+0x59c/0xb30 arch/x86/kernel/alternative.c:2319 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/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+0x915/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2f1/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243