gfs2: fsid=syz:syz.0: new: gfs2_quota_sync+0x30e/0x700 fs/gfs2/quota.c:1320 gfs2: fsid=syz:syz.0: pid: 5017 gfs2: fsid=syz:syz.0: lock type: 8 req lock state : 1 gfs2: fsid=syz:syz.0: G: s:EX n:8/1 f:qb t:EX d:EX/0 a:0 v:0 r:6 m:20 p:0 gfs2: fsid=syz:syz.0: H: s:EX f:cH e:0 p:5017 [syz-executor260] gfs2_quota_sync+0x30e/0x700 fs/gfs2/quota.c:1320 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1551! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5017 Comm: syz-executor260 Not tainted 6.5.0-rc7-syzkaller-00104-g4f9e7fabf864 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:add_to_queue fs/gfs2/glock.c:1551 [inline] RIP: 0010:gfs2_glock_nq+0x1420/0x16c0 fs/gfs2/glock.c:1576 Code: bc 2c fe 0f b7 4d 00 48 c7 c7 e0 02 4d 8b 48 8b 74 24 28 89 da e8 e0 ce 02 07 31 ff 48 8b 34 24 ba 01 00 00 00 e8 e0 69 ff ff <0f> 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 9e f5 ff ff 48 89 df e8 RSP: 0018:ffffc90003b3f850 EFLAGS: 00010246 RAX: 268d156a2309f700 RBX: 0000000000000008 RCX: ffff8880290a5940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88801ecb655a R08: ffffffff83b752e5 R09: 1ffffffff1d30f1d R10: dffffc0000000000 R11: fffffbfff1d30f1e R12: ffff88807785e920 R13: ffff88801ecb6518 R14: ffff88801ecb6530 R15: ffff888028fe4000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f85821e1a8 CR3: 00000000283c4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_glock_nq_init fs/gfs2/glock.h:261 [inline] do_sync+0x3c6/0xc80 fs/gfs2/quota.c:912 gfs2_quota_sync+0x30e/0x700 fs/gfs2/quota.c:1320 gfs2_sync_fs+0x4d/0xb0 fs/gfs2/super.c:680 sync_filesystem+0xec/0x220 fs/sync.c:56 generic_shutdown_super+0x6f/0x340 fs/super.c:472 kill_block_super+0x68/0xa0 fs/super.c:1417 deactivate_locked_super+0xa4/0x110 fs/super.c:330 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1254 task_work_run+0x24a/0x300 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x68f/0x2290 kernel/exit.c:874 do_group_exit+0x206/0x2c0 kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1033 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f67ac128709 Code: Unable to access opcode bytes at 0x7f67ac1286df. RSP: 002b:00007ffee5219e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f67ac128709 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 RBP: 00007f67ac1b72b0 R08: ffffffffffffffb8 R09: 0000000000013420 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f67ac1b72b0 R13: 0000000000000000 R14: 00007f67ac1b8020 R15: 00007f67ac0f6c60 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:add_to_queue fs/gfs2/glock.c:1551 [inline] RIP: 0010:gfs2_glock_nq+0x1420/0x16c0 fs/gfs2/glock.c:1576 Code: bc 2c fe 0f b7 4d 00 48 c7 c7 e0 02 4d 8b 48 8b 74 24 28 89 da e8 e0 ce 02 07 31 ff 48 8b 34 24 ba 01 00 00 00 e8 e0 69 ff ff <0f> 0b 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 9e f5 ff ff 48 89 df e8 RSP: 0018:ffffc90003b3f850 EFLAGS: 00010246 RAX: 268d156a2309f700 RBX: 0000000000000008 RCX: ffff8880290a5940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88801ecb655a R08: ffffffff83b752e5 R09: 1ffffffff1d30f1d R10: dffffc0000000000 R11: fffffbfff1d30f1e R12: ffff88807785e920 R13: ffff88801ecb6518 R14: ffff88801ecb6530 R15: ffff888028fe4000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f85821e1a8 CR3: 00000000283c4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400