ci2 starts bisection 2024-04-04 12:47:57.546070628 +0000 UTC m=+105.726605968 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: b304cc4e52a7c13c2a1ecdf31eb375b07b0c1809d518444b371b6203601204ab 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: 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: use-after-free Read in f2fs_truncate_data_blocks_range run #6: crashed: KASAN: slab-out-of-bounds 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: 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 [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], 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: 408eaf03e6c6d9befd9eb8965f8b33cce56adc4441fb248a9b39866c2a1e3a13 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: slab-out-of-bounds 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 bug reproduces without the instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], 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 [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: 404eeb6f6385b356fc8aa44a87141b06607741ba52921fa9f130a017295b976f 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: slab-out-of-bounds 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: 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 [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: 54d5c3674195046547aed3eff987913c8ced48633365fffdcc900a84961c6f6d 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 3/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], 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: 8d2c96d4d902a75061d091d63e593053d348cc00a8eea8ddb0a562060fd7ca0e 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 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: 339ae3e28e9c1ed1028b453627f75c9e86629cf00d132e57e1ee024181d3e8b6 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 5/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 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing current HEAD ebcdb9dc211f42a26523f6a4571304855de2643b testing commit ebcdb9dc211f42a26523f6a4571304855de2643b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cc5f0d58beba3bf20269514d267bce3e8c1b440ce8ddaa7fc5df63817285ca35 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: 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] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 4h47m48.352531063s (build: 2h7m50.242118923s, test: 55m57.987416355s) crash still not fixed or there were kernel test errors commit msg: ANDROID: Move cpu_busy_with_softirqs() into sched.h crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 ================================================================== BUG: KASAN: use-after-free in f2fs_truncate_data_blocks_range+0x6f4/0xd10 fs/f2fs/file.c:578 Read of size 4 at addr ffff88812427c000 by task syz-executor.0/350 CPU: 0 PID: 350 Comm: syz-executor.0 Not tainted 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x6f4/0xd10 fs/f2fs/file.c:578 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 Allocated by task 293: 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:3429 [inline] __kmem_cache_alloc_lru mm/slub.c:3436 [inline] kmem_cache_alloc+0x175/0x2c0 mm/slub.c:3445 dst_alloc+0x113/0x170 net/core/dst.c:92 ip6_dst_alloc net/ipv6/route.c:344 [inline] icmp6_dst_alloc+0xd8/0x4c0 net/ipv6/route.c:3265 ndisc_send_skb+0x231/0xb80 net/ipv6/ndisc.c:489 ndisc_send_rs+0x3ba/0x540 net/ipv6/ndisc.c:719 addrconf_dad_completed+0x642/0xaf0 net/ipv6/addrconf.c:4285 addrconf_dad_work+0x80b/0x1360 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:306 Freed by task 80: 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:3684 [inline] kmem_cache_free+0x264/0x450 mm/slub.c:3706 dst_destroy+0x1fd/0x320 net/core/dst.c:127 dst_destroy_rcu+0xd/0x10 net/core/dst.c:140 rcu_do_batch+0x505/0xb30 kernel/rcu/tree.c:2264 rcu_core+0x4ae/0xe50 kernel/rcu/tree.c:2524 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2541 __do_softirq+0x1d2/0x5f2 kernel/softirq.c:617 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:2774 [inline] call_rcu+0xd8/0x1060 kernel/rcu/tree.c:2893 call_rcu_hurry include/linux/rcupdate.h:116 [inline] dst_release+0x41/0x70 net/core/dst.c:177 refdst_drop include/net/dst.h:256 [inline] skb_dst_drop include/net/dst.h:268 [inline] skb_release_head_state+0x4a/0x150 net/core/skbuff.c:840 skb_release_all net/core/skbuff.c:854 [inline] __kfree_skb net/core/skbuff.c:870 [inline] kfree_skb_reason+0x5b/0x170 net/core/skbuff.c:893 kfree_skb include/linux/skbuff.h:1232 [inline] ip6gre_tunnel_xmit+0x104c/0x17e0 net/ipv6/ip6_gre.c:950 __netdev_start_xmit include/linux/netdevice.h:4908 [inline] netdev_start_xmit include/linux/netdevice.h:4922 [inline] xmit_one net/core/dev.c:3634 [inline] dev_hard_start_xmit+0x1d2/0x4d0 net/core/dev.c:3650 sch_direct_xmit+0x228/0x890 net/sched/sch_generic.c:342 __dev_xmit_skb net/core/dev.c:3861 [inline] __dev_queue_xmit+0x1533/0x2b00 net/core/dev.c:4266 dev_queue_xmit include/linux/netdevice.h:3076 [inline] neigh_resolve_output+0x614/0x740 net/core/neighbour.c:1563 neigh_output include/net/neighbour.h:552 [inline] ip6_finish_output2+0xd41/0x15b0 net/ipv6/ip6_output.c:134 __ip6_finish_output net/ipv6/ip6_output.c:201 [inline] ip6_finish_output+0x485/0x970 net/ipv6/ip6_output.c:212 NF_HOOK_COND include/linux/netfilter.h:294 [inline] ip6_output+0x1aa/0x410 net/ipv6/ip6_output.c:233 dst_output include/net/dst.h:444 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ndisc_send_skb+0x6ac/0xb80 net/ipv6/ndisc.c:509 ndisc_send_rs+0x3ba/0x540 net/ipv6/ndisc.c:719 addrconf_dad_completed+0x642/0xaf0 net/ipv6/addrconf.c:4285 addrconf_dad_work+0x80b/0x1360 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:306 The buggy address belongs to the object at ffff88812427c000 which belongs to the cache ip6_dst_cache of size 248 The buggy address is located 0 bytes inside of 248-byte region [ffff88812427c000, ffff88812427c0f8) The buggy address belongs to the physical page: page:ffffea0004909f00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x12427c flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 0000000000000000 dead000000000122 ffff888100b9a780 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 293, tgid 293 (kworker/1:2), ts 45518030882, free_ts 0 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook mm/page_alloc.c:2566 [inline] prep_new_page+0x512/0x5e0 mm/page_alloc.c:2573 get_page_from_freelist+0x288b/0x2910 mm/page_alloc.c:4401 __alloc_pages+0x39f/0x780 mm/page_alloc.c:5688 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:3429 [inline] __kmem_cache_alloc_lru mm/slub.c:3436 [inline] kmem_cache_alloc+0x1b9/0x2c0 mm/slub.c:3445 dst_alloc+0x113/0x170 net/core/dst.c:92 ip6_dst_alloc net/ipv6/route.c:344 [inline] icmp6_dst_alloc+0xd8/0x4c0 net/ipv6/route.c:3265 ndisc_send_skb+0x231/0xb80 net/ipv6/ndisc.c:489 ndisc_send_ns+0xaf/0x110 net/ipv6/ndisc.c:667 addrconf_dad_work+0xaf8/0x1360 net/ipv6/addrconf.c:4208 process_one_work+0x6de/0xd00 kernel/workqueue.c:2299 worker_thread+0x892/0xf20 kernel/workqueue.c:2446 kthread+0x215/0x270 kernel/kthread.c:386 page_owner free stack trace missing Memory state around the buggy address: ffff88812427bf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88812427bf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88812427c000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88812427c080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc ffff88812427c100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ================================================================== F2FS-fs (loop0): access invalid blkaddr:181676928 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:80 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:127926505 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:181677440 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:2209969568 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:2209872944 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:4294901760 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:4294941762 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:606588120 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:454324928 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:767 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:33554432 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:128 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:767 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:33554432 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:606585040 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:606585040 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:4147348800 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:293 CPU: 1 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:95879445 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:100532547 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:729 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:757 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:807 f2fs_setattr+0xa5e/0x10e0 fs/f2fs/file.c:1014 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3292 [inline] do_open fs/namei.c:3637 [inline] path_openat+0x200e/0x2440 fs/namei.c:3790 do_filp_open+0x226/0x430 fs/namei.c:3817 do_sys_openat2+0x103/0x6c0 fs/open.c:1341 do_sys_open fs/open.c:1357 [inline] __do_sys_creat fs/open.c:1433 [inline] __se_sys_creat fs/open.c:1427 [inline] __x64_sys_creat+0x11a/0x160 fs/open.c:1427 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f119967c959 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:00007f119a3750c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f119979bf80 RCX: 00007f119967c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f11996d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f119979bf80 R15: 00007ffc722f6ee8 F2FS-fs (loop0): access invalid blkaddr:181674368 CPU: 0 PID: 350 Comm: syz-executor.0 Tainted: G B 6.1.75-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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+0x56f/0xd10 fs/f2fs/file.c:598 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:640 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x593/0xdd0 fs/f2fs/node.c:1156