------------[ cut here ]------------ kernel BUG at fs/f2fs/inline.c:258! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 5189 Comm: syz-executor.3 Not tainted 6.10.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:f2fs_write_inline_data+0x781/0x790 fs/f2fs/inline.c:258 Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c e3 fc ff ff 48 89 df e8 2f 5a 0a fe e9 d6 fc ff ff e8 d5 54 8f 07 e8 c0 e3 a7 fd 90 <0f> 0b e8 b8 e3 a7 fd 90 0f 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc900046d6b20 EFLAGS: 00010287 RAX: ffffffff83ee31d0 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc900099e9000 RSI: 000000000000a7f4 RDI: 000000000000a7f5 RBP: ffffc900046d6c50 R08: ffffffff83ee2c95 R09: 1ffff1100e7544fd R10: dffffc0000000000 R11: ffffed100e7544fe R12: ffffc900046d6ba8 R13: 1ffff1100e7544fd R14: ffffc900046d6ba0 R15: ffffc900046d6bb0 FS: 00007f95ac74d6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555877ff8f8 CR3: 000000001e948000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_write_single_data_page+0xbb6/0x1e90 fs/f2fs/data.c:2858 f2fs_write_cache_pages fs/f2fs/data.c:3157 [inline] __f2fs_write_data_pages fs/f2fs/data.c:3312 [inline] f2fs_write_data_pages+0x1efe/0x3a90 fs/f2fs/data.c:3339 do_writepages+0x359/0x870 mm/page-writeback.c:2634 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:397 __filemap_fdatawrite_range mm/filemap.c:430 [inline] file_write_and_wait_range+0x1aa/0x290 mm/filemap.c:788 f2fs_do_sync_file+0x68a/0x1ae0 fs/f2fs/file.c:276 generic_write_sync include/linux/fs.h:2794 [inline] f2fs_file_write_iter+0x7bd/0x24e0 fs/f2fs/file.c:4935 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f95aba7cee9 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:00007f95ac74d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f95abbb3fa0 RCX: 00007f95aba7cee9 RDX: 0000000000002000 RSI: 0000000020000040 RDI: 000000000000000a RBP: 00007f95abac947f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f95abbb3fa0 R15: 00007ffd3c9995f8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:f2fs_write_inline_data+0x781/0x790 fs/f2fs/inline.c:258 Code: ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c e3 fc ff ff 48 89 df e8 2f 5a 0a fe e9 d6 fc ff ff e8 d5 54 8f 07 e8 c0 e3 a7 fd 90 <0f> 0b e8 b8 e3 a7 fd 90 0f 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc900046d6b20 EFLAGS: 00010287 RAX: ffffffff83ee31d0 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc900099e9000 RSI: 000000000000a7f4 RDI: 000000000000a7f5 RBP: ffffc900046d6c50 R08: ffffffff83ee2c95 R09: 1ffff1100e7544fd R10: dffffc0000000000 R11: ffffed100e7544fe R12: ffffc900046d6ba8 R13: 1ffff1100e7544fd R14: ffffc900046d6ba0 R15: ffffc900046d6bb0 FS: 00007f95ac74d6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd092b8528 CR3: 000000001e948000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400