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:4099 [syz-executor.4] gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=syz:syz.0: H: s:EX f:cH e:0 p:4099 [syz-executor.4] do_sync+0x350/0xaf8 fs/gfs2/quota.c:910 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1501! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 4099 Comm: syz-executor.4 Not tainted 5.15.108-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 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 : ffff80001c847590 x29: ffff80001c847600 x28: ffff000123599020 x27: ffff000123598fb0 x26: 0000000000000040 x25: ffff000123598fb8 x24: ffff0001185793c0 x23: ffff0000c8ba8538 x22: ffff0000c8ba855a x21: dfff800000000000 x20: 0000000000000008 x19: ffff00013db452c0 x18: 0000000000000002 x17: ff80800008333ee4 x16: ffff8000119417e4 x15: ffff800008333ee4 x14: 00000000ffffffff x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000a25c0a4 x10: 0000000000000000 x9 : 7d8f1e0650c93a00 x8 : 7d8f1e0650c93a00 x7 : 00000000000b8a00 x6 : 00000000000b89d8 x5 : ffff80001c846838 x4 : ffff8000149ab500 x3 : ffff800008334030 x2 : 0000000000000001 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:910 gfs2_quota_sync+0x2e8/0x548 fs/gfs2/quota.c:1318 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:1405 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 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 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+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:597 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: aa1f03e0 f85f03a1 52800022 97ffe3ad (d4210000) ---[ end trace e7474c4cb7d2b1a9 ]---