gfs2: fsid=syz:syz.0: G: s:EX n:8/1 f:qb t:EX d:EX/0 a:0 v:0 r:5 m:20 p:0 gfs2: fsid=syz:syz.0: H: s:EX f:cH e:0 p:3967 [syz-executor212] gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=syz:syz.0: H: s:EX f:cH e:0 p:3967 [syz-executor212] do_sync+0x350/0xaf8 fs/gfs2/quota.c:921 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1501! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 3967 Comm: syz-executor212 Not tainted 5.15.153-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : add_to_queue fs/gfs2/glock.c:1500 [inline] pc : gfs2_glock_nq+0xed4/0x144c fs/gfs2/glock.c:1525 lr : add_to_queue fs/gfs2/glock.c:1500 [inline] lr : gfs2_glock_nq+0xed4/0x144c fs/gfs2/glock.c:1525 sp : ffff80001c737630 x29: ffff80001c7376a0 x28: ffff0000dc3fa2e0 x27: ffff0000dc3fa270 x26: 0000000000000040 x25: ffff0000dc3fa278 x24: ffff0000c2464000 x23: ffff0000cf4b9138 x22: ffff0000cf4b915a x21: dfff800000000000 x20: 0000000000000008 x19: ffff0000c80e92c0 x18: 0000000000000002 x17: 0000000000000000 x16: ffff80001197d444 x15: 00000000ffffffff x14: ffff0000c912b680 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : db0f82cbeb1a8900 x8 : db0f82cbeb1a8900 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001c7368d8 x4 : ffff8000149ef7a0 x3 : ffff80000a960a80 x2 : ffff0001b4814d10 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: add_to_queue fs/gfs2/glock.c:1500 [inline] gfs2_glock_nq+0xed4/0x144c fs/gfs2/glock.c:1525 gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline] do_sync+0x358/0xaf8 fs/gfs2/quota.c:921 gfs2_quota_sync+0x2e8/0x548 fs/gfs2/quota.c:1329 gfs2_sync_fs+0x4c/0xc4 fs/gfs2/super.c:647 sync_filesystem+0xe8/0x218 fs/sync.c:56 generic_shutdown_super+0x70/0x29c fs/super.c:448 kill_block_super+0x70/0xdc fs/super.c:1414 gfs2_kill_sb+0xc0/0xd4 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x670/0x20bc kernel/exit.c:872 do_group_exit+0x110/0x268 kernel/exit.c:994 __do_sys_exit_group kernel/exit.c:1005 [inline] __se_sys_exit_group kernel/exit.c:1003 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1003 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: aa1f03e0 f85f03a1 52800022 97ffe3ad (d4210000) ---[ end trace dd68926261a74cf3 ]---