kasan: CONFIG_KASAN_INLINE enabled XFS (loop0): First 128 bytes of corrupted metadata buffer: kasan: GPF could be caused by NULL-ptr deref or user memory access 0000000075fe5998: 07 42 54 42 00 00 00 01 ff ff ff ff ff ff ff ff .BTB............ general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7388 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 0000000023eb8c61: 00 00 00 42 00 00 7f be 00 00 00 42 00 00 7f be ...B.......B.... Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__read_once_size include/linux/compiler.h:263 [inline] RIP: 0010:errseq_set+0x26/0x150 lib/errseq.c:71 Code: 1f 44 00 00 41 57 41 56 41 89 f6 41 55 41 54 55 53 48 89 fb e8 3b 6a ec fd 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 f4 RSP: 0018:ffff88809257f460 EFLAGS: 00010206 000000007190be21: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ RAX: dffffc0000000000 RBX: 0000000000000168 RCX: ffffc90005c24000 RDX: 000000000000002d RSI: ffffffff83761b35 RDI: 0000000000000168 RBP: 00000000ffffff8b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 00000000d29ca07c: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ R13: 0000000000000000 R14: 00000000ffffff8b R15: ffff88809257f7a0 FS: 00007fb33b105700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 F2FS-fs (loop4): invalid crc value CR2: 00005559cdda4288 CR3: 00000000aa820000 CR4: 00000000003406e0 00000000fd2c5dfb: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 F2FS-fs (loop4): Found nat_bits in checkpoint DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 000000000709516b: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ Call Trace: __filemap_set_wb_err+0x21/0x280 mm/filemap.c:700 filemap_set_wb_err include/linux/fs.h:2707 [inline] mapping_set_error include/linux/pagemap.h:54 [inline] xfs_writepage_map fs/xfs/xfs_aops.c:796 [inline] xfs_do_writepage+0xb87/0xfa0 fs/xfs/xfs_aops.c:908 000000003c2b7806: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240 00000000fa0389e3: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ F2FS-fs (loop4): f2fs_check_nid_range: out-of-range nid=2, run fsck to fix. xfs_vm_writepages+0xe9/0x170 fs/xfs/xfs_aops.c:943 XFS (loop0): metadata I/O error in "xfs_trans_read_buf_map" at daddr 0x4 len 1 error 117 do_writepages+0xe5/0x290 mm/page-writeback.c:2344 XFS (loop0): xfs_do_force_shutdown(0x8) called from line 439 of file fs/xfs/libxfs/xfs_defer.c. Return address = 00000000233e711f __filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446 file_write_and_wait_range+0x93/0x100 mm/filemap.c:776 xfs_file_fsync+0x161/0xa40 fs/xfs/xfs_file.c:118 vfs_fsync_range+0x13a/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2750 [inline] xfs_file_buffered_aio_write+0xa0f/0xbf0 fs/xfs/xfs_file.c:686 xfs_file_write_iter+0x346/0x450 fs/xfs/xfs_file.c:726 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fb33cb930a9 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:00007fb33b105168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb33ccb2f80 RCX: 00007fb33cb930a9 RDX: 00000000000ffe00 RSI: 0000000020004200 RDI: 0000000000000005 RBP: 00007fb33cbeeae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffee4ced51f R14: 00007fb33b105300 R15: 0000000000022000 Modules linked in: XFS (loop0): Corruption of in-memory data detected. Shutting down filesystem XFS (loop0): Please umount the filesystem and rectify the problem(s) F2FS-fs (loop4): Mounted with checkpoint version = 48b305e4 ---[ end trace 4849c7e84a00146d ]--- RIP: 0010:__read_once_size include/linux/compiler.h:263 [inline] RIP: 0010:errseq_set+0x26/0x150 lib/errseq.c:71 Code: 1f 44 00 00 41 57 41 56 41 89 f6 41 55 41 54 55 53 48 89 fb e8 3b 6a ec fd 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 f4 RSP: 0018:ffff88809257f460 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000168 RCX: ffffc90005c24000 RDX: 000000000000002d RSI: ffffffff83761b35 RDI: 0000000000000168 RBP: 00000000ffffff8b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 00000000ffffff8b R15: ffff88809257f7a0 FS: 00007fb33b105700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd233980008 CR3: 00000000aa820000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 44 00 00 add %r8b,(%rax) 3: 41 57 push %r15 5: 41 56 push %r14 7: 41 89 f6 mov %esi,%r14d a: 41 55 push %r13 c: 41 54 push %r12 e: 55 push %rbp f: 53 push %rbx 10: 48 89 fb mov %rdi,%rbx 13: e8 3b 6a ec fd callq 0xfdec6a53 18: 48 89 da mov %rbx,%rdx 1b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 22: fc ff df 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2d: 48 89 d8 mov %rbx,%rax 30: 83 e0 07 and $0x7,%eax 33: 83 c0 03 add $0x3,%eax 36: 38 d0 cmp %dl,%al 38: 7c 08 jl 0x42 3a: 84 d2 test %dl,%dl 3c: 0f .byte 0xf 3d: 85 f4 test %esi,%esp