ci2 starts bisection 2024-01-20 13:22:14.241627316 +0000 UTC m=+80635.777063945 bisecting fixing commit since 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 building syzkaller on ecca8a243762a781257ba0b65291bca940e13e9c ensuring issue is reproducible on original commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b59dfd3328b54ae5e4f483434b4842e289a419ba8f9ce07d6efb1f1b4c233cba run #0: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #1: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #4: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #5: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #6: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #7: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #8: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #9: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #10: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #11: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #12: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #13: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #14: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #15: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #16: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #17: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #18: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #19: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ffece7daaba196c5b93f1328bb5fef0aed043e3635d310e2d477d3bca4d8a21a all runs: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed kconfig minimization: base=4789 full=6024 leaves diff=237 split chunks (needed=false): <237> split chunk #0 of len 237 into 5 parts testing without sub-chunk 1/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 219a8c5ac47b90ca87adfca22f04612a28cb96cc631cdaea5df3ac58c8add3fa all runs: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 70b74ced98822ca02d038c549f05dd295bfbef7b143b129478bd29afc2524c4f run #0: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #1: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #5: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #6: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #7: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #8: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #9: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 375b8959b15eb12dfd96222ba7707e538e226b36abe225b79c805ed20e1b01c3 all runs: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 343aeb523c4d78a3fcd5cf795b7513a55dc284f66e9b377f7f52514740a74019 run #0: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #1: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #2: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #5: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #6: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #7: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #8: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #9: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 43c801dc3325b9f07f8869e95ad87b05a9f21eb6: net/socket.c:1109: undefined reference to `wext_handle_ioctl' net/socket.c:3378: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:346: undefined reference to `wext_proc_exit' net/core/net-procfs.c:330: undefined reference to `wext_proc_init' minimized to 45 configs; suspects: [HID_ZEROPLUS USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD USB_OHCI_HCD_PCI USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_PRINTER USB_SERIAL USB_SERIAL_FTDI_SIO USB_SERIAL_GENERIC USB_SERIAL_PL2303 USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_TRANCEVIBRATOR USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_WDM WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_ZYDAS X86_X32 ZEROPLUS_FF] disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD 1a7db4583e18ca49cb3babc08be65afcb4f32925 testing commit 1a7db4583e18ca49cb3babc08be65afcb4f32925 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0c4bf77db3ab0fa2e332fcc6800f23cb818af3ebc516c6a549f3e18dc404c414 run #0: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #1: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #5: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #6: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #7: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #8: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #9: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 43m14.264254202s (build: 19m28.531194455s, test: 22m10.420820325s) crash still not fixed or there were kernel test errors commit msg: Revert "ipv6: remove max_size check inline with ipv4" crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 ================================================================== BUG: KASAN: use-after-free in f2fs_truncate_data_blocks_range+0xc51/0xe90 fs/f2fs/file.c:581 Read of size 4 at addr ffff888121744000 by task syz-executor.0/348 CPU: 1 PID: 348 Comm: syz-executor.0 Not tainted 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 print_address_description.constprop.0+0x24/0x160 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report.cold+0x82/0xdb mm/kasan/report.c:452 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308 f2fs_truncate_data_blocks_range+0xc51/0xe90 fs/f2fs/file.c:581 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 Allocated by task 0: kasan_save_stack+0x26/0x50 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:430 [inline] __kasan_slab_alloc+0x94/0xc0 mm/kasan/common.c:463 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook mm/slab.h:583 [inline] slab_alloc_node mm/slub.c:2947 [inline] slab_alloc mm/slub.c:2955 [inline] kmem_cache_alloc+0x15d/0x4f0 mm/slub.c:2960 dst_alloc+0x7f/0x590 net/core/dst.c:93 ip6_dst_alloc+0x26/0xf0 net/ipv6/route.c:339 icmp6_dst_alloc+0xc6/0x6f0 net/ipv6/route.c:3160 mld_sendpack+0x52a/0xae0 net/ipv6/mcast.c:1665 mld_send_cr net/ipv6/mcast.c:1972 [inline] mld_ifc_timer_expire+0x4a5/0xc50 net/ipv6/mcast.c:2471 call_timer_fn+0x2b/0x190 kernel/time/timer.c:1420 expire_timers kernel/time/timer.c:1465 [inline] __run_timers.part.0+0x45c/0x840 kernel/time/timer.c:1759 __run_timers kernel/time/timer.c:1737 [inline] run_timer_softirq+0x9c/0x180 kernel/time/timer.c:1772 __do_softirq+0x1bc/0x5f3 kernel/softirq.c:309 Freed by task 0: kasan_save_stack+0x26/0x50 mm/kasan/common.c:38 kasan_set_track+0x25/0x30 mm/kasan/common.c:45 kasan_set_free_info+0x24/0x40 mm/kasan/generic.c:370 ____kasan_slab_free mm/kasan/common.c:362 [inline] ____kasan_slab_free mm/kasan/common.c:324 [inline] __kasan_slab_free+0x111/0x150 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1595 [inline] slab_free_freelist_hook+0x9b/0x1a0 mm/slub.c:1621 slab_free mm/slub.c:3203 [inline] kmem_cache_free+0x106/0x440 mm/slub.c:3219 dst_destroy+0x1f2/0x2d0 net/core/dst.c:129 dst_destroy_rcu+0xd/0x10 net/core/dst.c:142 rcu_do_batch+0x34e/0xb90 kernel/rcu/tree.c:2494 rcu_core+0x3fa/0xa40 kernel/rcu/tree.c:2735 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2748 __do_softirq+0x1bc/0x5f3 kernel/softirq.c:309 Last potentially related work creation: kasan_save_stack+0x26/0x50 mm/kasan/common.c:38 __kasan_record_aux_stack+0xd8/0xf0 mm/kasan/generic.c:348 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:358 __call_rcu kernel/rcu/tree.c:2976 [inline] call_rcu+0xe4/0x12d0 kernel/rcu/tree.c:3050 dst_release net/core/dst.c:179 [inline] dst_release+0x44/0x60 net/core/dst.c:169 refdst_drop include/net/dst.h:252 [inline] skb_dst_drop include/net/dst.h:264 [inline] __dev_queue_xmit+0x135b/0x25f0 net/core/dev.c:4146 dev_queue_xmit+0xb/0x10 net/core/dev.c:4223 neigh_hh_output include/net/neighbour.h:501 [inline] neigh_output include/net/neighbour.h:515 [inline] ip6_finish_output2+0x11f4/0x1c20 net/ipv6/ip6_output.c:145 __ip6_finish_output.part.0+0x272/0x7b0 net/ipv6/ip6_output.c:216 __ip6_finish_output net/ipv6/ip6_output.c:231 [inline] ip6_finish_output+0x1cb/0x340 net/ipv6/ip6_output.c:226 NF_HOOK_COND include/linux/netfilter.h:288 [inline] ip6_output+0x1c7/0x430 net/ipv6/ip6_output.c:249 dst_output include/net/dst.h:437 [inline] NF_HOOK include/linux/netfilter.h:299 [inline] NF_HOOK.constprop.0+0x1a2/0x1d0 include/linux/netfilter.h:293 mld_sendpack+0x5aa/0xae0 net/ipv6/mcast.c:1676 mld_send_cr net/ipv6/mcast.c:1972 [inline] mld_ifc_timer_expire+0x4a5/0xc50 net/ipv6/mcast.c:2471 call_timer_fn+0x2b/0x190 kernel/time/timer.c:1420 expire_timers kernel/time/timer.c:1465 [inline] __run_timers.part.0+0x45c/0x840 kernel/time/timer.c:1759 __run_timers kernel/time/timer.c:1737 [inline] run_timer_softirq+0x9c/0x180 kernel/time/timer.c:1772 __do_softirq+0x1bc/0x5f3 kernel/softirq.c:309 The buggy address belongs to the object at ffff888121744000 which belongs to the cache ip6_dst_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff888121744000, ffff8881217440f0) The buggy address belongs to the page: page:ffffea000485d100 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x121744 flags: 0x4000000000000200(slab) raw: 4000000000000200 dead000000000100 dead000000000122 ffff88810a113200 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_HARDWALL), pid 294, ts 48110152264, free_ts 0 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page mm/page_alloc.c:2462 [inline] get_page_from_freelist+0x1fee/0x2ad0 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x2ae/0x2360 mm/page_alloc.c:5346 __alloc_pages include/linux/gfp.h:544 [inline] __alloc_pages_node include/linux/gfp.h:557 [inline] alloc_pages_node include/linux/gfp.h:571 [inline] alloc_pages include/linux/gfp.h:590 [inline] alloc_slab_page mm/slub.c:1665 [inline] allocate_slab+0x30f/0x460 mm/slub.c:1808 new_slab mm/slub.c:1869 [inline] new_slab_objects mm/slub.c:2627 [inline] ___slab_alloc.constprop.0+0x32b/0x730 mm/slub.c:2791 __slab_alloc mm/slub.c:2831 [inline] slab_alloc_node mm/slub.c:2913 [inline] slab_alloc mm/slub.c:2955 [inline] kmem_cache_alloc+0x491/0x4f0 mm/slub.c:2960 dst_alloc+0x7f/0x590 net/core/dst.c:93 ip6_dst_alloc+0x26/0xf0 net/ipv6/route.c:339 icmp6_dst_alloc+0xc6/0x6f0 net/ipv6/route.c:3160 ndisc_send_skb+0xaf3/0xe30 net/ipv6/ndisc.c:489 ndisc_send_ns+0x2c2/0x7f0 net/ipv6/ndisc.c:651 addrconf_dad_work+0xa3e/0x1220 net/ipv6/addrconf.c:4184 process_one_work+0x5f5/0xe40 kernel/workqueue.c:2301 worker_thread+0x402/0xcd0 kernel/workqueue.c:2447 kthread+0x345/0x420 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299 page_owner free stack trace missing Memory state around the buggy address: ffff888121743f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888121743f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888121744000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888121744080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff888121744100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ================================================================== F2FS-fs (loop0): access invalid blkaddr:108723328 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:2795503794 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:108723712 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:2203804560 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:2203775808 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:4294901760 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:4294942016 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:561267096 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:767 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:369098752 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:128 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:767 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:369098752 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:256 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:3735879680 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:290 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:3735879680 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:4149574400 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:2596274354 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:3552575666 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:108722176 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 F2FS-fs (loop0): access invalid blkaddr:2795503794 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 5.10.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f066b375959 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:00007f066aef80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f066b494f80 RCX: 00007f066b375959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f066b3d1c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f066b494f80 R15: 00007fffeb7dcca8 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