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: 8608 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:8608 [syz.0.752] gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=syz:syz.s: H: s:SH f:aH e:0 p:8608 [syz.0.752] gfs2_statfs_slow fs/gfs2/super.c:822 [inline] gfs2: fsid=syz:syz.s: H: s:SH f:aH e:0 p:8608 [syz.0.752] 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: 8608 Comm: syz.0.752 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:ffffc90004e2faa0 EFLAGS: 00010246 RAX: 1fde76f6dd5a3500 RBX: ffff88805d9b15f8 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100be04077 R10: ffffed100be04077 R11: 1ffff1100be04076 R12: dffffc0000000000 R13: ffff8880177c52c0 R14: ffff88805dff0088 R15: ffff88805dff0092 FS: 00007fcdc3bc46c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000057f000 CR3: 0000000050422000 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:0x7fcdc5d5c9a9 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:00007fcdc3bc4038 EFLAGS: 00000246 ORIG_RAX: 000000000000012d RAX: ffffffffffffffda RBX: 00007fcdc5f83fa0 RCX: 00007fcdc5d5c9a9 RDX: 000000004800003e RSI: 0000000000000201 RDI: 0000000000000006 RBP: 00007fcdc5dded69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcdc5f83fa0 R15: 00007ffd7a0a5618 Modules linked in: ---[ end trace cd906b9806c46e64 ]--- 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:ffffc90004e2faa0 EFLAGS: 00010246 RAX: 1fde76f6dd5a3500 RBX: ffff88805d9b15f8 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100be04077 R10: ffffed100be04077 R11: 1ffff1100be04076 R12: dffffc0000000000 R13: ffff8880177c52c0 R14: ffff88805dff0088 R15: ffff88805dff0092 FS: 00007fcdc3bc46c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000057f000 CR3: 0000000050422000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400