gfs2: fsid=discard.s: H: s:SH f:aH e:0 p:7234 [syz-executor.2] statfs_by_dentry fs/statfs.c:66 [inline] gfs2: fsid=discard.s: H: s:SH f:aH e:0 p:7234 [syz-executor.2] vfs_statfs fs/statfs.c:90 [inline] gfs2: fsid=discard.s: H: s:SH f:aH e:0 p:7234 [syz-executor.2] user_statfs+0x1d8/0x510 fs/statfs.c:105 gfs2: fsid=discard.s: R: n:18 f:80000000 b:0/0 i:0 q:0 r:0 e:0 ------------[ cut here ]------------ kernel BUG at fs/gfs2/glock.c:1560! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 7234 Comm: syz-executor.2 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : add_to_queue fs/gfs2/glock.c:1559 [inline] pc : gfs2_glock_nq+0x12d4/0x169c fs/gfs2/glock.c:1604 lr : add_to_queue fs/gfs2/glock.c:1559 [inline] lr : gfs2_glock_nq+0x12d4/0x169c fs/gfs2/glock.c:1604 sp : ffff800098957a00 x29: ffff800098957a70 x28: 0000000000000040 x27: ffff0000edc36000 x26: 0000000000000000 x25: ffff0000edc36000 x24: ffff0000e73fc640 x23: ffff0000edc36022 x22: ffff0000edc36092 x21: ffff0000e73fc658 x20: ffff0000c798d270 x19: 0000000000000003 x18: ffff800098956ac0 x17: 0000000000000000 x16: ffff800080276f8c x15: 0000000000000001 x14: 1fffe00019303010 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000002 x10: 0000000000000000 x9 : 447e9b7d7920b700 x8 : 447e9b7d7920b700 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800098956d98 x4 : ffff80008ed822c0 x3 : ffff80008033a548 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000001 Call trace: add_to_queue fs/gfs2/glock.c:1559 [inline] gfs2_glock_nq+0x12d4/0x169c fs/gfs2/glock.c:1604 gfs2_glock_nq_init fs/gfs2/glock.h:238 [inline] gfs2_statfs_slow fs/gfs2/super.c:915 [inline] gfs2_statfs+0x2c8/0x7d0 fs/gfs2/super.c:989 statfs_by_dentry fs/statfs.c:66 [inline] vfs_statfs fs/statfs.c:90 [inline] user_statfs+0x1d8/0x510 fs/statfs.c:105 __do_sys_statfs fs/statfs.c:195 [inline] __se_sys_statfs fs/statfs.c:192 [inline] __arm64_sys_statfs+0xcc/0x14c fs/statfs.c:192 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Code: aa1f03e0 aa1803e1 52800022 97ffde0e (d4210000) ---[ end trace 0000000000000000 ]---