INFO: task kworker/0:1H:2008 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:27256 pid: 2008 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.2:25097 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.2 state:D stack:26248 pid:25097 ppid: 8386 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:00007f08c76e5fa8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 000000000046797a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f08c76e6000 RBP: 00007f08c76e6040 R08: 00007f08c76e6040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f08c76e6000 R15: 0000000020047a20 Showing all locks held in the system: 2 locks held by kworker/u4:0/9: 3 locks held by kworker/u4:2/67: 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 3 locks held by kworker/0:1H/2008: #0: ffff88801784e138 ((wq_completion)glock_workqueue){+.+.}-{0:0}, at: process_one_work+0x6f4/0xfd0 kernel/workqueue.c:2248 #1: ffffc900070b7d78 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_one_work+0x733/0xfd0 kernel/workqueue.c:2250 #2: ffff88801b3e60e0 (&type->s_umount_key#75){+.+.}-{3:3}, at: freeze_super+0x44/0x3c0 fs/super.c:1664 1 lock held by in:imklog/8052: #0: ffff8880265c5770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:961 2 locks held by rs:main Q:Reg/8053: #0: ffff888024bc9c70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:961 #1: ffff8880225da460 (sb_writers#5){.+.+}-{0:0}, at: vfs_write+0x1b3/0xab0 fs/read_write.c:601 2 locks held by agetty/8092: #0: ffff888019939098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:266 #1: ffffc900014532e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x659/0x1c00 drivers/tty/n_tty.c:2178 1 lock held by syz-executor.2/25097: #0: ffff88801b3e60e0 (&type->s_umount_key#64/1){+.+.}-{3:3}, at: alloc_super+0x1c8/0x860 fs/super.c:229 ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9 Comm: kworker/u4:0 Not tainted 5.12.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet 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:ffffc90000ce7a60 EFLAGS: 00000256 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff815c66db RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8db4c168 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1b6982e R10: fffffbfff1b6982e R11: 0000000000000000 R12: 1ffffffff1b6982d R13: dffffc0000000001 R14: 0000000000000001 R15: ffffffff8c710180 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2fd53a5028 CR3: 000000001ddb8000 CR4: 00000000001526e0 DR0: 0000000000000000 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] cpumask_test_cpu include/linux/cpumask.h:373 [inline] trace_lock_acquire+0x3b/0x180 include/trace/events/lock.h:13 lock_acquire+0x39/0x650 kernel/locking/lockdep.c:5481 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:267 rcu_read_lock include/linux/rcupdate.h:656 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:754 [inline] batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:825 [inline] batadv_iv_ogm_schedule+0x3ad/0xf40 net/batman-adv/bat_iv_ogm.c:869 batadv_iv_send_outstanding_bat_ogm_packet+0x6fd/0x820 net/batman-adv/bat_iv_ogm.c:1723 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