XFS (loop0): metadata I/O error in "xfs_btree_read_buf_block+0x1db/0x2d0" at daddr 0x4 len 4 error 74 XFS (loop0): page discard on page ffffea0001c50800, inode 0x180a, offset 325632. general protection fault, probably for non-canonical address 0xdffffc0000000039: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000001c8-0x00000000000001cf] CPU: 0 PID: 4524 Comm: syz.0.46 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:errseq_set+0x23/0x110 lib/errseq.c:72 Code: 95 fd eb f4 00 00 cc 55 41 57 41 56 41 54 53 89 f3 49 89 fe e8 5e 13 95 fd 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 b7 00 00 00 41 8b 2e bf 01 f0 ff ff 89 de RSP: 0018:ffffc90004b37250 EFLAGS: 00010206 RAX: 0000000000000039 RBX: 00000000ffffff8b RCX: dffffc0000000000 RDX: ffffc90003ed3000 RSI: 0000000000015a83 RDI: 0000000000015a84 RBP: 00000000ffffff8b R08: ffffffff901d81e7 R09: 1ffffffff203b03c R10: dffffc0000000000 R11: fffffbfff203b03d R12: dffffc0000000000 R13: ffffea0001c50800 R14: 00000000000001c8 R15: 1ffffd400038a103 FS: 00007fcf7bc356c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564782c34630 CR3: 000000005f4ae000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __filemap_set_wb_err+0x1c/0x1b0 mm/filemap.c:730 mapping_set_error include/linux/pagemap.h:60 [inline] iomap_writepage_map fs/iomap/buffered-io.c:1383 [inline] iomap_do_writepage+0x1e13/0x2160 fs/iomap/buffered-io.c:1485 write_cache_pages+0x9b7/0x1000 mm/page-writeback.c:2277 iomap_writepages+0x5a/0x210 fs/iomap/buffered-io.c:1516 xfs_vm_writepages+0x14a/0x1c0 fs/xfs/xfs_aops.c:488 do_writepages+0x476/0x6e0 mm/page-writeback.c:2386 filemap_fdatawrite_wbc+0x1eb/0x240 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] file_write_and_wait_range+0x14d/0x220 mm/filemap.c:810 xfs_file_fsync+0x19e/0x950 fs/xfs/xfs_file.c:182 generic_write_sync include/linux/fs.h:2990 [inline] xfs_file_buffered_write+0x8c5/0x9d0 fs/xfs/xfs_file.c:793 call_write_iter include/linux/fs.h:2173 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x745/0xd60 fs/read_write.c:594 ksys_pwrite64 fs/read_write.c:701 [inline] __do_sys_pwrite64 fs/read_write.c:711 [inline] __se_sys_pwrite64 fs/read_write.c:708 [inline] __x64_sys_pwrite64+0x19a/0x220 fs/read_write.c:708 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fcf7d9dbe59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcf7bc35028 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007fcf7dc54fa0 RCX: 00007fcf7d9dbe59 RDX: 0000000000000001 RSI: 0000200000000000 RDI: 0000000000000004 RBP: 00007fcf7da71d6f R08: 0000000000000000 R09: 0000000000000000 R10: 000000000004fed0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fcf7dc55038 R14: 00007fcf7dc54fa0 R15: 00007ffc234830f8 Modules linked in: ---[ end trace d29772f9d3d2ff62 ]--- RIP: 0010:errseq_set+0x23/0x110 lib/errseq.c:72 Code: 95 fd eb f4 00 00 cc 55 41 57 41 56 41 54 53 89 f3 49 89 fe e8 5e 13 95 fd 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 b7 00 00 00 41 8b 2e bf 01 f0 ff ff 89 de RSP: 0018:ffffc90004b37250 EFLAGS: 00010206 RAX: 0000000000000039 RBX: 00000000ffffff8b RCX: dffffc0000000000 RDX: ffffc90003ed3000 RSI: 0000000000015a83 RDI: 0000000000015a84 RBP: 00000000ffffff8b R08: ffffffff901d81e7 R09: 1ffffffff203b03c R10: dffffc0000000000 R11: fffffbfff203b03d R12: dffffc0000000000 R13: ffffea0001c50800 R14: 00000000000001c8 R15: 1ffffd400038a103 FS: 00007fcf7bc356c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f09b606a000 CR3: 000000005f4ae000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 95 xchg %eax,%ebp 1: fd std 2: eb f4 jmp 0xfffffff8 4: 00 00 add %al,(%rax) 6: cc int3 7: 55 push %rbp 8: 41 57 push %r15 a: 41 56 push %r14 c: 41 54 push %r12 e: 53 push %rbx f: 89 f3 mov %esi,%ebx 11: 49 89 fe mov %rdi,%r14 14: e8 5e 13 95 fd call 0xfd951377 19: 4c 89 f0 mov %r14,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 b7 00 00 00 jne 0xed 36: 41 8b 2e mov (%r14),%ebp 39: bf 01 f0 ff ff mov $0xfffff001,%edi 3e: 89 de mov %ebx,%esi