gfs2: fsid=syz:syz.0: new: gfs2_reconfigure+0x712/0xcf0 fs/gfs2/ops_fstype.c:1587 gfs2: fsid=syz:syz.0: pid: 6768 gfs2: fsid=syz:syz.0: lock type: 1 req lock state : 3 gfs2: fsid=syz:syz.0: G: s:SH n:1/2 f:qb t:SH d:EX/0 a:0 v:0 r:4 m:20 p:0 gfs2: fsid=syz:syz.0: H: s:SH f:eEH e:0 p:6768 [syz.0.640] gfs2_fill_super+0x2076/0x2680 fs/gfs2/ops_fstype.c:1266 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1555! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 6768 Comm: syz.0.640 Not tainted 6.1.119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:add_to_queue fs/gfs2/glock.c:1555 [inline] RIP: 0010:gfs2_glock_nq+0x1375/0x1590 fs/gfs2/glock.c:1580 Code: 20 fe 0f b7 4d 00 48 c7 c7 40 ae 51 8b 48 8b 74 24 28 89 da e8 6c 60 ee 06 31 ff 48 8b 74 24 10 ba 01 00 00 00 e8 7b 76 ff ff <0f> 0b 89 d9 80 e1 07 fe c1 38 c1 0f 8c 5d f1 ff ff 48 89 df e8 62 RSP: 0018:ffffc900050a7ad0 EFLAGS: 00010246 RAX: e6bedd7f50219600 RBX: 0000000000000001 RCX: 0000000000080000 RDX: ffffc9000cbd9000 RSI: 000000000001e80a RDI: 000000000001e80b RBP: ffffc900050a7c82 R08: ffffffff83c0f950 R09: fffffbfff1d35ef6 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11004818a37 R13: ffff88804ad009e0 R14: ffff8880240c51c2 R15: ffffc900050a7c78 FS: 00007f88256e86c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020f08030 CR3: 000000004ea87000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_glock_nq_init fs/gfs2/glock.h:255 [inline] gfs2_freeze_lock_shared+0x5f/0xc0 fs/gfs2/util.c:108 gfs2_reconfigure+0x712/0xcf0 fs/gfs2/ops_fstype.c:1587 reconfigure_super+0x43a/0x870 fs/super.c:977 do_remount fs/namespace.c:2712 [inline] path_mount+0xe69/0x1090 fs/namespace.c:3378 do_mount fs/namespace.c:3399 [inline] __do_sys_mount fs/namespace.c:3607 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3584 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8824980849 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f88256e8058 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f8824b45fa0 RCX: 00007f8824980849 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 00007f88249f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000021 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8824b45fa0 R15: 00007ffe6ac0f3c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:add_to_queue fs/gfs2/glock.c:1555 [inline] RIP: 0010:gfs2_glock_nq+0x1375/0x1590 fs/gfs2/glock.c:1580 Code: 20 fe 0f b7 4d 00 48 c7 c7 40 ae 51 8b 48 8b 74 24 28 89 da e8 6c 60 ee 06 31 ff 48 8b 74 24 10 ba 01 00 00 00 e8 7b 76 ff ff <0f> 0b 89 d9 80 e1 07 fe c1 38 c1 0f 8c 5d f1 ff ff 48 89 df e8 62 RSP: 0018:ffffc900050a7ad0 EFLAGS: 00010246 RAX: e6bedd7f50219600 RBX: 0000000000000001 RCX: 0000000000080000 RDX: ffffc9000cbd9000 RSI: 000000000001e80a RDI: 000000000001e80b RBP: ffffc900050a7c82 R08: ffffffff83c0f950 R09: fffffbfff1d35ef6 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11004818a37 R13: ffff88804ad009e0 R14: ffff8880240c51c2 R15: ffffc900050a7c78 FS: 00007f88256e86c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020f08030 CR3: 000000004ea87000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400