INFO: task kworker/1:1H:4605 blocked for more than 143 seconds. Not tainted 5.12.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:1H state:D stack:28528 pid: 4605 ppid: 2 flags:0x00004000 Workqueue: glock_workqueue glock_work_func Call Trace: context_switch kernel/sched/core.c:4322 [inline] __schedule+0x911/0x21b0 kernel/sched/core.c:5073 schedule+0xcf/0x270 kernel/sched/core.c:5152 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1407 freeze_super+0x41/0x330 fs/super.c:1664 freeze_go_sync+0x1e2/0x330 fs/gfs2/glops.c:574 do_xmote+0x2ff/0xbc0 fs/gfs2/glock.c:630 run_queue+0x323/0x680 fs/gfs2/glock.c:767 glock_work_func+0xff/0x3f0 fs/gfs2/glock.c:934 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 INFO: task syz-executor.4:10617 blocked for more than 143 seconds. Not tainted 5.12.0-rc4-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:25632 pid:10617 ppid: 8399 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4322 [inline] __schedule+0x911/0x21b0 kernel/sched/core.c:5073 schedule+0xcf/0x270 kernel/sched/core.c:5152 schedule_timeout+0x1db/0x250 kernel/time/timer.c:1868 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x168/0x270 kernel/sched/completion.c:138 flush_workqueue+0x3ff/0x13e0 kernel/workqueue.c:2838 gfs2_gl_hash_clear+0xc8/0x270 fs/gfs2/glock.c:1998 gfs2_fill_super+0x2005/0x2680 fs/gfs2/ops_fstype.c:1254 get_tree_bdev+0x440/0x760 fs/super.c:1292 gfs2_get_tree+0x4a/0x270 fs/gfs2/ops_fstype.c:1277 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 do_new_mount fs/namespace.c:2903 [inline] path_mount+0x132a/0x1f90 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount fs/namespace.c:3431 [inline] __x64_sys_mount+0x27f/0x300 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:00007fbd1b8b1fa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 000000000046797a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fbd1b8b2000 RBP: 00007fbd1b8b2040 R08: 00007fbd1b8b2040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fbd1b8b2000 R15: 0000000020047a20 Showing all locks held in the system: 1 lock held by khungtaskd/1612: #0: ffffffff8bf74360 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6327 3 locks held by kworker/1:1H/4605: #0: ffff888142f92d38 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888142f92d38 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888142f92d38 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888142f92d38 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888142f92d38 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888142f92d38 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2246 #1: ffffc90009df7da8 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2250 #2: ffff8880742a00e0 (&type->s_umount_key#59){+.+.}-{3:3}, at: freeze_super+0x41/0x330 fs/super.c:1664 1 lock held by in:imklog/8068: #0: ffff8880147ceaf0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:961 1 lock held by syz-executor.4/10617: #0: ffff8880742a00e0 (&type->s_umount_key#58/1){+.+.}-{3:3}, at: alloc_super+0x1dd/0xab0 fs/super.c:229 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1612 Comm: khungtaskd Not tainted 5.12.0-rc4-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+0x141/0x1d7 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 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+0xd48/0xfb0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 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: 9393 Comm: kworker/0:4 Not tainted 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events toggle_allocation_gate RIP: 0010:native_apic_mem_read arch/x86/include/asm/apic.h:114 [inline] RIP: 0010:__xapic_wait_icr_idle arch/x86/kernel/apic/ipi.c:107 [inline] RIP: 0010:__default_send_IPI_dest_field+0x2e/0x130 arch/x86/kernel/apic/ipi.c:156 Code: fc 55 53 89 d3 48 83 ec 08 83 fe 02 74 73 a0 60 f8 eb ff ff fb ff ff 84 c0 74 08 3c 03 0f 8e a8 00 00 00 8b 04 25 00 c3 5f ff <48> bd 60 f8 eb ff ff fb ff ff f6 c4 10 74 1e f3 90 0f b6 45 00 84 RSP: 0018:ffffc900163ef900 EFLAGS: 00000046 RAX: 00000000000008fb RBX: 0000000000000800 RCX: 0000000000000000 RDX: 0000000000000800 RSI: 00000000000000fb RDI: 0000000000000002 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff8179dbad R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000008 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd3a56cd000 CR3: 000000000bc8e000 CR4: 0000000000350ef0 Call Trace: _flat_send_IPI_mask+0x4e/0x60 arch/x86/kernel/apic/apic_flat_64.c:56 __smp_call_single_queue kernel/smp.c:271 [inline] generic_exec_single+0x125/0x3a0 kernel/smp.c:304 smp_call_function_single+0x1a4/0x4b0 kernel/smp.c:513 smp_call_function_many_cond+0x25f/0x9d0 kernel/smp.c:652 smp_call_function_many kernel/smp.c:715 [inline] smp_call_function kernel/smp.c:737 [inline] on_each_cpu+0x4a/0x140 kernel/smp.c:836 text_poke_sync arch/x86/kernel/alternative.c:1008 [inline] text_poke_bp_batch+0x462/0x550 arch/x86/kernel/alternative.c:1262 text_poke_flush arch/x86/kernel/alternative.c:1347 [inline] text_poke_flush arch/x86/kernel/alternative.c:1344 [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 jump_label_update+0x1da/0x400 kernel/jump_label.c:825 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate mm/kfence/core.c:609 [inline] toggle_allocation_gate+0xbf/0x2e0 mm/kfence/core.c:601 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294