INFO: task kworker/0:1H:4321 blocked for more than 143 seconds. Not tainted 5.12.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1H state:D stack:28416 pid: 4321 ppid: 2 flags:0x00004000 Workqueue: glock_workqueue glock_work_func Call Trace: context_switch kernel/sched/core.c:4322 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5073 schedule+0x14b/0x200 kernel/sched/core.c:5152 rwsem_down_write_slowpath+0xd69/0x1370 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x117/0x120 kernel/locking/rwsem.c:1407 freeze_super+0x44/0x3c0 fs/super.c:1664 freeze_go_sync+0x17b/0x3a0 fs/gfs2/glops.c:574 do_xmote+0x6b7/0x14c0 fs/gfs2/glock.c:630 glock_work_func+0x2c3/0x450 fs/gfs2/glock.c:934 process_one_work+0x789/0xfd0 kernel/workqueue.c:2275 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 INFO: task syz-executor.4:19205 blocked for more than 143 seconds. Not tainted 5.12.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26520 pid:19205 ppid: 8397 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4322 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5073 schedule+0x14b/0x200 kernel/sched/core.c:5152 schedule_timeout+0x43/0x250 kernel/time/timer.c:1868 do_wait_for_common+0x266/0x3a0 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:138 flush_workqueue+0x704/0x1620 kernel/workqueue.c:2838 gfs2_gl_hash_clear+0x6e/0x270 fs/gfs2/glock.c:1998 gfs2_fill_super+0x352c/0x44c0 fs/gfs2/ops_fstype.c:1254 get_tree_bdev+0x406/0x630 fs/super.c:1292 gfs2_get_tree+0x50/0x200 fs/gfs2/ops_fstype.c:1277 vfs_get_tree+0x86/0x270 fs/super.c:1497 do_new_mount fs/namespace.c:2903 [inline] path_mount+0x188a/0x29a0 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount+0x28c/0x320 fs/namespace.c:3431 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x46797a RSP: 002b:00007f29b450cfa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 000000000046797a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f29b450d000 RBP: 00007f29b450d040 R08: 00007f29b450d040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f29b450d000 R15: 0000000020047a20 Showing all locks held in the system: 1 lock held by khungtaskd/1618: #0: ffffffff8c710180 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 5 locks held by kworker/0:3/3790: 3 locks held by kworker/0:1H/4321: #0: ffff888142c33138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: process_one_work+0x6f4/0xfd0 kernel/workqueue.c:2248 #1: ffffc90008977d78 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_one_work+0x733/0xfd0 kernel/workqueue.c:2250 #2: ffff8880258e60e0 (&type->s_umount_key#93){+.+.}-{3:3}, at: freeze_super+0x44/0x3c0 fs/super.c:1664 1 lock held by in:imklog/8041: #0: ffff888012092870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:961 2 locks held by agetty/8095: #0: ffff888022337098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:266 #1: ffffc9000152d2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x659/0x1c00 drivers/tty/n_tty.c:2178 1 lock held by syz-executor.4/19205: #0: ffff8880258e60e0 (&type->s_umount_key#60/1){+.+.}-{3:3}, at: alloc_super+0x1c8/0x860 fs/super.c:229 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1618 Comm: khungtaskd Not tainted 5.12.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x176/0x24e lib/dump_stack.c:120 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xcfb/0xd40 kernel/hung_task.c:294 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4836 Comm: kworker/0:5 Not tainted 5.12.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events toggle_allocation_gate RIP: 0010:kasan_check_range+0x222/0x2f0 mm/kasan/generic.c:186 Code: 03 4d 89 cf 49 8d 5e 07 4d 85 f6 49 0f 49 de 48 83 e3 f8 49 29 de 74 11 45 0f b6 1f 45 84 db 75 64 49 ff c7 49 ff ce 75 ef 5b <41> 5c 41 5d 41 5e 41 5f c3 45 84 db 75 50 45 8a 59 01 45 84 db 0f RSP: 0018:ffffc90000f8f808 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 000000000000008d RCX: ffffffff815c6cfd RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8f937590 RBP: ffffc90000f8f9d8 R08: dffffc0000000000 R09: fffffbfff1f26eb3 R10: fffffbfff1f26eb3 R11: 0000000000000000 R12: 1ffffffff1f26eb2 R13: dffffc0000000001 R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa3e3277000 CR3: 000000000c48e000 CR4: 00000000001506f0 DR0: 00000000000000ff DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:198 [inline] check_wait_context kernel/locking/lockdep.c:4573 [inline] __lock_acquire+0x4dd/0x5e60 kernel/locking/lockdep.c:4850 lock_acquire+0x126/0x650 kernel/locking/lockdep.c:5510 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 spin_lock include/linux/spinlock.h:354 [inline] __get_locked_pte+0x2ad/0x390 mm/memory.c:1629 get_locked_pte include/linux/mm.h:2009 [inline] __text_poke+0x1ad/0x7b0 arch/x86/kernel/alternative.c:896 text_poke arch/x86/kernel/alternative.c:979 [inline] text_poke_bp_batch+0x3fe/0x850 arch/x86/kernel/alternative.c:1206 text_poke_flush arch/x86/kernel/alternative.c:1347 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1354 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:126 static_key_disable_cpuslocked+0xcc/0x1b0 kernel/jump_label.c:207 static_key_disable+0x16/0x20 kernel/jump_label.c:215 toggle_allocation_gate+0x1ec/0x270 mm/kfence/core.c:626 process_one_work+0x789/0xfd0 kernel/workqueue.c:2275 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294