RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 ================================================================== BUG: KASAN: use-after-free in f2fs_truncate_data_blocks_range+0x826/0xeb0 fs/f2fs/file.c:577 Read of size 4 at addr ffff8881269a7000 by task syz.2.17/562 CPU: 0 PID: 562 Comm: syz.2.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 print_address_description+0x7f/0x2b0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xe0/0x130 mm/kasan/report.c:451 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308 f2fs_truncate_data_blocks_range+0x826/0xeb0 fs/f2fs/file.c:577 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 Allocated by task 30: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0xc1/0xf0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4f/0x2b0 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0xf7/0x210 mm/slub.c:3233 dst_alloc+0x11c/0x180 net/core/dst.c:88 ip6_dst_alloc net/ipv6/route.c:342 [inline] icmp6_dst_alloc+0xf5/0x560 net/ipv6/route.c:3268 ndisc_send_skb+0x268/0xd10 net/ipv6/ndisc.c:493 ndisc_send_ns+0x842/0xaf0 net/ipv6/ndisc.c:655 addrconf_dad_work+0xa25/0x1530 net/ipv6/addrconf.c:4199 process_one_work+0x6be/0xba0 kernel/workqueue.c:2310 worker_thread+0xa56/0x1200 kernel/workqueue.c:2457 kthread+0x411/0x500 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Freed by task 24: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:366 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x100/0x2c0 mm/slub.c:3515 dst_destroy+0x1eb/0x2c0 net/core/dst.c:120 dst_destroy_rcu+0x19/0x20 net/core/dst.c:133 rcu_do_batch+0x51a/0xb90 kernel/rcu/tree.c:2523 rcu_core+0x5e1/0xf80 kernel/rcu/tree.c:2763 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2776 handle_softirqs+0x225/0x530 kernel/softirq.c:576 run_ksoftirqd+0x28/0x40 kernel/softirq.c:943 smpboot_thread_fn+0x45a/0x8c0 kernel/smpboot.c:164 kthread+0x411/0x500 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Last potentially related work creation: kasan_save_stack+0x35/0x60 mm/kasan/common.c:38 kasan_record_aux_stack+0xcb/0xf0 mm/kasan/generic.c:348 __call_rcu kernel/rcu/tree.c:3011 [inline] call_rcu+0xff/0xf10 kernel/rcu/tree.c:3091 dst_release+0x123/0x190 net/core/dst.c:177 refdst_drop include/net/dst.h:255 [inline] skb_dst_drop include/net/dst.h:267 [inline] __dev_queue_xmit+0x864/0x2e40 net/core/dev.c:4244 dev_queue_xmit+0x17/0x20 net/core/dev.c:4321 neigh_resolve_output+0x6cc/0x770 net/core/neighbour.c:1504 neigh_output include/net/neighbour.h:509 [inline] ip6_finish_output2+0x10cb/0x1780 net/ipv6/ip6_output.c:130 __ip6_finish_output+0x620/0x7d0 net/ipv6/ip6_output.c:201 ip6_finish_output+0x31/0x240 net/ipv6/ip6_output.c:211 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip6_output+0x1d1/0x3b0 net/ipv6/ip6_output.c:234 dst_output include/net/dst.h:452 [inline] NF_HOOK include/linux/netfilter.h:302 [inline] ndisc_send_skb+0x7dd/0xd10 net/ipv6/ndisc.c:513 ndisc_send_ns+0x842/0xaf0 net/ipv6/ndisc.c:655 addrconf_dad_work+0xa25/0x1530 net/ipv6/addrconf.c:4199 process_one_work+0x6be/0xba0 kernel/workqueue.c:2310 worker_thread+0xa56/0x1200 kernel/workqueue.c:2457 kthread+0x411/0x500 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 The buggy address belongs to the object at ffff8881269a7000 which belongs to the cache ip6_dst_cache of size 232 The buggy address is located 0 bytes inside of 232-byte region [ffff8881269a7000, ffff8881269a70e8) The buggy address belongs to the page: page:ffffea00049a69c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1269a7 flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 0000000000000000 dead000000000122 ffff88810b316c80 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_HARDWALL), pid 30, ts 50872332073, free_ts 50482200552 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x132/0x160 mm/page_alloc.c:2420 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x2fda/0x30b0 mm/page_alloc.c:4192 __alloc_pages+0x246/0x4f0 mm/page_alloc.c:5474 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1912 [inline] new_slab+0x98/0x460 mm/slub.c:1975 ___slab_alloc+0x381/0x810 mm/slub.c:3008 __slab_alloc+0x49/0x90 mm/slub.c:3095 slab_alloc_node mm/slub.c:3186 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x133/0x210 mm/slub.c:3233 dst_alloc+0x11c/0x180 net/core/dst.c:88 ip6_dst_alloc net/ipv6/route.c:342 [inline] icmp6_dst_alloc+0xf5/0x560 net/ipv6/route.c:3268 mld_sendpack+0x4b5/0xbb0 net/ipv6/mcast.c:1815 mld_send_cr net/ipv6/mcast.c:2127 [inline] mld_ifc_work+0x80c/0xbd0 net/ipv6/mcast.c:2659 process_one_work+0x6be/0xba0 kernel/workqueue.c:2310 worker_thread+0xa56/0x1200 kernel/workqueue.c:2457 kthread+0x411/0x500 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1413 [inline] free_unref_page_prepare+0x4f6/0x530 mm/page_alloc.c:3317 free_unref_page_list+0x11a/0x690 mm/page_alloc.c:3433 release_pages+0xc71/0xcd0 mm/swap.c:963 __pagevec_release+0x71/0xe0 mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] __invalidate_mapping_pages+0x422/0x4e0 mm/truncate.c:509 invalidate_mapping_pages+0x27/0x30 mm/truncate.c:533 __generic_file_write_iter+0x412/0x480 mm/filemap.c:3902 f2fs_file_write_iter+0x603/0xab0 fs/f2fs/file.c:4413 do_iter_readv_writev+0x491/0x600 fs/read_write.c:-1 do_iter_write+0x1fa/0x7b0 fs/read_write.c:855 vfs_writev+0x298/0x4f0 fs/read_write.c:928 do_writev+0x14a/0x2b0 fs/read_write.c:971 __do_sys_writev fs/read_write.c:1044 [inline] __se_sys_writev fs/read_write.c:1041 [inline] __x64_sys_writev+0x7d/0x90 fs/read_write.c:1041 x64_sys_call+0x974/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:21 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Memory state around the buggy address: ffff8881269a6f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881269a6f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881269a7000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881269a7080: fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc ffff8881269a7100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ================================================================== F2FS-fs (loop2): access invalid blkaddr:24767488 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:4294936705 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:24 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:3183476981 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:24765568 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:4294936705 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:2214414352 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:2214312864 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:4294901760 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:4294942296 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:647656792 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:4294936705 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:767 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:16777216 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:816491263 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:128 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:767 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:16777216 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:816491263 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:256 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:3735879680 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:290 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:3735879680 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:4145252864 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:4294936705 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:30 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:3456106742 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:3510632694 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:24764928 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:4294936705 CPU: 1 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9 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:00007f5ef04bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f5ef0873fa0 RCX: 00007f5ef064cbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f5ef06cfe19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ef0874038 R14: 00007f5ef0873fa0 R15: 00007fffa5d1c2f8 F2FS-fs (loop2): access invalid blkaddr:24 CPU: 0 PID: 562 Comm: syz.2.17 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 dump_stack+0x15/0x20 lib/dump_stack.c:113 f2fs_is_valid_blkaddr+0xc85/0x1290 fs/f2fs/checkpoint.c:200 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf5/0x140 fs/f2fs/file.c:634 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x636/0xf80 fs/f2fs/node.c:1162 f2fs_do_truncate_blocks+0x50f/0x860 fs/f2fs/file.c:723 f2fs_truncate_blocks+0x113/0x310 fs/f2fs/file.c:751 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:803 f2fs_setattr+0xaaa/0x1180 fs/f2fs/file.c:981 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:65 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x274d/0x2ef0 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x142/0x490 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1273 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5ef064cbe9