ci2 starts bisection 2024-04-27 20:53:32.181335052 +0000 UTC m=+65344.590640569 bisecting fixing commit since 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 building syzkaller on ecca8a243762a781257ba0b65291bca940e13e9c ensuring issue is reproducible on original commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 453065d3174629504d2d84eaaf9ae8f4e563ab885aa9545478ec992ed8bb1b9e 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: 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: slab-out-of-bounds 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: 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] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 136bcf06b4aca8128f4df67b4ca7e587e5feafa2572e3475f883217a29d2f8cc run #0: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #1: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #5: crashed: KASAN: 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: 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 [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=4789 full=6024 leaves diff=237 split chunks (needed=false): <237> split chunk #0 of len 237 into 5 parts testing without sub-chunk 1/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f5db020312d15a359883bba1c4ceba929df3ff783a6f08a944e144ad4e158abe all runs: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a4d99e0efa39ce9ab1cf79e0dfcbede5a0e9b993f44669db71d2db17cb81dd2c 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: use-after-free Read in f2fs_truncate_data_blocks_range run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #5: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #6: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #7: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #8: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #9: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range representative crash: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8d01e5044bc24464927241e36309bc52162e024f650d83619fa4be843601b8da all runs: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 702933a5a7edb3f33b6131506cf4da19e11c3f02078855b4855fb1c84f4198d6 run #0: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #1: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #5: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #6: crashed: KASAN: 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 chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 43c801dc3325b9f07f8869e95ad87b05a9f21eb6: net/socket.c:1109: undefined reference to `wext_handle_ioctl' net/socket.c:3378: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:346: undefined reference to `wext_proc_exit' net/core/net-procfs.c:330: undefined reference to `wext_proc_init' minimized to 45 configs; suspects: [HID_ZEROPLUS USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD USB_OHCI_HCD_PCI USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_PRINTER USB_SERIAL USB_SERIAL_FTDI_SIO USB_SERIAL_GENERIC USB_SERIAL_PL2303 USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_TRANCEVIBRATOR USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_WDM WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_ZYDAS X86_X32 ZEROPLUS_FF] disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing current HEAD 70b6ab09a34b4cbcada982b2f5c68a408a5c0cde testing commit 70b6ab09a34b4cbcada982b2f5c68a408a5c0cde gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b0eb6b8f658df048249427e3be08d739c55dd803335ea4476a3f4cf53b9a1f9b 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] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 2h2m51.423949325s (build: 35m11.877201869s, test: 1h25m45.718322118s) crash still not fixed or there were kernel test errors commit msg: Revert "hrtimer: Report offline hrtimer enqueue" crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 ================================================================== BUG: KASAN: use-after-free in f2fs_truncate_data_blocks_range+0xc51/0xe90 fs/f2fs/file.c:581 Read of size 4 at addr ffff888125c08000 by task syz-executor.0/342 CPU: 0 PID: 342 Comm: syz-executor.0 Not tainted 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 print_address_description.constprop.0+0x24/0x160 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report.cold+0x82/0xdb mm/kasan/report.c:452 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308 f2fs_truncate_data_blocks_range+0xc51/0xe90 fs/f2fs/file.c:581 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 Allocated by task 343: kasan_save_stack+0x26/0x50 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:430 [inline] __kasan_slab_alloc+0x94/0xc0 mm/kasan/common.c:463 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook mm/slab.h:583 [inline] slab_alloc_node mm/slub.c:2947 [inline] slab_alloc mm/slub.c:2955 [inline] kmem_cache_alloc+0x15d/0x4f0 mm/slub.c:2960 getname_flags.part.0+0x4d/0x480 fs/namei.c:141 getname_flags include/linux/audit.h:320 [inline] getname+0x75/0xa0 fs/namei.c:212 do_sys_openat2+0xdf/0x810 fs/open.c:1211 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x124/0x200 fs/open.c:1244 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 Freed by task 343: kasan_save_stack+0x26/0x50 mm/kasan/common.c:38 kasan_set_track+0x25/0x30 mm/kasan/common.c:45 kasan_set_free_info+0x24/0x40 mm/kasan/generic.c:370 ____kasan_slab_free mm/kasan/common.c:362 [inline] ____kasan_slab_free mm/kasan/common.c:324 [inline] __kasan_slab_free+0x111/0x150 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1595 [inline] slab_free_freelist_hook+0x9b/0x1a0 mm/slub.c:1621 slab_free mm/slub.c:3203 [inline] kmem_cache_free+0x106/0x440 mm/slub.c:3219 putname+0xab/0xf0 fs/namei.c:262 do_sys_openat2+0x118/0x810 fs/open.c:1226 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x124/0x200 fs/open.c:1244 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 The buggy address belongs to the object at ffff888125c08000 which belongs to the cache names_cache of size 4096 The buggy address is located 0 bytes inside of 4096-byte region [ffff888125c08000, ffff888125c09000) The buggy address belongs to the page: page:ffffea0004970200 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x125c08 head:ffffea0004970200 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head) raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100169380 raw: 0000000000000000 0000000000070007 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 343, ts 41089307445, free_ts 0 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page mm/page_alloc.c:2462 [inline] get_page_from_freelist+0x1fee/0x2ad0 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x2ae/0x2360 mm/page_alloc.c:5346 __alloc_pages include/linux/gfp.h:544 [inline] __alloc_pages_node include/linux/gfp.h:557 [inline] alloc_pages_node include/linux/gfp.h:571 [inline] alloc_pages include/linux/gfp.h:590 [inline] alloc_slab_page mm/slub.c:1665 [inline] allocate_slab+0x30f/0x460 mm/slub.c:1808 new_slab mm/slub.c:1869 [inline] new_slab_objects mm/slub.c:2627 [inline] ___slab_alloc.constprop.0+0x32b/0x730 mm/slub.c:2791 __slab_alloc mm/slub.c:2831 [inline] slab_alloc_node mm/slub.c:2913 [inline] slab_alloc mm/slub.c:2955 [inline] kmem_cache_alloc+0x491/0x4f0 mm/slub.c:2960 getname_flags.part.0+0x4d/0x480 fs/namei.c:141 getname_flags include/linux/audit.h:320 [inline] user_path_at_empty+0x8e/0xf0 fs/namei.c:2740 user_path_at include/linux/namei.h:60 [inline] path_setxattr+0xa2/0x150 fs/xattr.c:562 __do_sys_lsetxattr fs/xattr.c:589 [inline] __se_sys_lsetxattr fs/xattr.c:585 [inline] __x64_sys_lsetxattr+0xbc/0x150 fs/xattr.c:585 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 page_owner free stack trace missing Memory state around the buggy address: ffff888125c07f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888125c07f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888125c08000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888125c08080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888125c08100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== F2FS-fs (loop0): access invalid blkaddr:394681120 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:343 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:3500146843 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:1853190703 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:1701082415 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:1768697718 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:796093294 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:1714583644 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:1802725732 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:1714583644 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:1965914466 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:1550084469 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:862335608 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:1701078582 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:761488947 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:959526241 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:859386925 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:1647848803 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:1697472865 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:859386419 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:1631151409 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): access invalid blkaddr:6502712 CPU: 0 PID: 342 Comm: syz-executor.0 Tainted: G B 5.10.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x13a/0x1c0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x396/0x9e0 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x5f/0x260 fs/f2fs/file.c:755 f2fs_truncate fs/f2fs/file.c:807 [inline] f2fs_truncate+0x18d/0x360 fs/f2fs/file.c:778 f2fs_setattr+0x834/0x12b0 fs/f2fs/file.c:971 notify_change+0x7b0/0xd90 fs/attr.c:410 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3509 do_filp_open+0x193/0x3d0 fs/namei.c:3536 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f841447d959 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:00007f84140000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f841459cf80 RCX: 00007f841447d959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f84144d9c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f841459cf80 R15: 00007ffcb7cf0828 F2FS-fs (loop0): dec_valid_node_count: inconsistent i_blocks, ino:8, iblocks:0