RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 ================================================================== BUG: KASAN: use-after-free in f2fs_truncate_data_blocks_range+0x7fb/0xeb0 fs/f2fs/file.c:581 Read of size 4 at addr ffff88810ba89000 by task syz-executor.0/353 CPU: 0 PID: 353 Comm: syz-executor.0 Not tainted 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 print_address_description+0x81/0x3b0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report+0x179/0x1c0 mm/kasan/report.c:452 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308 f2fs_truncate_data_blocks_range+0x7fb/0xeb0 fs/f2fs/file.c:581 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 Allocated by task 78: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:430 [inline] ____kasan_kmalloc+0xdb/0x110 mm/kasan/common.c:509 __kasan_kmalloc+0x9/0x10 mm/kasan/common.c:518 kasan_kmalloc include/linux/kasan.h:254 [inline] __kmalloc+0x1aa/0x330 mm/slub.c:4033 kmalloc include/linux/slab.h:557 [inline] context_struct_to_string+0x441/0x8a0 security/selinux/ss/services.c:1262 sidtab_entry_to_string security/selinux/ss/services.c:1292 [inline] security_sid_to_context_core+0x2e3/0x490 security/selinux/ss/services.c:1380 security_sid_to_context+0x33/0x40 security/selinux/ss/services.c:1402 avc_audit_post_callback+0x1af/0xb20 security/selinux/avc.c:724 common_lsm_audit+0x1745/0x1ba0 security/lsm_audit.c:469 slow_avc_audit+0x26c/0x3c0 security/selinux/avc.c:798 avc_audit security/selinux/include/avc.h:140 [inline] avc_has_perm+0x20b/0x400 security/selinux/avc.c:1201 file_has_perm+0x1ca/0x6c0 security/selinux/hooks.c:1731 match_file+0xde/0x140 security/selinux/hooks.c:2419 iterate_fd+0x107/0x1e0 fs/file.c:1328 flush_unauthorized_files security/selinux/hooks.c:2456 [inline] selinux_bprm_committing_creds+0x40c/0x900 security/selinux/hooks.c:2485 security_bprm_committing_creds+0x44/0x80 security/security.c:816 begin_new_exec+0x1bd1/0x2380 fs/exec.c:1369 load_elf_binary+0x945/0x2750 fs/binfmt_elf.c:1001 search_binary_handler fs/exec.c:1728 [inline] exec_binprm fs/exec.c:1769 [inline] bprm_execve+0x81b/0x1600 fs/exec.c:1845 do_execveat_common+0x959/0xac0 fs/exec.c:1956 do_execve fs/exec.c:2026 [inline] __do_sys_execve fs/exec.c:2102 [inline] __se_sys_execve fs/exec.c:2097 [inline] __x64_sys_execve+0x92/0xb0 fs/exec.c:2097 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb The buggy address belongs to the object at ffff88810ba89000 which belongs to the cache kmalloc-32 of size 32 The buggy address is located 0 bytes inside of 32-byte region [ffff88810ba89000, ffff88810ba89020) The buggy address belongs to the page: page:ffffea00042ea240 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10ba89 flags: 0x4000000000000200(slab) raw: 4000000000000200 ffffea000407f1c0 0000000900000009 ffff888100043980 raw: 0000000000000000 0000000080400040 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 0x12a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY), pid 70, ts 3781966659, free_ts 3778101960 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page+0x166/0x180 mm/page_alloc.c:2462 get_page_from_freelist+0x2d8c/0x2f30 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x435/0xaf0 mm/page_alloc.c:5348 allocate_slab mm/slub.c:1808 [inline] new_slab+0x80/0x400 mm/slub.c:1869 new_slab_objects mm/slub.c:2627 [inline] ___slab_alloc+0x302/0x4b0 mm/slub.c:2791 __slab_alloc+0x63/0xa0 mm/slub.c:2831 slab_alloc_node mm/slub.c:2913 [inline] slab_alloc mm/slub.c:2955 [inline] __kmalloc_track_caller+0x1f8/0x320 mm/slub.c:4536 kmemdup+0x24/0x50 mm/util.c:131 sidtab_sid2str_get+0x12b/0x2a0 security/selinux/ss/sidtab.c:615 sidtab_entry_to_string security/selinux/ss/services.c:1287 [inline] security_sid_to_context_core+0x2b5/0x490 security/selinux/ss/services.c:1380 security_sid_to_context_force+0x36/0x40 security/selinux/ss/services.c:1409 selinux_inode_init_security+0x6df/0xad0 security/selinux/hooks.c:2931 security_inode_init_security+0x15b/0x390 security/security.c:1022 shmem_symlink+0x147/0x610 mm/shmem.c:3126 vfs_symlink+0x367/0x4f0 fs/namei.c:4099 do_symlinkat+0x19b/0x400 fs/namei.c:4126 page last free stack trace: reset_page_owner include/linux/page_owner.h:28 [inline] free_pages_prepare mm/page_alloc.c:1349 [inline] free_pcp_prepare mm/page_alloc.c:1421 [inline] free_unref_page_prepare+0x2ae/0x2d0 mm/page_alloc.c:3336 free_unref_page_list+0x122/0xb20 mm/page_alloc.c:3443 release_pages+0xea0/0xef0 mm/swap.c:1103 free_pages_and_swap_cache+0x8a/0xa0 mm/swap_state.c:356 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu mm/mmu_gather.c:247 [inline] tlb_finish_mmu+0x177/0x320 mm/mmu_gather.c:326 exit_mmap+0x312/0x5c0 mm/mmap.c:3357 __mmput+0x95/0x2d0 kernel/fork.c:1153 mmput+0x59/0x170 kernel/fork.c:1176 exit_mm kernel/exit.c:539 [inline] do_exit+0xbda/0x2a50 kernel/exit.c:850 do_group_exit+0x141/0x310 kernel/exit.c:985 __do_sys_exit_group kernel/exit.c:996 [inline] __se_sys_exit_group kernel/exit.c:994 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:994 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb Memory state around the buggy address: ffff88810ba88f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88810ba88f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88810ba89000: fb fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc ^ ffff88810ba89080: fa fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc ffff88810ba89100: fb fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc ================================================================== F2FS-fs (loop0): access invalid blkaddr:201871840 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:78 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:4152361170 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:1550913140 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:3856496323 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:116 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:78 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:4016046290 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:133931328 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:76 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:3680502052 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:2037594738 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:1735355507 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:7626596 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:133933568 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:76 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:3818914084 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:2037594738 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:1735355507 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:7626596 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:74 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:3584032967 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:195614720 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:4294936705 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:71 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:3969908935 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:1550913204 CPU: 1 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:635270851 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959 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:00007f9a40b5f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f9a410fbf80 RCX: 00007f9a40fdc959 RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0 RBP: 00007f9a41038c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9a410fbf80 R15: 00007ffc811c6138 F2FS-fs (loop0): access invalid blkaddr:71 CPU: 0 PID: 353 Comm: syz-executor.0 Tainted: G B 5.10.226-syzkaller-1003431-ge5e5644ea27f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 dump_stack+0x15/0x17 lib/dump_stack.c:135 f2fs_is_valid_blkaddr+0xc87/0x1370 fs/f2fs/checkpoint.c:205 f2fs_truncate_data_blocks_range+0x659/0xeb0 fs/f2fs/file.c:599 f2fs_truncate_data_blocks+0xfa/0x140 fs/f2fs/file.c:638 truncate_dnode fs/f2fs/node.c:943 [inline] f2fs_truncate_inode_blocks+0x780/0x1200 fs/f2fs/node.c:1155 f2fs_do_truncate_blocks+0x753/0xb80 fs/f2fs/file.c:727 f2fs_truncate_blocks+0x114/0x310 fs/f2fs/file.c:755 f2fs_truncate+0x1b9/0x3c0 fs/f2fs/file.c:807 f2fs_setattr+0x9e3/0x10f0 fs/f2fs/file.c:971 notify_change+0xbb6/0xe60 fs/attr.c:410 do_truncate+0x1ed/0x2d0 fs/open.c:65 handle_truncate fs/namei.c:3054 [inline] do_open fs/namei.c:3395 [inline] path_openat+0x298d/0x3000 fs/namei.c:3509 do_filp_open+0x21c/0x460 fs/namei.c:3536 do_sys_openat2+0x13f/0x710 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+0x11f/0x160 fs/open.c:1301 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f9a40fdc959