F2FS-fs (loop1): Found nat_bits in checkpoint F2FS-fs (loop1): Try to recover 1th superblock, ret: 0 F2FS-fs (loop1): Mounted with checkpoint version = 48b305e5 ------------[ cut here ]------------ kernel BUG at fs/f2fs/inline.c:258! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 PID: 19395 Comm: syz-executor.1 Not tainted 6.10.0-rc1-syzkaller-00267-gcc8ed4d0a848 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 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 54 f2 be fd 90 <0f> 0b e8 4c f2 be fd 90 0f 0b e8 44 f2 be fd 48 8b 5c 24 78 48 85 RSP: 0018:ffffc900031fecc0 EFLAGS: 00010287 RAX: 0000000000009ae4 RBX: ffff88805b0a7290 RCX: ffffc9000e24e000 RDX: 0000000000040000 RSI: ffffffff83cee29c RDI: 0000000000000007 RBP: 0000000000000001 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000 R13: 1ffff9200063fd9f R14: ffffea000071e4c0 R15: 0000000000000001 FS: 00007f92f39ff6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002000 CR3: 0000000068918000 CR4: 00000000003506f0 DR0: 000000000000004e 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:0x7f92f3e7cee9 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:00007f92f39ff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f92f3fb3fa0 RCX: 00007f92f3e7cee9 RDX: 0000000000002000 RSI: 0000000020000040 RDI: 0000000000000008 RBP: 00007f92f3ec947f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f92f3fb3fa0 R15: 00007ffd21d9cf38 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 54 f2 be fd 90 <0f> 0b e8 4c f2 be fd 90 0f 0b e8 44 f2 be fd 48 8b 5c 24 78 48 85 RSP: 0018:ffffc900031fecc0 EFLAGS: 00010287 RAX: 0000000000009ae4 RBX: ffff88805b0a7290 RCX: ffffc9000e24e000 RDX: 0000000000040000 RSI: ffffffff83cee29c RDI: 0000000000000007 RBP: 0000000000000001 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000 R13: 1ffff9200063fd9f R14: ffffea000071e4c0 R15: 0000000000000001 FS: 00007f92f39ff6c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001480534 CR3: 0000000068918000 CR4: 00000000003506f0 DR0: 000000000000004e DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400