Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 ================================================================== BUG: KASAN: use-after-free in f2fs_truncate_data_blocks_range+0x81f/0xf90 fs/f2fs/file.c:565 Read of size 4 at addr ffff8881d9717000 by task syz-executor.0/418 CPU: 1 PID: 418 Comm: syz-executor.0 Not tainted 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 print_address_description+0x8c/0x600 mm/kasan/report.c:384 __kasan_report+0xf3/0x120 mm/kasan/report.c:516 kasan_report+0x30/0x60 mm/kasan/common.c:653 f2fs_truncate_data_blocks_range+0x81f/0xf90 fs/f2fs/file.c:565 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 Allocated by task 418: save_stack mm/kasan/common.c:70 [inline] set_track mm/kasan/common.c:78 [inline] __kasan_kmalloc+0x171/0x210 mm/kasan/common.c:529 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2829 [inline] slab_alloc mm/slub.c:2837 [inline] kmem_cache_alloc+0xd9/0x250 mm/slub.c:2842 dst_alloc+0x154/0x4c0 net/core/dst.c:93 ip6_dst_alloc net/ipv6/route.c:357 [inline] icmp6_dst_alloc+0xf1/0x550 net/ipv6/route.c:3186 mld_sendpack+0x4e2/0xb50 net/ipv6/mcast.c:1668 mld_send_cr net/ipv6/mcast.c:1975 [inline] mld_ifc_timer_expire+0x814/0xc10 net/ipv6/mcast.c:2474 call_timer_fn+0x36/0x390 kernel/time/timer.c:1448 expire_timers kernel/time/timer.c:1493 [inline] __run_timers+0x879/0xbe0 kernel/time/timer.c:1817 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292 Freed by task 418: save_stack mm/kasan/common.c:70 [inline] set_track mm/kasan/common.c:78 [inline] kasan_set_free_info mm/kasan/common.c:345 [inline] __kasan_slab_free+0x1b5/0x270 mm/kasan/common.c:487 slab_free_hook mm/slub.c:1455 [inline] slab_free_freelist_hook mm/slub.c:1494 [inline] slab_free mm/slub.c:3080 [inline] kmem_cache_free+0x10b/0x2c0 mm/slub.c:3096 dst_destroy+0x23f/0x320 net/core/dst.c:129 __rcu_reclaim kernel/rcu/rcu.h:222 [inline] rcu_do_batch+0x492/0xa00 kernel/rcu/tree.c:2167 rcu_core+0x4c8/0xcb0 kernel/rcu/tree.c:2387 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292 The buggy address belongs to the object at ffff8881d9717000 which belongs to the cache ip6_dst_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881d9717000, ffff8881d97170f0) The buggy address belongs to the page: page:ffffea000765c5c0 refcount:1 mapcount:0 mapping:ffff8881edd6fb80 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881edd6fb80 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) set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook mm/page_alloc.c:2165 [inline] prep_new_page+0x18f/0x370 mm/page_alloc.c:2171 get_page_from_freelist+0x2d13/0x2d90 mm/page_alloc.c:3794 __alloc_pages_nodemask+0x393/0x840 mm/page_alloc.c:4893 alloc_slab_page+0x39/0x3c0 mm/slub.c:343 allocate_slab mm/slub.c:1683 [inline] new_slab+0x97/0x440 mm/slub.c:1749 new_slab_objects mm/slub.c:2505 [inline] ___slab_alloc+0x2fe/0x490 mm/slub.c:2667 __slab_alloc+0x62/0xa0 mm/slub.c:2707 slab_alloc_node mm/slub.c:2792 [inline] slab_alloc mm/slub.c:2837 [inline] kmem_cache_alloc+0x109/0x250 mm/slub.c:2842 dst_alloc+0x154/0x4c0 net/core/dst.c:93 ip6_dst_alloc net/ipv6/route.c:357 [inline] icmp6_dst_alloc+0xf1/0x550 net/ipv6/route.c:3186 ndisc_send_skb+0x262/0xc30 net/ipv6/ndisc.c:491 ndisc_send_ns+0x64d/0x830 net/ipv6/ndisc.c:653 addrconf_dad_work+0xb91/0x16f0 net/ipv6/addrconf.c:4196 process_one_work+0x765/0xd20 kernel/workqueue.c:2290 worker_thread+0xaef/0x1470 kernel/workqueue.c:2436 kthread+0x2da/0x360 kernel/kthread.c:288 page_owner free stack trace missing Memory state around the buggy address: ffff8881d9716f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881d9716f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881d9717000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881d9717080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff8881d9717100: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ================================================================== F2FS-fs (loop0): access invalid blkaddr:4092464000 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:3953081664 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:4092463488 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:2211777152 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:2211673264 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:4294901761 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:4294941824 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:3648092760 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:767 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:369098752 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:128 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:767 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:369098752 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:256 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:3735879680 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:290 CPU: 0 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:3735879680 CPU: 0 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:4143288256 CPU: 0 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:418 CPU: 0 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:2466251019 CPU: 0 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:418 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:2661286155 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:4092461184 CPU: 1 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:3953081664 CPU: 0 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 418 Comm: syz-executor.0 Tainted: G B 5.4.289-syzkaller-05043-g39762b7a60e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 f2fs_is_valid_blkaddr+0xc79/0x1380 fs/f2fs/checkpoint.c:203 f2fs_truncate_data_blocks_range+0x66f/0xf90 fs/f2fs/file.c:583 truncate_dnode fs/f2fs/node.c:907 [inline] f2fs_truncate_inode_blocks+0x7a2/0x13d0 fs/f2fs/node.c:1119 f2fs_do_truncate_blocks+0x614/0xac0 fs/f2fs/file.c:711 f2fs_truncate_blocks fs/f2fs/file.c:739 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:783 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:947 notify_change+0xc00/0xeb0 fs/attr.c:354 do_truncate+0x1ed/0x2d0 fs/open.c:64 handle_truncate fs/namei.c:3154 [inline] do_last fs/namei.c:3571 [inline] path_openat+0x2e0f/0x34b0 fs/namei.c:3683 do_filp_open+0x20b/0x450 fs/namei.c:3713 do_sys_open+0x39c/0x810 fs/open.c:1123 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7ff216e14959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2169970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff216f33f80 RCX: 00007ff216e14959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007ff216e70c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff216f33f80 R15: 00007ffe7a296518 F2FS-fs (loop0): Inconsistent i_blocks, ino:8, iblocks:0, sectors:16 F2FS-fs (loop0): dec_valid_node_count: inconsistent i_blocks, ino:8, iblocks:0 ---------------- Code disassembly (best guess): 0: 28 00 sub %al,(%rax) 2: 00 00 add %al,(%rax) 4: 75 05 jne 0xb 6: 48 83 c4 28 add $0x28,%rsp a: c3 ret b: e8 e1 20 00 00 call 0x20f1 10: 90 nop 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall * 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 ret 33: 48 c7 c1 b0 ff ff ff mov $0xffffffffffffffb0,%rcx 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W