RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 ================================================================== BUG: KASAN: use-after-free in f2fs_truncate_data_blocks_range+0x826/0xeb0 fs/f2fs/file.c:595 Read of size 4 at addr ffff888133036000 by task syz.3.38/433 CPU: 0 PID: 433 Comm: syz.3.38 Not tainted 5.15.189-syzkaller-android13-5.15.189_r00 #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/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:427 [inline] kasan_report+0xf1/0x140 mm/kasan/report.c:444 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308 f2fs_truncate_data_blocks_range+0x826/0xeb0 fs/f2fs/file.c:595 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 Allocated by task 433: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:433 [inline] __kasan_slab_alloc+0xbd/0xf0 mm/kasan/common.c:466 kasan_slab_alloc include/linux/kasan.h:217 [inline] slab_post_alloc_hook+0x4f/0x2b0 mm/slab.h:550 slab_alloc_node mm/slub.c:3240 [inline] slab_alloc mm/slub.c:3250 [inline] kmem_cache_alloc+0xf7/0x260 mm/slub.c:3255 dst_alloc+0x15c/0x1d0 net/core/dst.c:92 ip6_dst_alloc net/ipv6/route.c:342 [inline] icmp6_dst_alloc+0xf5/0x560 net/ipv6/route.c:3280 ndisc_send_skb+0x258/0xc70 net/ipv6/ndisc.c:493 ndisc_send_rs+0x6e5/0x960 net/ipv6/ndisc.c:707 addrconf_rs_timer+0x2c7/0x600 net/ipv6/addrconf.c:3977 call_timer_fn+0x38/0x290 kernel/time/timer.c:1457 expire_timers kernel/time/timer.c:1502 [inline] __run_timers+0x639/0x9a0 kernel/time/timer.c:1773 run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1786 handle_softirqs+0x250/0x560 kernel/softirq.c:583 __do_softirq kernel/softirq.c:621 [inline] invoke_softirq kernel/softirq.c:443 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:670 irq_exit_rcu+0x9/0x10 kernel/softirq.c:682 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:676 Freed by task 432: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4a/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:365 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:373 kasan_slab_free include/linux/kasan.h:193 [inline] slab_free_hook mm/slub.c:1723 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1749 slab_free mm/slub.c:3521 [inline] kmem_cache_free+0x100/0x320 mm/slub.c:3539 dst_destroy+0x1eb/0x2c0 net/core/dst.c:124 dst_destroy_rcu+0x19/0x20 net/core/dst.c:137 rcu_do_batch+0x51d/0xba0 kernel/rcu/tree.c:2523 rcu_core+0x5e4/0xf80 kernel/rcu/tree.c:2763 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2776 handle_softirqs+0x250/0x560 kernel/softirq.c:583 __do_softirq kernel/softirq.c:621 [inline] invoke_softirq kernel/softirq.c:443 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:670 irq_exit_rcu+0x9/0x10 kernel/softirq.c:682 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x58/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:676 Last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:38 __kasan_record_aux_stack+0xd2/0x100 mm/kasan/generic.c:348 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:358 __call_rcu_common kernel/rcu/tree.c:3011 [inline] call_rcu+0x105/0xfe0 kernel/rcu/tree.c:3129 call_rcu_hurry include/linux/rcupdate.h:89 [inline] dst_release+0x123/0x190 net/core/dst.c:181 refdst_drop include/net/dst.h:255 [inline] skb_dst_drop include/net/dst.h:267 [inline] skb_release_head_state+0x70/0x240 net/core/skbuff.c:727 skb_release_all net/core/skbuff.c:741 [inline] __kfree_skb net/core/skbuff.c:757 [inline] kfree_skb_reason net/core/skbuff.c:778 [inline] kfree_skb+0x89/0x2f0 net/core/skbuff.c:792 neigh_connected_output+0x442/0x460 net/core/neighbour.c:1536 neigh_output include/net/neighbour.h:517 [inline] ip6_finish_output2+0x10b7/0x1760 net/ipv6/ip6_output.c:130 __ip6_finish_output+0x61e/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:294 [inline] ip6_output+0x1d1/0x3b0 net/ipv6/ip6_output.c:234 dst_output include/net/dst.h:453 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ndisc_send_skb+0x797/0xc70 net/ipv6/ndisc.c:513 ndisc_send_rs+0x6e5/0x960 net/ipv6/ndisc.c:707 addrconf_rs_timer+0x2c7/0x600 net/ipv6/addrconf.c:3977 call_timer_fn+0x38/0x290 kernel/time/timer.c:1457 expire_timers kernel/time/timer.c:1502 [inline] __run_timers+0x639/0x9a0 kernel/time/timer.c:1773 run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1786 handle_softirqs+0x250/0x560 kernel/softirq.c:583 __do_softirq kernel/softirq.c:621 [inline] invoke_softirq kernel/softirq.c:443 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:670 irq_exit_rcu+0x9/0x10 kernel/softirq.c:682 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:676 The buggy address belongs to the object at ffff888133036000 which belongs to the cache ip6_dst_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff888133036000, ffff8881330360f0) The buggy address belongs to the page: page:ffffea0004cc0d80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x133036 flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 0000000000000000 dead000000000122 ffff88810ae00c00 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 20, ts 25020625634, free_ts 25013440491 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x192/0x1b0 mm/page_alloc.c:2605 prep_new_page+0x1c/0x110 mm/page_alloc.c:2611 get_page_from_freelist+0x2cc5/0x2d50 mm/page_alloc.c:4485 __alloc_pages+0x18f/0x440 mm/page_alloc.c:5795 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1932 [inline] new_slab+0xa1/0x4d0 mm/slub.c:1995 ___slab_alloc+0x381/0x810 mm/slub.c:3028 __slab_alloc+0x49/0x90 mm/slub.c:3115 slab_alloc_node mm/slub.c:3206 [inline] slab_alloc mm/slub.c:3250 [inline] kmem_cache_alloc+0x138/0x260 mm/slub.c:3255 dst_alloc+0x15c/0x1d0 net/core/dst.c:92 ip6_dst_alloc net/ipv6/route.c:342 [inline] icmp6_dst_alloc+0xf5/0x560 net/ipv6/route.c:3280 ndisc_send_skb+0x258/0xc70 net/ipv6/ndisc.c:493 ndisc_send_ns+0x842/0xaf0 net/ipv6/ndisc.c:655 addrconf_dad_work+0xa2b/0x1540 net/ipv6/addrconf.c:4219 process_one_work+0x6be/0xba0 kernel/workqueue.c:2325 worker_thread+0xa59/0x1200 kernel/workqueue.c:2472 kthread+0x411/0x500 kernel/kthread.c:337 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1472 [inline] free_pcp_prepare mm/page_alloc.c:1544 [inline] free_unref_page_prepare+0x542/0x550 mm/page_alloc.c:3534 free_unref_page_list+0x134/0x9d0 mm/page_alloc.c:3671 release_pages+0xfda/0x1030 mm/swap.c:1014 __pagevec_release+0x71/0xe0 mm/swap.c:1034 pagevec_release include/linux/pagevec.h:81 [inline] truncate_inode_pages_range+0x2f7/0xd60 mm/truncate.c:332 truncate_inode_pages mm/truncate.c:428 [inline] truncate_pagecache mm/truncate.c:743 [inline] truncate_setsize+0xbd/0xe0 mm/truncate.c:768 f2fs_setattr+0xa8c/0x11b0 fs/f2fs/file.c:996 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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 Memory state around the buggy address: ffff888133035f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888133035f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888133036000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888133036080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff888133036100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ================================================================== F2FS-fs (loop3): access invalid blkaddr:680114176 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:4294936705 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:432 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:4112515382 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:848830848 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:4294936705 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:2216533840 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:2216433056 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:4294901760 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:4294939724 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:767 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:33554432 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:128 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:767 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:33554432 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:256 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:3735879680 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:290 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:3735879680 CPU: 0 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:4144206400 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:4294936705 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:433 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:4250927454 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:2315256161 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:848830848 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:4294936705 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:432 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:4112515382 CPU: 1 PID: 433 Comm: syz.3.38 Tainted: G B 5.15.189-syzkaller-android13-5.15.189_r00 #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+0xca0/0x12a0 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652 truncate_dnode fs/f2fs/node.c:940 [inline] f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999 notify_change+0xbca/0xe90 fs/attr.c:505 do_truncate+0x197/0x220 fs/open.c:66 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x2769/0x2f10 fs/namei.c:3742 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_open fs/open.c:1258 [inline] __se_sys_open fs/open.c:1254 [inline] __x64_sys_open+0x11c/0x140 fs/open.c:1254 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:0x7f7b4417dbe9 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:00007f7b42be6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7b443a4fa0 RCX: 00007f7b4417dbe9 RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140 RBP: 00007f7b44200e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7b443a5038 R14: 00007f7b443a4fa0 R15: 00007ffde718e298 F2FS-fs (loop3): access invalid blkaddr:848833408