ci2 starts bisection 2024-12-22 14:17:00.379188222 +0000 UTC m=+14334.053453091 bisecting fixing commit since af58dc05bbd2ea4e3996ff7c24db2f42176be3df building syzkaller on ecca8a243762a781257ba0b65291bca940e13e9c ensuring issue is reproducible on original commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 63f8c541eea8f1aaa81f7404d4132539e9e3b0a43f78e1e5f28fb53ce738f8c6 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: 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: use-after-free 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: slab-out-of-bounds 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 [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d564b4f3ff7446b0262dd98ad4a2707e90b4a1da638caa7d6c1db7bccc6e3807 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: 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: use-after-free Read in f2fs_truncate_data_blocks_range run #8: crashed: KASAN: slab-out-of-bounds 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] the bug reproduces without the instrumentation disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=5179 full=6520 leaves diff=251 split chunks (needed=false): <251> split chunk #0 of len 251 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 00276773b9144f5f55b7945b7725ffae91f6c2870c43e7e61a3ed84e8150f685 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: 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: 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: slab-out-of-bounds 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 af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cfaa8aeecd73a5620a8144301c2b02f804baa37ecf0a9a4b833caec5465efdfe 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: slab-out-of-bounds 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 af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8a41da65cf6a5907ad775f4aee20a12cdd1c7c7fae0f0a10f4a69f35d21ecb65 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: slab-out-of-bounds 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 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 596e058c3b0f6b5e772b71a919520613dab2994745f99f28da03dc654b0cad99 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: 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 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building af58dc05bbd2ea4e3996ff7c24db2f42176be3df: net/socket.c:1225: undefined reference to `wext_handle_ioctl' net/socket.c:3420: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:329: undefined reference to `wext_proc_init' net/core/net-procfs.c:345: undefined reference to `wext_proc_exit' minimized to 47 configs; suspects: [HID_ZEROPLUS USB_NET_GL620A 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_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_PURELIFI WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_SILABS WLAN_VENDOR_ZYDAS X86_X32_ABI ZEROPLUS_FF] disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD 3e3f2b9e9fca67de6a6eb9967067d157ea12eaa1 testing commit 3e3f2b9e9fca67de6a6eb9967067d157ea12eaa1 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 15544cdcb9325437f2e59a793367b66c182d7de4a3356603863b1b13d259abf8 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: 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: 1h24m39.615555121s (build: 41m46.718066099s, test: 39m19.14670806s) crash still not fixed or there were kernel test errors commit msg: BACKPORT: f2fs: fix to account dirty data in __get_secs_required() crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 ================================================================== BUG: KASAN: use-after-free in f2fs_truncate_data_blocks_range+0x5ca/0xca0 fs/f2fs/file.c:630 Read of size 4 at addr ffff8881233a0000 by task syz-executor.0/362 CPU: 0 PID: 362 Comm: syz-executor.0 Not tainted 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0x158/0x4e0 mm/kasan/report.c:427 kasan_report+0x13c/0x170 mm/kasan/report.c:531 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:350 f2fs_truncate_data_blocks_range+0x5ca/0xca0 fs/f2fs/file.c:630 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 Allocated by task 305: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505 __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:333 kasan_slab_alloc include/linux/kasan.h:202 [inline] slab_post_alloc_hook+0x59/0x270 mm/slab.h:768 slab_alloc_node mm/slub.c:3421 [inline] slab_alloc mm/slub.c:3431 [inline] __kmem_cache_alloc_lru mm/slub.c:3438 [inline] kmem_cache_alloc+0x175/0x320 mm/slub.c:3447 dst_alloc+0x113/0x170 net/core/dst.c:92 ip6_dst_alloc net/ipv6/route.c:345 [inline] icmp6_dst_alloc+0xd8/0x4c0 net/ipv6/route.c:3269 mld_sendpack+0x4d1/0xbb0 net/ipv6/mcast.c:1809 mld_send_cr net/ipv6/mcast.c:2121 [inline] mld_ifc_work+0x73f/0xa70 net/ipv6/mcast.c:2653 process_one_work+0x6de/0xd00 kernel/workqueue.c:2299 worker_thread+0x892/0xf20 kernel/workqueue.c:2446 kthread+0x215/0x270 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Freed by task 362: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0x131/0x180 mm/kasan/common.c:241 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:249 kasan_slab_free include/linux/kasan.h:178 [inline] slab_free_hook mm/slub.c:1745 [inline] slab_free_freelist_hook mm/slub.c:1771 [inline] slab_free mm/slub.c:3686 [inline] kmem_cache_free+0x268/0x4a0 mm/slub.c:3711 dst_destroy+0x163/0x2d0 net/core/dst.c:124 dst_destroy_rcu+0xd/0x10 net/core/dst.c:137 rcu_do_batch+0x523/0xb40 kernel/rcu/tree.c:2297 rcu_core+0x499/0xed0 kernel/rcu/tree.c:2557 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2574 handle_softirqs+0x1d2/0x5f0 kernel/softirq.c:617 __do_softirq kernel/softirq.c:655 [inline] invoke_softirq kernel/softirq.c:472 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:704 irq_exit_rcu+0x9/0x10 kernel/softirq.c:716 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691 Last potentially related work creation: kasan_save_stack+0x3b/0x60 mm/kasan/common.c:45 __kasan_record_aux_stack+0xb4/0xc0 mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496 __call_rcu_common kernel/rcu/tree.c:2807 [inline] call_rcu+0xd3/0xfd0 kernel/rcu/tree.c:2926 call_rcu_hurry include/linux/rcupdate.h:117 [inline] dst_release+0x9c/0xf0 net/core/dst.c:181 refdst_drop include/net/dst.h:256 [inline] skb_dst_drop include/net/dst.h:268 [inline] __dev_queue_xmit+0x6ac/0x2b80 net/core/dev.c:4267 dev_queue_xmit include/linux/netdevice.h:3076 [inline] neigh_hh_output include/net/neighbour.h:536 [inline] neigh_output include/net/neighbour.h:550 [inline] ip6_finish_output2+0xdff/0x15c0 net/ipv6/ip6_output.c:138 __ip6_finish_output net/ipv6/ip6_output.c:205 [inline] ip6_finish_output+0x485/0x970 net/ipv6/ip6_output.c:216 NF_HOOK_COND include/linux/netfilter.h:294 [inline] ip6_output+0x1c8/0x460 net/ipv6/ip6_output.c:237 dst_output include/net/dst.h:444 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] mld_sendpack+0x642/0xbb0 net/ipv6/mcast.c:1820 mld_send_cr net/ipv6/mcast.c:2121 [inline] mld_ifc_work+0x73f/0xa70 net/ipv6/mcast.c:2653 process_one_work+0x6de/0xd00 kernel/workqueue.c:2299 worker_thread+0x892/0xf20 kernel/workqueue.c:2446 kthread+0x215/0x270 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 The buggy address belongs to the object at ffff8881233a0000 which belongs to the cache ip6_dst_cache of size 248 The buggy address is located 0 bytes inside of 248-byte region [ffff8881233a0000, ffff8881233a00f8) The buggy address belongs to the physical page: page:ffffea00048ce800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1233a0 flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 0000000000000000 dead000000000122 ffff888100b8af00 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 305, tgid 305 (kworker/0:2), ts 54548668087, free_ts 54013476684 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook mm/page_alloc.c:2590 [inline] prep_new_page+0x512/0x5e0 mm/page_alloc.c:2597 get_page_from_freelist+0x2f97/0x3010 mm/page_alloc.c:4462 __alloc_pages+0x234/0x610 mm/page_alloc.c:5759 alloc_slab_page+0x6c/0xf0 allocate_slab mm/slub.c:1962 [inline] new_slab+0x7b/0x370 mm/slub.c:2015 ___slab_alloc+0x611/0x9a0 mm/slub.c:3203 __slab_alloc+0x52/0x90 mm/slub.c:3302 slab_alloc_node mm/slub.c:3387 [inline] slab_alloc mm/slub.c:3431 [inline] __kmem_cache_alloc_lru mm/slub.c:3438 [inline] kmem_cache_alloc+0x1be/0x320 mm/slub.c:3447 dst_alloc+0x113/0x170 net/core/dst.c:92 ip6_dst_alloc net/ipv6/route.c:345 [inline] icmp6_dst_alloc+0xd8/0x4c0 net/ipv6/route.c:3269 mld_sendpack+0x4d1/0xbb0 net/ipv6/mcast.c:1809 mld_send_cr net/ipv6/mcast.c:2121 [inline] mld_ifc_work+0x73f/0xa70 net/ipv6/mcast.c:2653 process_one_work+0x6de/0xd00 kernel/workqueue.c:2299 worker_thread+0x892/0xf20 kernel/workqueue.c:2446 kthread+0x215/0x270 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1498 [inline] free_pcp_prepare mm/page_alloc.c:1572 [inline] free_unref_page_prepare+0x794/0x7a0 mm/page_alloc.c:3511 free_unref_page_list+0xf1/0x790 mm/page_alloc.c:3659 release_pages+0xcfc/0xd50 mm/swap.c:1063 free_pages_and_swap_cache+0x68/0x80 mm/swap_state.c:315 tlb_batch_pages_flush mm/mmu_gather.c:59 [inline] tlb_flush_mmu_free mm/mmu_gather.c:254 [inline] tlb_flush_mmu mm/mmu_gather.c:261 [inline] tlb_finish_mmu+0x1ba/0x3b0 mm/mmu_gather.c:361 unmap_region+0x2a3/0x300 mm/mmap.c:2403 do_mas_align_munmap+0xb63/0x1150 mm/mmap.c:2670 do_mas_munmap+0x199/0x1e0 mm/mmap.c:2728 __vm_munmap+0x24e/0x360 mm/mmap.c:3018 __do_sys_munmap mm/mmap.c:3044 [inline] __se_sys_munmap mm/mmap.c:3040 [inline] __x64_sys_munmap+0x66/0x70 mm/mmap.c:3040 x64_sys_call+0x75/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:12 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Memory state around the buggy address: ffff88812339ff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88812339ff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881233a0000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881233a0080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc ffff8881233a0100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ================================================================== F2FS-fs (loop0): access invalid blkaddr:165244416 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:362 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:73924844 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:165241600 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:2210190400 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:2210093392 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:4294901760 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:4294942657 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:591004696 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:591013696 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:767 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:369098752 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:128 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:767 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:369098752 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:591003856 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:591003856 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:4146303296 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:305 CPU: 1 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:113508587 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:126550252 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:165241216 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3284 [inline] do_open fs/namei.c:3629 [inline] path_openat+0x200e/0x2440 fs/namei.c:3782 do_filp_open+0x226/0x430 fs/namei.c:3809 do_sys_openat2+0x103/0x6e0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1435 [inline] __se_sys_creat fs/open.c:1429 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1429 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f017907c959 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:00007f0179d6a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f017919bf80 RCX: 00007f017907c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f01790d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f017919bf80 R15: 00007ffe36900178 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 362 Comm: syz-executor.0 Tainted: G B 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 dump_stack+0x10/0x18 lib/dump_stack.c:113 __f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:215 f2fs_is_valid_blkaddr_raw+0x9/0x10 fs/f2fs/checkpoint.c:244 f2fs_truncate_data_blocks_range+0x517/0xca0 fs/f2fs/file.c:649 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:688 truncate_dnode fs/f2fs/node.c:952 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1164 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:777 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:805 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:855 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1064 notify_change+0xa05/0xdb0 fs/attr.c:499