XFS (loop0): Mounting V5 Filesystem bfdc47fc-10d8-4eed-a562-11a831b3f791 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: 1 PID: 5608 Comm: syz-executor.0 Not tainted 6.2.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__xfs_free_extent+0x1d2/0x5c0 Code: 89 f8 48 c1 e8 03 42 80 3c 38 00 74 05 e8 a6 10 f5 fe 4c 89 ac 24 a8 00 00 00 48 8b 44 24 30 48 8d 58 08 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 b2 02 00 00 8b 1b 49 8d 7e 28 48 89 f8 RSP: 0018:ffffc90004a8f540 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000000000 RDX: 0000000000000080 RSI: 0000000000000000 RDI: ffffc90004a8f5e8 RBP: ffffc90004a8f710 R08: dffffc0000000000 R09: ffffc90004a8f5f0 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000000d R13: ffff88807a8e2000 R14: ffffc90004a8f5e0 R15: dffffc0000000000 FS: 00007f14e186a700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f85ac3d41d0 CR3: 0000000025e39000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xfs_ag_extend_space+0x307/0x510 xfs_growfs_data+0x747/0xe00 xfs_file_ioctl+0xef8/0x11b0 __se_sys_ioctl+0xa7/0xf0 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f14e0a8c0d9 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:00007f14e186a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f14e0babf80 RCX: 00007f14e0a8c0d9 RDX: 0000000020000200 RSI: 000000004010586e RDI: 0000000000000004 RBP: 00007f14e0ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0fe7d42f R14: 00007f14e186a300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__xfs_free_extent+0x1d2/0x5c0 Code: 89 f8 48 c1 e8 03 42 80 3c 38 00 74 05 e8 a6 10 f5 fe 4c 89 ac 24 a8 00 00 00 48 8b 44 24 30 48 8d 58 08 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 b2 02 00 00 8b 1b 49 8d 7e 28 48 89 f8 RSP: 0018:ffffc90004a8f540 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000000000 RDX: 0000000000000080 RSI: 0000000000000000 RDI: ffffc90004a8f5e8 RBP: ffffc90004a8f710 R08: dffffc0000000000 R09: ffffc90004a8f5f0 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000000d R13: ffff88807a8e2000 R14: ffffc90004a8f5e0 R15: dffffc0000000000 FS: 00007f14e186a700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff12c97bb8 CR3: 0000000025e39000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 f8 mov %edi,%eax 2: 48 c1 e8 03 shr $0x3,%rax 6: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) b: 74 05 je 0x12 d: e8 a6 10 f5 fe callq 0xfef510b8 12: 4c 89 ac 24 a8 00 00 mov %r13,0xa8(%rsp) 19: 00 1a: 48 8b 44 24 30 mov 0x30(%rsp),%rax 1f: 48 8d 58 08 lea 0x8(%rax),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 b2 02 00 00 jne 0x2e9 37: 8b 1b mov (%rbx),%ebx 39: 49 8d 7e 28 lea 0x28(%r14),%rdi 3d: 48 89 f8 mov %rdi,%rax