ci2 starts bisection 2023-07-16 17:04:09.962676313 +0000 UTC m=+160112.499613691 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: e26cd46702b8cd0dc2c784ccda3c27ebb7a2fc67b82c8f7e96c5fec937763a80 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: use-after-free Read in f2fs_truncate_data_blocks_range run #9: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #10: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #11: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #12: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #13: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #14: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #15: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #16: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #17: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #18: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #19: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #20: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #21: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #22: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #23: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #24: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #25: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #26: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #27: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #28: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #29: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #30: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #31: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #32: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #33: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #34: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #35: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #36: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #37: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #38: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #39: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1acbe431073250239b93b431744e5d3530f38a16fc34bface71e49743b9a9c32 all runs: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], 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 testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a16857aae614ac1919bbd33ad5b8f7777856289b3be57d501810236f21f30b39 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 testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7e90d1b810802bc83e30bb75a920f00cd021be869c6e19b08a1b43cc4577e351 all runs: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4641e8148d59a57e0f3b02966ab17ce3e5043da7f4e9e01aac60ce431ca451e6 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: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #10: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #11: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #12: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #13: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #14: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #15: crashed: KASAN: 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] the chunk can be dropped testing without sub-chunk 4/5 testing commit 43c801dc3325b9f07f8869e95ad87b05a9f21eb6 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8fe422c922c5f44f7dd01de42cf427ef831840608c03238f0d7cbb3cb35ec02a 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: use-after-free Read in f2fs_truncate_data_blocks_range run #9: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #10: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #11: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #12: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #13: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #14: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #15: crashed: KASAN: 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] the chunk can be dropped testing without sub-chunk 5/5 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing current HEAD 59b65efafe20d18e4d05e8b3f63445bc12cb2cda testing commit 59b65efafe20d18e4d05e8b3f63445bc12cb2cda gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7b2868c08f25047fc007c56a4666b534902a84bfe8f535d9d76f58ae4825017e 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: 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: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #10: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #11: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #12: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #13: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #14: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #15: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range run #16: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range run #17: crashed: KASAN: slab-out-of-bounds 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] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h2m28.420342861s (build: 40m9.239866408s, test: 20m58.327279006s) crash still not fixed on HEAD or HEAD had kernel test errors commit msg: Revert "gpio: Allow per-parent interrupt data" crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 ================================================================== BUG: KASAN: use-after-free in f2fs_truncate_data_blocks_range+0xc51/0xe90 fs/f2fs/file.c:581 Read of size 4 at addr ffff888125051000 by task syz-executor.0/344 CPU: 1 PID: 344 Comm: syz-executor.0 Not tainted 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 print_address_description.constprop.0+0x24/0x160 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report.cold+0x82/0xdb mm/kasan/report.c:452 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308 f2fs_truncate_data_blocks_range+0xc51/0xe90 fs/f2fs/file.c:581 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 Allocated by task 24: 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 kmem_cache_alloc_node include/linux/slab.h:423 [inline] __alloc_skb+0x41/0x4d0 net/core/skbuff.c:199 alloc_skb include/linux/skbuff.h:1126 [inline] ndisc_alloc_skb+0x135/0x320 net/ipv6/ndisc.c:420 ndisc_send_ns+0x12f/0x7f0 net/ipv6/ndisc.c:626 addrconf_dad_work+0xa3e/0x1220 net/ipv6/addrconf.c:4179 process_one_work+0x5f5/0xe40 kernel/workqueue.c:2298 worker_thread+0x402/0xcd0 kernel/workqueue.c:2444 kthread+0x345/0x420 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299 Freed by task 24: 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 kfree_skbmem+0x95/0x140 net/core/skbuff.c:637 __kfree_skb net/core/skbuff.c:694 [inline] kfree_skb net/core/skbuff.c:712 [inline] kfree_skb+0xb9/0x2a0 net/core/skbuff.c:705 ip6_mc_input+0x28a/0x320 net/ipv6/ip6_input.c:574 dst_input include/net/dst.h:443 [inline] ip6_rcv_finish net/ipv6/ip6_input.c:80 [inline] ip6_rcv_finish net/ipv6/ip6_input.c:70 [inline] NF_HOOK include/linux/netfilter.h:299 [inline] NF_HOOK include/linux/netfilter.h:293 [inline] ipv6_rcv+0x206/0x240 net/ipv6/ip6_input.c:301 __netif_receive_skb_one_core+0x109/0x190 net/core/dev.c:5374 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5488 process_backlog+0x266/0x600 net/core/dev.c:6395 napi_poll net/core/dev.c:6846 [inline] net_rx_action+0x34b/0xcc0 net/core/dev.c:6916 __do_softirq+0x1bc/0x5f3 kernel/softirq.c:309 The buggy address belongs to the object at ffff888125051000 which belongs to the cache skbuff_head_cache of size 240 The buggy address is located 0 bytes inside of 240-byte region [ffff888125051000, ffff8881250510f0) The buggy address belongs to the page: page:ffffea0004941440 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x125051 flags: 0x4000000000000200(slab) raw: 4000000000000200 dead000000000100 dead000000000122 ffff888107fc2300 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_HARDWALL), pid 344, ts 43920203102, free_ts 0 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2455 [inline] prep_new_page mm/page_alloc.c:2461 [inline] get_page_from_freelist+0x1fee/0x2ad0 mm/page_alloc.c:4253 __alloc_pages_nodemask+0x2ae/0x2360 mm/page_alloc.c:5345 __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 kmem_cache_alloc_node include/linux/slab.h:423 [inline] __alloc_skb+0x41/0x4d0 net/core/skbuff.c:199 alloc_skb include/linux/skbuff.h:1126 [inline] alloc_skb_with_frags+0x76/0x4a0 net/core/skbuff.c:5927 sock_alloc_send_pskb+0x697/0x850 net/core/sock.c:2361 sock_alloc_send_skb+0x13/0x20 net/core/sock.c:2378 mld_newpack+0x1c0/0x950 net/ipv6/mcast.c:1604 add_grhead+0x243/0x320 net/ipv4/igmp.c:442 add_grec+0xb29/0xdc0 net/ipv6/mcast.c:1838 mld_send_cr net/ipv6/mcast.c:1964 [inline] mld_ifc_timer_expire+0x438/0xc50 net/ipv6/mcast.c:2471 call_timer_fn+0x2b/0x190 kernel/time/timer.c:1420 expire_timers kernel/time/timer.c:1465 [inline] __run_timers.part.0+0x45c/0x840 kernel/time/timer.c:1759 __run_timers kernel/time/timer.c:1737 [inline] run_timer_softirq+0x9c/0x180 kernel/time/timer.c:1772 page_owner free stack trace missing Memory state around the buggy address: ffff888125050f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888125050f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888125051000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888125051080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc ffff888125051100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ================================================================== F2FS-fs (loop0): access invalid blkaddr:621355008 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:24 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:2879389914 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:546201600 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:47 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:393216 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:72 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:14 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:2 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:47 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:2 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:3726726 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:131088 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:88 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:128 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:549265408 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:549265424 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:768 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:1 CPU: 0 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:24 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:3141533914 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:621090368 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:24 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 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:00007fd9243610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fd9248fdf80 RCX: 00007fd9247de959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007fd92483ac88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9248fdf80 R15: 00007ffc36bd9c38 F2FS-fs (loop0): access invalid blkaddr:2879389914 CPU: 1 PID: 344 Comm: syz-executor.0 Tainted: G B 5.10.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 dump_stack+0x10/0x12 lib/dump_stack.c:135 __is_bitmap_valid fs/f2fs/checkpoint.c:166 [inline] f2fs_is_valid_blkaddr.cold+0x2a/0x47 fs/f2fs/checkpoint.c:208 f2fs_truncate_data_blocks_range+0x2b2/0xe90 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0x66/0x120 fs/f2fs/file.c:638 truncate_dnode+0x135/0x1b0 fs/f2fs/node.c:943 f2fs_truncate_inode_blocks+0x23b/0xb40 fs/f2fs/node.c:1153 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+0x785/0xd50 fs/attr.c:394 do_truncate+0xfc/0x1b0 fs/open.c:65 handle_truncate fs/namei.c:3060 [inline] do_open fs/namei.c:3401 [inline] path_openat+0x1fbf/0x3950 fs/namei.c:3515 do_filp_open+0x193/0x3d0 fs/namei.c:3542 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_creat fs/open.c:1307 [inline] __se_sys_creat fs/open.c:1301 [inline] __x64_sys_creat+0xd4/0x130 fs/open.c:1301 do_syscall_64+0x32/0x80 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9247de959 ---------------- Code disassembly (best guess): 0: 28 00 sub %al,(%rax) 2: 00 00 add %al,(%rax) 4: 75 05 jne 0xb 6: 48 83 c4 28 add $0x28,%rsp a: c3 ret b: e8 e1 20 00 00 call 0x20f1 10: 90 nop 11: 48 89 f8 mov %rdi,%rax 14: 48 89 f7 mov %rsi,%rdi 17: 48 89 d6 mov %rdx,%rsi 1a: 48 89 ca mov %rcx,%rdx 1d: 4d 89 c2 mov %r8,%r10 20: 4d 89 c8 mov %r9,%r8 23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 28: 0f 05 syscall * 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 ret 33: 48 c7 c1 b0 ff ff ff mov $0xffffffffffffffb0,%rcx 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W