F2FS-fs (loop4): inject invalid blkaddr in f2fs_is_valid_blkaddr of do_write_page+0x277/0xb10 fs/f2fs/segment.c:3956 ------------[ cut here ]------------ kernel BUG at fs/f2fs/segment.c:3957! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 3641 Comm: syz.4.8377 Not tainted 6.16.0-rc3-next-20250627-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:do_write_page+0xa44/0xb10 fs/f2fs/segment.c:3956 Code: 82 7f ad fd 49 89 ed 48 89 e8 48 25 ff 0f 00 00 74 1a e8 8f 7a ad fd e9 9f 00 00 00 e8 85 7a ad fd 90 0f 0b e8 7d 7a ad fd 90 <0f> 0b 4d 89 ee 4c 89 ef be 08 00 00 00 e8 7a 7c 11 fe 49 c1 ee 03 RSP: 0018:ffffc9000552f9b8 EFLAGS: 00010287 RAX: ffffffff841257e3 RBX: ffffc9000552fac0 RCX: 0000000000080000 RDX: ffffc9000e686000 RSI: 0000000000003bfb RDI: 0000000000003bfc RBP: ffffc9000552fadc R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bfa428 R12: ffff888055340000 R13: 1ffff92000aa5f5b R14: dffffc0000000000 R15: ffffc9000552fadc FS: 00007fdb55aaf6c0(0000) GS:ffff888125d1e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdb55a8ed58 CR3: 000000003b516000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000d76 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: f2fs_outplace_write_data+0x11a/0x220 fs/f2fs/segment.c:4017 f2fs_convert_inline_folio+0x695/0xd50 fs/f2fs/inline.c:197 f2fs_convert_inline_inode+0x7c4/0x880 fs/f2fs/inline.c:249 f2fs_insert_range+0x156/0x420 fs/f2fs/file.c:1769 f2fs_fallocate+0x59a/0x990 fs/f2fs/file.c:2010 vfs_fallocate+0x6a0/0x830 fs/open.c:341 ksys_fallocate fs/open.c:365 [inline] __do_sys_fallocate fs/open.c:370 [inline] __se_sys_fallocate fs/open.c:368 [inline] __x64_sys_fallocate+0xc0/0x110 fs/open.c:368 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdb54b8e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdb55aaf038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fdb54db5fa0 RCX: 00007fdb54b8e929 RDX: 0000000000000000 RSI: 0000000000000020 RDI: 0000000000000005 RBP: 00007fdb54c10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000007000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdb54db5fa0 R15: 00007ffd33b49628 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:do_write_page+0xa44/0xb10 fs/f2fs/segment.c:3956 Code: 82 7f ad fd 49 89 ed 48 89 e8 48 25 ff 0f 00 00 74 1a e8 8f 7a ad fd e9 9f 00 00 00 e8 85 7a ad fd 90 0f 0b e8 7d 7a ad fd 90 <0f> 0b 4d 89 ee 4c 89 ef be 08 00 00 00 e8 7a 7c 11 fe 49 c1 ee 03 RSP: 0018:ffffc9000552f9b8 EFLAGS: 00010287 RAX: ffffffff841257e3 RBX: ffffc9000552fac0 RCX: 0000000000080000 RDX: ffffc9000e686000 RSI: 0000000000003bfb RDI: 0000000000003bfc RBP: ffffc9000552fadc R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bfa428 R12: ffff888055340000 R13: 1ffff92000aa5f5b R14: dffffc0000000000 R15: ffffc9000552fadc FS: 00007fdb55aaf6c0(0000) GS:ffff888125d1e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6f88b80ab8 CR3: 000000003b516000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000d76 DR6: 00000000ffff0ff0 DR7: 0000000000000400