gfs2: fsid=syz:syz.s: lock type: 3 req lock state : 3 gfs2: fsid=syz:syz.s: G: s:SH n:3/12 f:qob t:SH d:EX/0 a:0 v:0 r:4 m:20 p:0 gfs2: fsid=syz:syz.s: H: s:SH f:aH e:0 p:5222 [syz.0.16] gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=syz:syz.s: H: s:SH f:aH e:0 p:5222 [syz.0.16] gfs2_statfs_slow fs/gfs2/super.c:822 [inline] gfs2: fsid=syz:syz.s: H: s:SH f:aH e:0 p:5222 [syz.0.16] gfs2_statfs+0x40d/0x870 fs/gfs2/super.c:896 gfs2: fsid=syz:syz.s: R: n:18 f:b0000000 b:0/0 i:7 q:0 r:0 e:0 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1503! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5222 Comm: syz.0.16 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:add_to_queue fs/gfs2/glock.c:1503 [inline] RIP: 0010:gfs2_glock_nq+0x1011/0x1550 fs/gfs2/glock.c:1527 Code: 95 ef 57 fe 89 da 41 0f b7 0f 48 c7 c7 80 54 4d 8a 4c 89 ee e8 40 6c 3a 06 31 ff 48 8b 74 24 08 ba 01 00 00 00 e8 bf 8b ff ff <0f> 0b e8 78 87 13 fe e8 a3 37 9c fd e9 14 fa ff ff 4c 8d 7b 08 4d RSP: 0018:ffffc900031dfaa0 EFLAGS: 00010246 RAX: 8fd6f15b7873c200 RBX: ffff88806f760018 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1003c99011 R10: ffffed1003c99011 R11: 1ffff11003c99010 R12: dffffc0000000000 R13: ffff88807e06d2c0 R14: ffff888021428088 R15: ffff888021428092 FS: 00007fa040db66c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa041b29de0 CR3: 000000007319b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline] gfs2_statfs_slow fs/gfs2/super.c:822 [inline] gfs2_statfs+0x415/0x870 fs/gfs2/super.c:896 statfs_by_dentry fs/statfs.c:66 [inline] vfs_get_fsid+0x189/0x280 fs/statfs.c:77 fanotify_test_fsid+0x73/0x2c0 fs/notify/fanotify/fanotify_user.c:1512 do_fanotify_mark+0x7d0/0xd90 fs/notify/fanotify/fanotify_user.c:1759 __do_sys_fanotify_mark fs/notify/fanotify/fanotify_user.c:1836 [inline] __se_sys_fanotify_mark fs/notify/fanotify/fanotify_user.c:1832 [inline] __x64_sys_fanotify_mark+0xb1/0xc0 fs/notify/fanotify/fanotify_user.c:1832 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa041b469a9 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:00007fa040db6038 EFLAGS: 00000246 ORIG_RAX: 000000000000012d RAX: ffffffffffffffda RBX: 00007fa041d6dfa0 RCX: 00007fa041b469a9 RDX: 000000004800003e RSI: 0000000000000001 RDI: 0000000000000005 RBP: 00007fa041bc8d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa041d6dfa0 R15: 00007fffd9e8ebe8 Modules linked in: ---[ end trace d3ada2495447d75f ]--- RIP: 0010:add_to_queue fs/gfs2/glock.c:1503 [inline] RIP: 0010:gfs2_glock_nq+0x1011/0x1550 fs/gfs2/glock.c:1527 Code: 95 ef 57 fe 89 da 41 0f b7 0f 48 c7 c7 80 54 4d 8a 4c 89 ee e8 40 6c 3a 06 31 ff 48 8b 74 24 08 ba 01 00 00 00 e8 bf 8b ff ff <0f> 0b e8 78 87 13 fe e8 a3 37 9c fd e9 14 fa ff ff 4c 8d 7b 08 4d RSP: 0018:ffffc900031dfaa0 EFLAGS: 00010246 RAX: 8fd6f15b7873c200 RBX: ffff88806f760018 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1003c99011 R10: ffffed1003c99011 R11: 1ffff11003c99010 R12: dffffc0000000000 R13: ffff88807e06d2c0 R14: ffff888021428088 R15: ffff888021428092 FS: 00007fa040db66c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa041b29de0 CR3: 000000007319b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400