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:4313 [syz-executor] gfs2_quota_sync+0x2e4/0x534 fs/gfs2/quota.c:1329 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1555! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 4313 Comm: syz-executor Not tainted 6.1.116-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : add_to_queue fs/gfs2/glock.c:1554 [inline] pc : gfs2_glock_nq+0xf80/0x11d8 fs/gfs2/glock.c:1580 lr : add_to_queue fs/gfs2/glock.c:1554 [inline] lr : gfs2_glock_nq+0xf80/0x11d8 fs/gfs2/glock.c:1580 sp : ffff8000211874f0 x29: ffff800021187560 x28: ffff0000ce76cd60 x27: ffff0000ecf47280 x26: 0000000000000000 x25: 0000000000000400 x24: ffff0000ce76cd22 x23: ffff0000e1babb60 x22: ffff0000ce76cd5a x21: ffff0000e1babb78 x20: ffff0000d34c5270 x19: 0000000000000008 x18: ffff800021186580 x17: 6667205d726f7475 x16: ffff8000122987ec x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : 636a1f9a281f2700 x8 : 636a1f9a281f2700 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800021186938 x4 : ffff800015ac3800 x3 : ffff80000834e754 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: add_to_queue fs/gfs2/glock.c:1554 [inline] gfs2_glock_nq+0xf80/0x11d8 fs/gfs2/glock.c:1580 gfs2_glock_nq_init fs/gfs2/glock.h:255 [inline] do_sync+0x39c/0xb48 fs/gfs2/quota.c:921 gfs2_quota_sync+0x2e4/0x534 fs/gfs2/quota.c:1329 gfs2_sync_fs+0x4c/0xc4 fs/gfs2/super.c:660 sync_filesystem+0xe8/0x218 fs/sync.c:56 generic_shutdown_super+0x70/0x328 fs/super.c:474 kill_block_super+0x70/0xdc fs/super.c:1470 gfs2_kill_sb+0xc0/0xd4 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1186 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193 task_work_run+0x240/0x2f0 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2148/0x3474 arch/arm64/kernel/signal.c:1132 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: aa1f03e0 aa1703e1 52800022 97ffe1af (d4210000) ---[ end trace 0000000000000000 ]---