ffff8880abcdf5f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ffff8880a8962790: 00 00 00 42 00 00 7f be 00 00 00 42 00 00 7f be ...B.......B.... XFS (loop5): metadata I/O error: block 0x4 ("xfs_trans_read_buf_map") error 117 numblks 1 XFS (loop5): xfs_do_force_shutdown(0x8) called from line 235 of file fs/xfs/libxfs/xfs_defer.c. Return address = 0xffffffff824d1965 general protection fault: 0000 [#1] PREEMPT SMP KASAN XFS (loop5): Corruption of in-memory data detected. Shutting down filesystem Modules linked in: CPU: 0 PID: 9809 Comm: syz-executor.5 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 task: ffff88809cf4c640 task.stack: ffff88804b8f8000 RIP: 0010:__read_once_size include/linux/compiler.h:185 [inline] RIP: 0010:errseq_set+0x27/0xf0 lib/errseq.c:71 XFS (loop5): Please umount the filesystem and rectify the problem(s) RSP: 0018:ffff88804b8ff870 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000168 RCX: ffffc900077c0000 RDX: 000000000000002d RSI: ffffffff8319b9e6 RDI: 0000000000000168 RBP: 00000000ffffff8b R08: ffff8880ba434d30 R09: 0000000000000000 XFS (loop2): Corruption of in-memory data detected. Shutting down filesystem R10: 0000000000000000 R11: 0000000000000000 R12: 00000000ffffff8b R13: ffff88804b8ffbe0 R14: 00000000ffffff8b R15: ffff88805143da00 FS: 00007fb21aa28700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 XFS (loop2): Please umount the filesystem and rectify the problem(s) CR2: 0000001b2e33a000 CR3: 00000000af1ba000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __filemap_set_wb_err+0x22/0x260 mm/filemap.c:602 filemap_set_wb_err include/linux/fs.h:2641 [inline] mapping_set_error include/linux/pagemap.h:52 [inline] xfs_writepage_map fs/xfs/xfs_aops.c:1034 [inline] xfs_do_writepage+0xcf0/0x13d0 fs/xfs/xfs_aops.c:1149 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257 ffff8880a89627a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ xfs_vm_writepages+0x258/0x340 fs/xfs/xfs_aops.c:1188 ffff8880a89627b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ do_writepages+0xc3/0x240 mm/page-writeback.c:2361 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346 XFS (loop3): metadata I/O error: block 0x4 ("xfs_trans_read_buf_map") error 117 numblks 1 file_write_and_wait_range+0x86/0xd0 mm/filemap.c:678 xfs_file_fsync+0x123/0x960 fs/xfs/xfs_file.c:143 vfs_fsync_range fs/sync.c:196 [inline] vfs_fsync fs/sync.c:210 [inline] do_fsync fs/sync.c:220 [inline] SYSC_fdatasync fs/sync.c:233 [inline] SyS_fdatasync+0x8d/0xf0 fs/sync.c:231 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 XFS (loop3): page discard on page ffffea00012f9d80, inode 0x29, offset 0. RIP: 0033:0x7fb2228d70a9 RSP: 002b:00007fb21aa28168 EFLAGS: 00000246 ORIG_RAX: 000000000000004b RAX: ffffffffffffffda RBX: 00007fb2229f7050 RCX: 00007fb2228d70a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 kasan: CONFIG_KASAN_INLINE enabled RBP: 00007fb222932ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1466899f R14: 00007fb21aa28300 R15: 0000000000022000 Code: kasan: GPF could be caused by NULL-ptr deref or user memory access 0f 1f 40 00 41 56 41 55 41 54 55 89 f5 53 48 89 fb 48 83 ec 08 e8 5a a0 3b fe 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RIP: __read_once_size include/linux/compiler.h:185 [inline] RSP: ffff88804b8ff870 RIP: errseq_set+0x27/0xf0 lib/errseq.c:71 RSP: ffff88804b8ff870 general protection fault: 0000 [#2] PREEMPT SMP KASAN XFS (loop3): Metadata corruption detected at xfs_allocbt_read_verify fs/xfs/libxfs/xfs_alloc_btree.c:373 [inline], xfs_allocbt block 0x4 XFS (loop3): Metadata corruption detected at xfs_allocbt_read_verify+0xb4/0x350 fs/xfs/libxfs/xfs_alloc_btree.c:363, xfs_allocbt block 0x4 Modules linked in: XFS (loop3): Unmount and run xfs_repair CPU: 1 PID: 9760 Comm: syz-executor.3 Tainted: G D 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 task: ffff8880aa930640 task.stack: ffff8880b3378000 RIP: 0010:__read_once_size include/linux/compiler.h:185 [inline] RIP: 0010:errseq_set+0x27/0xf0 lib/errseq.c:71 RSP: 0018:ffff8880b337f608 EFLAGS: 00010206 XFS (loop3): First 64 bytes of corrupted metadata buffer: RAX: dffffc0000000000 RBX: 0000000000000168 RCX: ffffc90005fb4000 RDX: 000000000000002d RSI: ffffffff8319b9e6 RDI: 0000000000000168 RBP: 00000000ffffff8b R08: ffff8880ba534d30 R09: 0000000000000000 R10: 0000000000000000 R11: 000000000000000c R12: 00000000ffffff8b R13: ffff8880b337f978 R14: 00000000ffffff8b R15: ffff8880514f5480 ffff8880a8de8d40: 07 42 54 42 00 00 00 01 ff ff ff ff ff ff ff ff .BTB............ FS: 00007f1e1f9fb700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdc8c8d8010 CR3: 000000009452e000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 ffff8880a8de8d50: 00 00 00 42 00 00 7f be 00 00 00 42 00 00 7f be ...B.......B.... DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __filemap_set_wb_err+0x22/0x260 mm/filemap.c:602 ffff8880a8de8d60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ filemap_set_wb_err include/linux/fs.h:2641 [inline] mapping_set_error include/linux/pagemap.h:52 [inline] xfs_writepage_map fs/xfs/xfs_aops.c:1034 [inline] xfs_do_writepage+0xcf0/0x13d0 fs/xfs/xfs_aops.c:1149 ffff8880a8de8d70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ ---[ end trace 42a75ef937856ea1 ]--- write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257