XFS (loop0): Corruption of in-memory data (0x8) detected at xfs_defer_finish_noroll+0x1750/0x1df0 fs/xfs/libxfs/xfs_defer.c:504 (fs/xfs/libxfs/xfs_defer.c:504). Shutting down filesystem. XFS (loop0): Please unmount the filesystem and rectify the problem(s) 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: 9494 Comm: syz.0.2156 Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:errseq_set+0x24/0x120 lib/errseq.c:72 Code: 77 fd eb f4 cc cc 55 41 57 41 56 41 54 53 41 89 f7 49 89 fe e8 cd 46 77 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 c5 00 00 00 45 8b 26 bf 01 f0 ff ff 44 89 RSP: 0018:ffffc90002f271a8 EFLAGS: 00010206 RAX: 0000000000000039 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc90003659000 RSI: 000000000002102a RDI: 000000000002102b RBP: 00000000ffffff8b R08: dffffc0000000000 R09: fffffbfff1f8e048 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000ffffff8b R13: dffffc0000000000 R14: 00000000000001c8 R15: 00000000ffffff8b FS: 00007fd08fbc86c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3261fffc CR3: 00000000646c0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __filemap_set_wb_err+0x1e/0x1d0 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+0x1e68/0x21c0 fs/iomap/buffered-io.c:1485 write_cache_pages+0xa97/0x1160 mm/page-writeback.c:2277 iomap_writepages+0x64/0x240 fs/iomap/buffered-io.c:1516 xfs_vm_writepages+0x127/0x180 fs/xfs/xfs_aops.c:488 do_writepages+0x481/0x730 mm/page-writeback.c:2386 filemap_fdatawrite_wbc+0x1d6/0x230 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] file_write_and_wait_range+0x1cb/0x2b0 mm/filemap.c:810 xfs_file_fsync+0x1bf/0xa20 fs/xfs/xfs_file.c:182 generic_write_sync include/linux/fs.h:2984 [inline] xfs_file_buffered_write+0x9bf/0xb20 fs/xfs/xfs_file.c:793 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xacd/0xe50 fs/read_write.c:594 ksys_write+0x1a2/0x2c0 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fd0917499f9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd08fbc8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fd0918d7f80 RCX: 00007fd0917499f9 RDX: 0000000000000007 RSI: 00000000200001c0 RDI: 0000000000000006 RBP: 00007fd0917b78ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd0918d7f80 R15: 00007ffe76a1a558 Modules linked in: ---[ end trace d2eec6cd6bdbd30e ]--- RIP: 0010:errseq_set+0x24/0x120 lib/errseq.c:72 Code: 77 fd eb f4 cc cc 55 41 57 41 56 41 54 53 41 89 f7 49 89 fe e8 cd 46 77 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 c5 00 00 00 45 8b 26 bf 01 f0 ff ff 44 89 RSP: 0018:ffffc90002f271a8 EFLAGS: 00010206 RAX: 0000000000000039 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc90003659000 RSI: 000000000002102a RDI: 000000000002102b RBP: 00000000ffffff8b R08: dffffc0000000000 R09: fffffbfff1f8e048 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000ffffff8b R13: dffffc0000000000 R14: 00000000000001c8 R15: 00000000ffffff8b FS: 00007fd08fbc86c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3261fffc CR3: 00000000646c0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 77 fd ja 0xffffffff 2: eb f4 jmp 0xfffffff8 4: cc int3 5: cc int3 6: 55 push %rbp 7: 41 57 push %r15 9: 41 56 push %r14 b: 41 54 push %r12 d: 53 push %rbx e: 41 89 f7 mov %esi,%r15d 11: 49 89 fe mov %rdi,%r14 14: e8 cd 46 77 fd call 0xfd7746e6 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 c5 00 00 00 jne 0xfb 36: 45 8b 26 mov (%r14),%r12d 39: bf 01 f0 ff ff mov $0xfffff001,%edi 3e: 44 rex.R 3f: 89 .byte 0x89