F2FS-fs (loop0): Found nat_bits in checkpoint F2FS-fs (loop0): Try to recover 1th superblock, ret: 0 F2FS-fs (loop0): Mounted with checkpoint version = 48b305e5 ------------[ cut here ]------------ kernel BUG at fs/f2fs/inline.c:258! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 PID: 5309 Comm: syz-executor.0 Not tainted 6.10.0-rc2-syzkaller-00007-gf06ce441457d #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:f2fs_write_inline_data+0x66d/0x7c0 fs/f2fs/inline.c:258 Code: c0 74 08 3c 03 0f 8e 19 01 00 00 4c 63 bb e8 07 00 00 49 83 e7 fc 49 8d 47 04 48 89 44 24 08 e9 d5 fe ff ff e8 d4 ec be fd 90 <0f> 0b e8 cc ec be fd 90 0f 0b e8 c4 ec be fd 48 8b 5c 24 78 48 85 RSP: 0018:ffffc9000384ecc0 EFLAGS: 00010283 RAX: 000000000001c85b RBX: ffff8880488a9a70 RCX: ffffc90005be5000 RDX: 0000000000040000 RSI: ffffffff83cef81c RDI: 0000000000000007 RBP: 0000000000000001 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000 R13: 1ffff92000709d9f R14: ffffea00007a4200 R15: 0000000000000001 FS: 00007f6562a346c0(0000) GS:ffff88806b000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002000 CR3: 000000002f7a6000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_write_single_data_page+0x711/0x1930 fs/f2fs/data.c:2858 f2fs_write_cache_pages+0xd73/0x2350 fs/f2fs/data.c:3157 __f2fs_write_data_pages fs/f2fs/data.c:3312 [inline] f2fs_write_data_pages+0x4af/0xdc0 fs/f2fs/data.c:3339 do_writepages+0x1a3/0x7f0 mm/page-writeback.c:2634 filemap_fdatawrite_wbc mm/filemap.c:397 [inline] filemap_fdatawrite_wbc+0x148/0x1c0 mm/filemap.c:387 __filemap_fdatawrite_range+0xba/0x100 mm/filemap.c:430 file_write_and_wait_range+0xd0/0x140 mm/filemap.c:788 f2fs_do_sync_file+0x2e9/0x1ff0 fs/f2fs/file.c:276 f2fs_sync_file+0x140/0x1b0 fs/f2fs/file.c:394 vfs_fsync_range+0x141/0x230 fs/sync.c:188 generic_write_sync include/linux/fs.h:2794 [inline] f2fs_file_write_iter+0x1148/0x2220 fs/f2fs/file.c:4935 new_sync_write fs/read_write.c:497 [inline] vfs_write+0x6b6/0x1140 fs/read_write.c:590 ksys_write+0x12f/0x260 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6561c7cee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6562a340c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6561dabf80 RCX: 00007f6561c7cee9 RDX: 0000000000002000 RSI: 0000000020000040 RDI: 000000000000000a RBP: 00007f6561cc949e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6561dabf80 R15: 00007ffe66736488 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:f2fs_write_inline_data+0x66d/0x7c0 fs/f2fs/inline.c:258 Code: c0 74 08 3c 03 0f 8e 19 01 00 00 4c 63 bb e8 07 00 00 49 83 e7 fc 49 8d 47 04 48 89 44 24 08 e9 d5 fe ff ff e8 d4 ec be fd 90 <0f> 0b e8 cc ec be fd 90 0f 0b e8 c4 ec be fd 48 8b 5c 24 78 48 85 RSP: 0018:ffffc9000384ecc0 EFLAGS: 00010283 RAX: 000000000001c85b RBX: ffff8880488a9a70 RCX: ffffc90005be5000 RDX: 0000000000040000 RSI: ffffffff83cef81c RDI: 0000000000000007 RBP: 0000000000000001 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000 R13: 1ffff92000709d9f R14: ffffea00007a4200 R15: 0000000000000001 FS: 00007f6562a346c0(0000) GS:ffff88806b300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31730000 CR3: 000000002f7a6000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400