gfs2: fsid=syz:syz.s: L: f:00 b:0 i:7 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1501! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5962 Comm: syz-executor.0 Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:add_to_queue fs/gfs2/glock.c:1501 [inline] RIP: 0010:gfs2_glock_nq+0x10c7/0x15e0 fs/gfs2/glock.c:1525 Code: ef e8 6d ab 3f fe 0f b7 4d 00 48 c7 c7 60 98 cc 8a 4c 89 e6 89 da e8 a8 fc 91 06 31 ff 4c 89 f6 ba 01 00 00 00 e8 29 87 ff ff <0f> 0b e8 a2 e6 f5 fd e8 fd 17 76 fd e9 0f f9 ff ff 48 8d 5a 08 48 RSP: 0018:ffffc90002d97a78 EFLAGS: 00010246 RAX: ccdb7e548036d600 RBX: 0000000000000003 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff88807b428092 R08: dffffc0000000000 R09: ffffed100a315811 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801a4452c0 R13: dffffc0000000000 R14: ffff88805fbd15e0 R15: ffff88807b428022 FS: 00007f8f6e70c6c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055954addc950 CR3: 0000000063b47000 CR4: 00000000003526e0 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+0x34d/0x8a0 fs/gfs2/super.c:896 statfs_by_dentry fs/statfs.c:66 [inline] vfs_get_fsid+0x17f/0x270 fs/statfs.c:77 fanotify_test_fsid+0xa4/0x370 fs/notify/fanotify/fanotify_user.c:1512 do_fanotify_mark+0x7ff/0xe00 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+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f8f70199ea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8f6e70c0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012d RAX: ffffffffffffffda RBX: 00007f8f702c7f80 RCX: 00007f8f70199ea9 RDX: 000000004800101e RSI: 0000000000000001 RDI: 0000000000000008 RBP: 00007f8f701e64a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8f702c7f80 R15: 00007ffc517df828 Modules linked in: ---[ end trace a5d5b3f6f026f5b9 ]--- RIP: 0010:add_to_queue fs/gfs2/glock.c:1501 [inline] RIP: 0010:gfs2_glock_nq+0x10c7/0x15e0 fs/gfs2/glock.c:1525 Code: ef e8 6d ab 3f fe 0f b7 4d 00 48 c7 c7 60 98 cc 8a 4c 89 e6 89 da e8 a8 fc 91 06 31 ff 4c 89 f6 ba 01 00 00 00 e8 29 87 ff ff <0f> 0b e8 a2 e6 f5 fd e8 fd 17 76 fd e9 0f f9 ff ff 48 8d 5a 08 48 RSP: 0018:ffffc90002d97a78 EFLAGS: 00010246 RAX: ccdb7e548036d600 RBX: 0000000000000003 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff88807b428092 R08: dffffc0000000000 R09: ffffed100a315811 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801a4452c0 R13: dffffc0000000000 R14: ffff88805fbd15e0 R15: ffff88807b428022 FS: 00007f8f6e70c6c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055954addc950 CR3: 0000000063b47000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400