R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ------------[ cut here ]------------ kernel BUG at fs/f2fs/inline.c:258! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 PID: 9130 Comm: syz-executor.2 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #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+0x570/0x680 fs/f2fs/inline.c:258 Code: 0f 8e 1a 01 00 00 48 63 83 e8 07 00 00 48 c1 e8 02 83 c0 01 48 98 48 c1 e0 02 48 89 44 24 08 e9 25 ff ff ff e8 11 a3 c1 fd 90 <0f> 0b e8 09 a3 c1 fd 90 0f 0b e8 01 a3 c1 fd 48 8b 5c 24 70 48 85 RSP: 0018:ffffc900074b6cb8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888049c71a70 RCX: ffffffff83cce8f0 RDX: ffff888020ba4880 RSI: ffffffff83ccecbf RDI: 0000000000000007 RBP: 0000000000000001 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000 R13: 1ffff92000e96d9d R14: ffffea000085da80 R15: ffff888049c71f18 FS: 0000000000000000(0000) GS:ffff88802c000000(0063) knlGS:00000000f5f37b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002000f000 CR3: 0000000056418000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_write_single_data_page+0x75d/0x1a70 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_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7345579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f5f375ac EFLAGS: 00000292 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 0000000020000040 RDX: 000000000000fea7 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:f2fs_write_inline_data+0x570/0x680 fs/f2fs/inline.c:258 Code: 0f 8e 1a 01 00 00 48 63 83 e8 07 00 00 48 c1 e8 02 83 c0 01 48 98 48 c1 e0 02 48 89 44 24 08 e9 25 ff ff ff e8 11 a3 c1 fd 90 <0f> 0b e8 09 a3 c1 fd 90 0f 0b e8 01 a3 c1 fd 48 8b 5c 24 70 48 85 RSP: 0018:ffffc900074b6cb8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888049c71a70 RCX: ffffffff83cce8f0 RDX: ffff888020ba4880 RSI: ffffffff83ccecbf RDI: 0000000000000007 RBP: 0000000000000001 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000 R13: 1ffff92000e96d9d R14: ffffea000085da80 R15: ffff888049c71f18 FS: 0000000000000000(0000) GS:ffff88802c200000(0063) knlGS:00000000f5f37b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000eeab8000 CR3: 0000000056418000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi