gfs2: fsid=syz:syz.s: new: gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=syz:syz.s: new: gfs2_statfs_slow fs/gfs2/super.c:822 [inline] gfs2: fsid=syz:syz.s: new: gfs2_statfs+0x40d/0x870 fs/gfs2/super.c:896 gfs2: fsid=syz:syz.s: pid: 4312 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:4312 [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:4312 [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:4312 [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: 0 PID: 4312 Comm: syz.0.16 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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: 35 3f 58 fe 89 da 41 0f b7 0f 48 c7 c7 80 45 4d 8a 4c 89 ee e8 e0 c6 39 06 31 ff 48 8b 74 24 08 ba 01 00 00 00 e8 bf 8b ff ff <0f> 0b e8 e8 db 13 fe e8 43 92 9c fd e9 14 fa ff ff 4c 8d 7b 08 4d RSP: 0018:ffffc90002f2faa0 EFLAGS: 00010246 RAX: d258fe08919b5a00 RBX: ffff88805c904658 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10045e9811 R10: ffffed10045e9811 R11: 1ffff110045e9810 R12: dffffc0000000000 R13: ffff888024b192c0 R14: ffff88801e838088 R15: ffff88801e838092 FS: 0000555582d19500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fc5ffff CR3: 00000000734fe000 CR4: 00000000003506f0 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:0x7f5ee5f819a9 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:00007ffc2e29f0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012d RAX: ffffffffffffffda RBX: 00007f5ee61a8fa0 RCX: 00007f5ee5f819a9 RDX: 000000004800003e RSI: 0000000000000001 RDI: 0000000000000005 RBP: 00007f5ee6003d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ee61a8fa0 R14: 00007f5ee61a8fa0 R15: 0000000000000005 Modules linked in: ---[ end trace 4c5021248f56fd7d ]--- RIP: 0010:add_to_queue fs/gfs2/glock.c:1503 [inline] RIP: 0010:gfs2_glock_nq+0x1011/0x1550 fs/gfs2/glock.c:1527 Code: 35 3f 58 fe 89 da 41 0f b7 0f 48 c7 c7 80 45 4d 8a 4c 89 ee e8 e0 c6 39 06 31 ff 48 8b 74 24 08 ba 01 00 00 00 e8 bf 8b ff ff <0f> 0b e8 e8 db 13 fe e8 43 92 9c fd e9 14 fa ff ff 4c 8d 7b 08 4d RSP: 0018:ffffc90002f2faa0 EFLAGS: 00010246 RAX: d258fe08919b5a00 RBX: ffff88805c904658 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10045e9811 R10: ffffed10045e9811 R11: 1ffff110045e9810 R12: dffffc0000000000 R13: ffff888024b192c0 R14: ffff88801e838088 R15: ffff88801e838092 FS: 0000555582d19500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fc5ffff CR3: 00000000734fe000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400