gfs2: fsid=statfs_quantum.s: H: s:SH f:aH e:0 p:5086 [syz.4.193] gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=statfs_quantum.s: H: s:SH f:aH e:0 p:5086 [syz.4.193] gfs2_statfs_slow fs/gfs2/super.c:822 [inline] gfs2: fsid=statfs_quantum.s: H: s:SH f:aH e:0 p:5086 [syz.4.193] gfs2_statfs+0x298/0x748 fs/gfs2/super.c:896 gfs2: fsid=statfs_quantum.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! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 5086 Comm: syz.4.193 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : add_to_queue fs/gfs2/glock.c:1502 [inline] pc : gfs2_glock_nq+0xed4/0x144c fs/gfs2/glock.c:1527 lr : add_to_queue fs/gfs2/glock.c:1502 [inline] lr : gfs2_glock_nq+0xed4/0x144c fs/gfs2/glock.c:1527 sp : ffff800021647890 x29: ffff800021647900 x28: ffff0000e60ba600 x27: ffff0000e60ba590 x26: 0000000000000040 x25: ffff0000e60ba598 x24: ffff0000e5a6f280 x23: ffff0000daed6070 x22: ffff0000daed6092 x21: dfff800000000000 x20: 0000000000000003 x19: ffff0000d6f2d2c0 x18: 0000000000000003 x17: 0000000000000002 x16: ffff80000824ec14 x15: 00000000ffffffff x14: ffff0000d3443680 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000002 x10: 0000000000000000 x9 : e081761362fbe500 x8 : e081761362fbe500 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800021646a78 x4 : ffff800014b8faa0 x3 : ffff800008305934 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000001 Call trace: add_to_queue fs/gfs2/glock.c:1502 [inline] gfs2_glock_nq+0xed4/0x144c fs/gfs2/glock.c:1527 gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline] gfs2_statfs_slow fs/gfs2/super.c:822 [inline] gfs2_statfs+0x2a0/0x748 fs/gfs2/super.c:896 statfs_by_dentry fs/statfs.c:66 [inline] vfs_get_fsid+0x17c/0x268 fs/statfs.c:77 fanotify_test_fsid+0xa4/0x2e4 fs/notify/fanotify/fanotify_user.c:1512 do_fanotify_mark+0x6a8/0xb64 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] __arm64_sys_fanotify_mark+0xb8/0xd4 fs/notify/fanotify/fanotify_user.c:1832 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: aa1f03e0 f85f03a1 52800022 97ffe3ad (d4210000) ---[ end trace 4ddd7d5e16c70fe4 ]---