F2FS-fs (loop9): inject invalid blkaddr in f2fs_is_valid_blkaddr of f2fs_do_zero_range fs/f2fs/file.c:1647 [inline] F2FS-fs (loop9): inject invalid blkaddr in f2fs_is_valid_blkaddr of f2fs_zero_range+0xefa/0x1590 fs/f2fs/file.c:1737 F2FS-fs (loop9): __update_extent_tree_range: extent len is zero, type: 0, extent [0, 0, 0], age [0, 0] ------------[ cut here ]------------ kernel BUG at fs/f2fs/extent_cache.c:678! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 11487 Comm: syz.9.583 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:__update_extent_tree_range+0x13bd/0x1500 fs/f2fs/extent_cache.c:678 Code: 48 c7 c2 00 ef 33 8b 48 c7 c1 d5 05 fa 8c 44 8b 44 24 0c 4c 8b 4c 24 30 41 ff 37 41 56 6a 00 53 e8 18 0a ef ff 48 83 c4 20 90 <0f> 0b f3 0f 1e fa 65 44 8b 3d 49 f5 99 0d bf 07 00 00 00 44 89 fe RSP: 0018:ffffc90005d37920 EFLAGS: 00010282 RAX: 10bc5caaf38a6000 RBX: 0000000000000000 RCX: 10bc5caaf38a6000 RDX: ffffc90014659000 RSI: 00000000000033ea RDI: 00000000000033eb RBP: ffffc90005d37af0 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed1017104923 R12: 1ffff92000ba6f48 R13: ffff88805c8ad580 R14: 0000000000000000 R15: ffffc90005d37b18 FS: 00007fb7a42e66c0(0000) GS:ffff888126d12000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fba8476b000 CR3: 000000001f7c6000 CR4: 00000000003526f0 Call Trace: f2fs_update_read_extent_cache_range+0x192/0x3e0 fs/f2fs/extent_cache.c:1085 f2fs_do_zero_range fs/f2fs/file.c:1657 [inline] f2fs_zero_range+0x10cb/0x1590 fs/f2fs/file.c:1737 f2fs_fallocate+0x576/0x970 fs/f2fs/file.c:2030 vfs_fallocate+0x672/0x7f0 fs/open.c:339 ksys_fallocate fs/open.c:363 [inline] __do_sys_fallocate fs/open.c:368 [inline] __se_sys_fallocate fs/open.c:366 [inline] __x64_sys_fallocate+0xc0/0x110 fs/open.c:366 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb7a607f749 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:00007fb7a42e6038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fb7a62d5fa0 RCX: 00007fb7a607f749 RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000007 RBP: 00007fb7a6103f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000007000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb7a62d6038 R14: 00007fb7a62d5fa0 R15: 00007fffdb3e6288 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__update_extent_tree_range+0x13bd/0x1500 fs/f2fs/extent_cache.c:678 Code: 48 c7 c2 00 ef 33 8b 48 c7 c1 d5 05 fa 8c 44 8b 44 24 0c 4c 8b 4c 24 30 41 ff 37 41 56 6a 00 53 e8 18 0a ef ff 48 83 c4 20 90 <0f> 0b f3 0f 1e fa 65 44 8b 3d 49 f5 99 0d bf 07 00 00 00 44 89 fe RSP: 0018:ffffc90005d37920 EFLAGS: 00010282 RAX: 10bc5caaf38a6000 RBX: 0000000000000000 RCX: 10bc5caaf38a6000 RDX: ffffc90014659000 RSI: 00000000000033ea RDI: 00000000000033eb RBP: ffffc90005d37af0 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed1017104923 R12: 1ffff92000ba6f48 R13: ffff88805c8ad580 R14: 0000000000000000 R15: ffffc90005d37b18 FS: 00007fb7a42e66c0(0000) GS:ffff888126d12000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fba8476b000 CR3: 000000001f7c6000 CR4: 00000000003526f0