loop0: detected capacity change from 0 to 32768 XFS (loop0): Mounting V5 Filesystem XFS (loop0): Ending clean mount XFS (loop0): Quotacheck needed: Please wait. XFS (loop0): Quotacheck: Done. general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 3661 Comm: syz-executor.0 Not tainted 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:xfs_free_extent_fix_freelist fs/xfs/libxfs/xfs_alloc.c:3304 [inline] RIP: 0010:__xfs_free_extent+0x1f6/0x610 fs/xfs/libxfs/xfs_alloc.c:3353 Code: 00 74 05 e8 1c 74 dc fe 4c 89 ac 24 88 00 00 00 4c 89 7c 24 08 49 8d 5f 08 48 89 d8 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df <42> 0f b6 04 38 84 c0 0f 85 06 03 00 00 44 8b 23 4c 8d b4 24 80 00 RSP: 0018:ffffc9000342f4e0 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000000000 RDX: 0000000000000080 RSI: 0000000000000000 RDI: ffffc9000342f568 RBP: ffffc9000342f690 R08: dffffc0000000000 R09: ffffc9000342f570 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11003dae2e4 R13: ffff888021d52000 R14: dffffc0000000000 R15: dffffc0000000000 FS: 00007f4dfb5f8700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30625000 CR3: 0000000023d4e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xfs_free_extent fs/xfs/libxfs/xfs_alloc.h:186 [inline] xfs_ag_extend_space+0x3e1/0x550 fs/xfs/libxfs/xfs_ag.c:931 xfs_growfs_data_private fs/xfs/xfs_fsops.c:148 [inline] xfs_growfs_data+0x9c6/0x1190 fs/xfs/xfs_fsops.c:295 xfs_file_ioctl+0x11c0/0x16a0 fs/xfs/xfs_ioctl.c:2131 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4dfd086389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4dfb5f8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4dfd1a5f80 RCX: 00007f4dfd086389 RDX: 0000000020000340 RSI: 000000004010586e RDI: 0000000000000005 RBP: 00007f4dfd0d1493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0ec1524f R14: 00007f4dfb5f8300 R15: 0000000000022000 Modules linked in: ---[ end trace 4e1b5aa2104180a7 ]--- RIP: 0010:xfs_free_extent_fix_freelist fs/xfs/libxfs/xfs_alloc.c:3304 [inline] RIP: 0010:__xfs_free_extent+0x1f6/0x610 fs/xfs/libxfs/xfs_alloc.c:3353 Code: 00 74 05 e8 1c 74 dc fe 4c 89 ac 24 88 00 00 00 4c 89 7c 24 08 49 8d 5f 08 48 89 d8 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df <42> 0f b6 04 38 84 c0 0f 85 06 03 00 00 44 8b 23 4c 8d b4 24 80 00 RSP: 0018:ffffc9000342f4e0 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000000000 RDX: 0000000000000080 RSI: 0000000000000000 RDI: ffffc9000342f568 RBP: ffffc9000342f690 R08: dffffc0000000000 R09: ffffc9000342f570 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11003dae2e4 R13: ffff888021d52000 R14: dffffc0000000000 R15: dffffc0000000000 FS: 00007f4dfb5f8700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055981efc5000 CR3: 0000000023d4e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 74 05 e8 add %dh,-0x18(%rbp,%rax,1) 4: 1c 74 sbb $0x74,%al 6: dc fe fdivr %st,%st(6) 8: 4c 89 ac 24 88 00 00 mov %r13,0x88(%rsp) f: 00 10: 4c 89 7c 24 08 mov %r15,0x8(%rsp) 15: 49 8d 5f 08 lea 0x8(%r15),%rbx 19: 48 89 d8 mov %rbx,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 27: fc ff df * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 06 03 00 00 jne 0x33d 37: 44 8b 23 mov (%rbx),%r12d 3a: 4c rex.WR 3b: 8d .byte 0x8d 3c: b4 24 mov $0x24,%ah 3e: 80 .byte 0x80