ci2 starts bisection 2024-01-27 19:58:06.303285613 +0000 UTC m=+176840.177479383 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: ce0c2c616ac354b82a69b57980d12d6292bc2129c5842719d8ee4ea11caeee5e 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 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: slab-out-of-bounds 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: 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: 91c508e9345449af3ece7ba0f641705a01cd014ec58043501fb1d17021aadfa9 run #0: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #1: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #5: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #6: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #7: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #8: crashed: KASAN: 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 [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 [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f45fa6ec45ea46f011fca377a236e16580051262d8af704fc14d7923ecda94aa run #0: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #1: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #2: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #5: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #6: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #7: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #8: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #9: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/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: a3cf37ba9554fa789643873eefab34637d2884018277f978adef4ba4bcedc604 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: 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 chunk can be dropped testing without sub-chunk 3/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: 8bcde9884090a2c2233e2f1b2745154d824e3934ed65e7a36ec9bbe1496a3b1f 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] the chunk can be dropped testing without sub-chunk 4/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: 6781c19ff942e04e96ac1c3948c0180121a09f53e748b3e71e4b0b4b79d8ced7 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: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #6: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #7: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #8: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #9: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: 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 [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 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 [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing current HEAD 2730733d54b61c35b835ce5c21fab0e280e52577 testing commit 2730733d54b61c35b835ce5c21fab0e280e52577 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6cdb9a10fa13eda514b512eae03bd63bd282a994b287c9f3d87c72c14e0981b6 run #0: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #1: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #3: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #5: crashed: KASAN: 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] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 47m8.890075462s (build: 19m27.913831433s, test: 25m1.668812853s) crash still not fixed or there were kernel test errors commit msg: ANDROID: gki_defconfig: Enable CONFIG_NVME_MULTIPATH crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 ================================================================== BUG: KASAN: use-after-free in f2fs_truncate_data_blocks_range+0x6ce/0xcf0 fs/f2fs/file.c:578 Read of size 4 at addr ffff888124863000 by task syz-executor.0/348 CPU: 1 PID: 348 Comm: syz-executor.0 Not tainted 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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+0x6ce/0xcf0 fs/f2fs/file.c:578 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 Allocated by task 354: 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] kmem_cache_alloc_node+0x18a/0x2d0 mm/slub.c:3466 __alloc_skb+0x12c/0x700 net/core/skbuff.c:505 alloc_skb include/linux/skbuff.h:1283 [inline] alloc_skb_with_frags+0x7f/0x520 net/core/skbuff.c:6154 sock_alloc_send_pskb+0x7ef/0x8f0 net/core/sock.c:2744 unix_dgram_sendmsg+0x4c6/0x1cd0 net/unix/af_unix.c:1943 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] __sys_sendto+0x498/0x620 net/socket.c:2134 __do_sys_sendto net/socket.c:2146 [inline] __se_sys_sendto net/socket.c:2142 [inline] __x64_sys_sendto+0xe0/0x100 net/socket.c:2142 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 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 kfree_skbmem+0xb6/0x110 __kfree_skb net/core/skbuff.c:871 [inline] consume_skb+0x86/0x180 net/core/skbuff.c:1035 skb_free_datagram+0xc/0x10 net/core/datagram.c:322 __unix_dgram_recvmsg+0xb55/0x10c0 net/unix/af_unix.c:2530 unix_dgram_recvmsg+0xa8/0xc0 net/unix/af_unix.c:2547 sock_recvmsg_nosec net/socket.c:1017 [inline] sock_recvmsg net/socket.c:1035 [inline] sock_read_iter+0x33f/0x480 net/socket.c:1108 call_read_iter include/linux/fs.h:2252 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x780/0x9a0 fs/read_write.c:470 ksys_read+0x15c/0x240 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __x64_sys_read+0x76/0x80 fs/read_write.c:621 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 The buggy address belongs to the object at ffff888124863000 which belongs to the cache skbuff_head_cache of size 248 The buggy address is located 0 bytes inside of 248-byte region [ffff888124863000, ffff8881248630f8) The buggy address belongs to the physical page: page:ffffea00049218c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x124863 flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 0000000000000000 dead000000000122 ffff888100b74c00 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 0x112cc0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY), pid 296, tgid 296 (kworker/1:2), ts 41748220910, 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:4397 __alloc_pages+0x39f/0x780 mm/page_alloc.c:5684 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] kmem_cache_alloc_node+0x1c9/0x2d0 mm/slub.c:3466 __alloc_skb+0x12c/0x700 net/core/skbuff.c:505 alloc_skb include/linux/skbuff.h:1283 [inline] alloc_skb_with_frags+0x7f/0x520 net/core/skbuff.c:6154 sock_alloc_send_pskb+0x7ef/0x8f0 net/core/sock.c:2744 sock_alloc_send_skb include/net/sock.h:1921 [inline] mld_newpack+0x1c6/0xa50 net/ipv6/mcast.c:1748 add_grhead net/ipv6/mcast.c:1851 [inline] add_grec+0xcb6/0x1100 net/ipv6/mcast.c:1989 mld_send_cr net/ipv6/mcast.c:2115 [inline] mld_ifc_work+0x691/0xa70 net/ipv6/mcast.c:2653 process_one_work+0x6de/0xd00 kernel/workqueue.c:2299 worker_thread+0x892/0xf20 kernel/workqueue.c:2446 page_owner free stack trace missing Memory state around the buggy address: ffff888124862f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888124862f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888124863000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888124863080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc ffff888124863100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ================================================================== F2FS-fs (loop0): access invalid blkaddr:499078080 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:80 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:120520923 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:611666560 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:48 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:2209809184 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:74 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:1 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:4294901760 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:4294901760 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:74 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:128 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:611787776 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:611787776 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:768 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:1 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:354 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:118816987 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:480478488 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:296 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): access invalid blkaddr:70975773 CPU: 0 PID: 348 Comm: syz-executor.0 Tainted: G B 6.1.68-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:218 f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:596 f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:636 truncate_dnode fs/f2fs/node.c:944 [inline] f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156 f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:725 f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:753 f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:803 f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1010 notify_change+0xa05/0xdb0 fs/attr.c:499 do_truncate+0x1d6/0x2c0 fs/open.c:66 handle_truncate fs/namei.c:3216 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x200e/0x2440 fs/namei.c:3714 do_filp_open+0x226/0x430 fs/namei.c:3741 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:0x7f78f4c7c959 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:00007f78f5a7b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f78f4d9bf80 RCX: 00007f78f4c7c959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f78f4cd8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f78f4d9bf80 R15: 00007ffd30438938 F2FS-fs (loop0): Inconsistent i_blocks, ino:8, iblocks:0, sectors:24 F2FS-fs (loop0): dec_valid_node_count: inconsistent i_blocks, ino:8, iblocks:0