gfs2: fsid=syz:syz.0: H: s:EX f:cH e:0 p:3641 [syz-executor.3] gfs2_quota_sync+0x2e2/0x660 fs/gfs2/quota.c:1322 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1541! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3641 Comm: syz-executor.3 Not tainted 6.0.0-rc3-next-20220901-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:add_to_queue fs/gfs2/glock.c:1541 [inline] RIP: 0010:gfs2_glock_nq.cold+0x2a1/0x2fa fs/gfs2/glock.c:1566 Code: 74 04 3c 03 7e 76 8b 53 18 44 89 f1 4c 89 ee 48 c7 c7 60 3a 3a 8a e8 8f 80 f3 ff ba 01 00 00 00 4c 89 e6 31 ff e8 fe f1 38 fa <0f> 0b e8 a7 3c 7e f8 4c 8b 04 24 e9 7f fd ff ff 45 31 f6 e9 fc fd RSP: 0018:ffffc9000466fa68 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88804125b520 RCX: 0000000000000000 RDX: ffff8880248d0000 RSI: ffffffff8383b5be RDI: ffffffff8a3a6fb0 RBP: ffff88814b30d1c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 7366203a32736667 R12: ffff88804125b520 R13: ffff888035769270 R14: 0000000000000001 R15: 0000000000000000 FS: 0000555557294400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe7a4d1cff8 CR3: 00000000351e9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_glock_nq_init fs/gfs2/glock.h:263 [inline] do_sync+0x4b9/0xcf0 fs/gfs2/quota.c:914 gfs2_quota_sync+0x2e2/0x660 fs/gfs2/quota.c:1322 gfs2_sync_fs+0x40/0xb0 fs/gfs2/super.c:642 sync_filesystem.part.0+0x75/0x1d0 fs/sync.c:56 sync_filesystem+0x8b/0xc0 fs/sync.c:43 generic_shutdown_super+0x70/0x410 fs/super.c:473 kill_block_super+0x97/0xf0 fs/super.c:1427 gfs2_kill_sb+0x104/0x160 fs/gfs2/ops_fstype.c:1733 deactivate_locked_super+0x94/0x160 fs/super.c:331 deactivate_super+0xad/0xd0 fs/super.c:362 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1186 task_work_run+0x16b/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f51ef08a877 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffce8e88ee8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f51ef08a877 RDX: 00007ffce8e88fba RSI: 000000000000000a RDI: 00007ffce8e88fb0 RBP: 00007ffce8e88fb0 R08: 00000000ffffffff R09: 00007ffce8e88d80 R10: 00005555572958b3 R11: 0000000000000246 R12: 00007f51ef0e348e R13: 00007ffce8e8a070 R14: 0000555557295810 R15: 00007ffce8e8a0b0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:add_to_queue fs/gfs2/glock.c:1541 [inline] RIP: 0010:gfs2_glock_nq.cold+0x2a1/0x2fa fs/gfs2/glock.c:1566 Code: 74 04 3c 03 7e 76 8b 53 18 44 89 f1 4c 89 ee 48 c7 c7 60 3a 3a 8a e8 8f 80 f3 ff ba 01 00 00 00 4c 89 e6 31 ff e8 fe f1 38 fa <0f> 0b e8 a7 3c 7e f8 4c 8b 04 24 e9 7f fd ff ff 45 31 f6 e9 fc fd RSP: 0018:ffffc9000466fa68 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88804125b520 RCX: 0000000000000000 RDX: ffff8880248d0000 RSI: ffffffff8383b5be RDI: ffffffff8a3a6fb0 RBP: ffff88814b30d1c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 7366203a32736667 R12: ffff88804125b520 R13: ffff888035769270 R14: 0000000000000001 R15: 0000000000000000 FS: 0000555557294400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe7a4d1cff8 CR3: 00000000351e9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400