gfs2: fsid=statfs_quantum.s: H: s:SH f:aH e:0 p:5134 [syz.2.176] gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline] gfs2: fsid=statfs_quantum.s: H: s:SH f:aH e:0 p:5134 [syz.2.176] gfs2_statfs_slow fs/gfs2/super.c:822 [inline] gfs2: fsid=statfs_quantum.s: H: s:SH f:aH e:0 p:5134 [syz.2.176] 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: 1 PID: 5134 Comm: syz.2.176 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 : ffff800020f97890 x29: ffff800020f97900 x28: ffff0000e8cb6600 x27: ffff0000e8cb6590 x26: 0000000000000040 x25: ffff0000e8cb6598 x24: ffff0000c8bc4c80 x23: ffff0000d49aa070 x22: ffff0000d49aa092 x21: dfff800000000000 x20: 0000000000000003 x19: ffff0000d75652c0 x18: 0000000000000003 x17: 0000000000000002 x16: ffff80000824ebd0 x15: 00000000ffffffff x14: ffff0000cd5a9b40 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000002 x10: 0000000000000000 x9 : 1504596e04be2e00 x8 : 1504596e04be2e00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800020f96a78 x4 : ffff800014c405e0 x3 : ffff80000830598c 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 454f73b6e1af16b1 ]---