R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 ================================================================== BUG: KASAN: use-after-free in f2fs_truncate_data_blocks_range+0x81f/0xf90 fs/f2fs/file.c:562 Read of size 4 at addr ffff8881d94fb000 by task syz-executor.0/419 CPU: 1 PID: 419 Comm: syz-executor.0 Not tainted 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:562 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 Allocated by task 24: 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 kmem_cache_alloc_node include/linux/slab.h:427 [inline] __alloc_skb+0x7a/0x4d0 net/core/skbuff.c:198 alloc_skb include/linux/skbuff.h:1080 [inline] ndisc_alloc_skb+0xee/0x2c0 net/ipv6/ndisc.c:421 ndisc_send_ns+0x29d/0x830 net/ipv6/ndisc.c:627 addrconf_dad_work+0xb91/0x16f0 net/ipv6/addrconf.c:4195 process_one_work+0x765/0xd20 kernel/workqueue.c:2290 worker_thread+0xaef/0x1470 kernel/workqueue.c:2436 kthread+0x2da/0x360 kernel/kthread.c:288 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354 Freed by task 17: 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 ip6_mc_input+0x236/0x2a0 net/ipv6/ip6_input.c:550 NF_HOOK include/linux/netfilter.h:303 [inline] ipv6_rcv+0xee/0x280 net/ipv6/ip6_input.c:278 __netif_receive_skb_one_core net/core/dev.c:4972 [inline] __netif_receive_skb+0x1c6/0x530 net/core/dev.c:5086 process_backlog+0x34f/0x680 net/core/dev.c:5921 napi_poll net/core/dev.c:6367 [inline] net_rx_action+0x53f/0x1160 net/core/dev.c:6435 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292 The buggy address belongs to the object at ffff8881d94fb000 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff8881d94fb000, ffff8881d94fb0f0) The buggy address belongs to the page: page:ffffea0007653ec0 refcount:1 mapcount:0 mapping:ffff8881f1ccc280 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 dead000000000100 dead000000000122 ffff8881f1ccc280 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 kmem_cache_alloc_node include/linux/slab.h:427 [inline] __alloc_skb+0x7a/0x4d0 net/core/skbuff.c:198 alloc_skb include/linux/skbuff.h:1080 [inline] alloc_skb_with_frags+0x92/0x550 net/core/skbuff.c:5828 sock_alloc_send_pskb+0x831/0x950 net/core/sock.c:2276 mld_newpack+0x1b2/0x990 net/ipv6/mcast.c:1607 add_grhead net/ipv6/mcast.c:1710 [inline] add_grec+0xec5/0x12f0 net/ipv6/mcast.c:1841 mld_send_cr net/ipv6/mcast.c:1967 [inline] mld_ifc_timer_expire+0x73d/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 page_owner free stack trace missing Memory state around the buggy address: ffff8881d94faf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881d94faf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881d94fb000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881d94fb080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff8881d94fb100: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ================================================================== F2FS-fs (loop0): access invalid blkaddr:3645878592 CPU: 1 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:3650961408 CPU: 1 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:35 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:393216 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:72 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:14 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:2 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:35 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:2 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:3726726 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:131088 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:88 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:128 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:3646952448 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:3646952464 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:768 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:1 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:24 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:3026190600 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:17 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:2795503921 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:3646948352 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 419 Comm: syz-executor.0 Tainted: G B 5.4.276-syzkaller-04920-g3ffe89ed1bf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:580 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:708 f2fs_truncate_blocks fs/f2fs/file.c:736 [inline] f2fs_truncate+0x275/0x540 fs/f2fs/file.c:780 f2fs_setattr+0x9a4/0x1040 fs/f2fs/file.c:944 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:0x7f2c20a85959 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:00007f2c206080c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f2c20ba4f80 RCX: 00007f2c20a85959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f2c20ae1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c20ba4f80 R15: 00007fffc570db58 F2FS-fs (loop0): dec_valid_node_count: inconsistent i_blocks, ino:8, iblocks:0