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:4038 [syz-executor] gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=syz:syz.0: H: s:EX f:cH e:0 p:4038 [syz-executor] do_sync+0x320/0xa4c fs/gfs2/quota.c:921 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1503! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4038 Comm: syz-executor Not tainted 5.15.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : add_to_queue fs/gfs2/glock.c:1502 [inline] pc : gfs2_glock_nq+0xeac/0x141c fs/gfs2/glock.c:1527 lr : add_to_queue fs/gfs2/glock.c:1502 [inline] lr : gfs2_glock_nq+0xeac/0x141c fs/gfs2/glock.c:1527 sp : ffff80001f0c7680 x29: ffff80001f0c76e0 x28: ffff0000ea0c8300 x27: ffff0000e97d3be0 x26: ffff0000e97d3b70 x25: ffff0000ea0c8350 x24: ffff0000d8a50000 x23: dfff800000000000 x22: ffff0000ea0c8338 x21: ffff0000e97d3b60 x20: ffff0000ea0c835a x19: ffff0000e97d3b78 x18: 0000000000000002 x17: 0000000000000000 x16: ffff8000111cf35c x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000000001 x12: 0000000000ff0100 x11: 0000000000000001 x10: 0000000000000000 x9 : dd104dec925b3d00 x8 : dd104dec925b3d00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001f0c6ad8 x4 : ffff80001425f400 x3 : ffff80000830220c x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: add_to_queue fs/gfs2/glock.c:1502 [inline] gfs2_glock_nq+0xeac/0x141c fs/gfs2/glock.c:1527 gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline] do_sync+0x328/0xa4c 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/0x2f0 fs/super.c:448 kill_block_super+0x70/0xdc fs/super.c:1427 gfs2_kill_sb+0xc0/0xd4 fs/gfs2/ops_fstype.c:-1 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0xf8/0x118 fs/super.c:366 cleanup_mnt+0x3a4/0x458 fs/namespace.c:1139 __cleanup_mnt+0x20/0x30 fs/namespace.c:1146 task_work_run+0x12c/0x1e0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x24b4/0x3128 arch/arm64/kernel/signal.c:949 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xf0/0x1e0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: aa1f03e0 aa1503e1 52800022 97ffe573 (d4210000) ---[ end trace adb1e5ae2064c4c2 ]---