syzbot


KASAN: use-after-free Read in f2fs_truncate_data_blocks_range

Status: upstream: reported C repro on 2025/08/28 23:47
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+eada39e046837f7eca5d@syzkaller.appspotmail.com
First crash: 22h38m, last: 21h55m
Bug presence (2)
Date Name Commit Repro Result
2025/08/29 lts (merge base) c79648372d02 C [report] KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
2025/08/29 upstream (ToT) 07d9df80082b C Didn't crash
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 KASAN: use-after-free Read in f2fs_truncate_data_blocks_range 19 C error error 4 18d 840d 0/2 upstream: reported C repro on 2023/05/12 18:24
android-54 KASAN: use-after-free Read in f2fs_truncate_data_blocks_range 19 C 3 125d 840d 0/2 upstream: reported C repro on 2023/05/12 11:37
android-6-1 KASAN: use-after-free Read in f2fs_truncate_data_blocks_range origin:upstream missing-backport 19 C error error 2 44d 840d 0/2 upstream: reported C repro on 2023/05/12 15:50
upstream KASAN: slab-use-after-free Read in f2fs_truncate_data_blocks_range f2fs 19 C error 1 800d 796d 23/29 fixed on 2023/10/12 12:47

Sample crash report:
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
==================================================================
BUG: KASAN: use-after-free in f2fs_truncate_data_blocks_range+0x826/0xeb0 fs/f2fs/file.c:595
Read of size 4 at addr ffff88812438b000 by task syz-executor298/289

CPU: 0 PID: 289 Comm: syz-executor298 Not tainted 5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248
 __kasan_report mm/kasan/report.c:427 [inline]
 kasan_report+0xf1/0x140 mm/kasan/report.c:444
 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308
 f2fs_truncate_data_blocks_range+0x826/0xeb0 fs/f2fs/file.c:595
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>

Allocated by task 90:
 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:433 [inline]
 __kasan_slab_alloc+0xbd/0xf0 mm/kasan/common.c:466
 kasan_slab_alloc include/linux/kasan.h:217 [inline]
 slab_post_alloc_hook+0x4f/0x2b0 mm/slab.h:550
 slab_alloc_node mm/slub.c:3240 [inline]
 slab_alloc mm/slub.c:3250 [inline]
 kmem_cache_alloc+0xf7/0x260 mm/slub.c:3255
 kmem_cache_alloc_node include/linux/slab.h:489 [inline]
 __alloc_skb+0xe0/0x740 net/core/skbuff.c:416
 alloc_skb include/linux/skbuff.h:1183 [inline]
 alloc_skb_with_frags+0xa8/0x620 net/core/skbuff.c:6194
 sock_alloc_send_pskb+0x853/0x980 net/core/sock.c:2537
 unix_dgram_sendmsg+0x5ea/0x1880 net/unix/af_unix.c:1816
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 __sys_sendto+0x423/0x580 net/socket.c:2063
 __do_sys_sendto net/socket.c:2075 [inline]
 __se_sys_sendto net/socket.c:2071 [inline]
 __x64_sys_sendto+0xe5/0x100 net/socket.c:2071
 x64_sys_call+0x178/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:45
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0

Freed by task 83:
 kasan_save_stack mm/kasan/common.c:38 [inline]
 kasan_set_track+0x4a/0x70 mm/kasan/common.c:45
 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370
 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:365
 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:373
 kasan_slab_free include/linux/kasan.h:193 [inline]
 slab_free_hook mm/slub.c:1723 [inline]
 slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1749
 slab_free mm/slub.c:3521 [inline]
 kmem_cache_free+0x100/0x320 mm/slub.c:3539
 kfree_skbmem+0x10c/0x180 net/core/skbuff.c:-1
 __kfree_skb net/core/skbuff.c:758 [inline]
 consume_skb+0xb3/0x1f0 net/core/skbuff.c:930
 skb_free_datagram+0x28/0xe0 net/core/datagram.c:325
 __unix_dgram_recvmsg+0x9ca/0xd50 net/unix/af_unix.c:2402
 unix_dgram_recvmsg+0xc2/0xe0 net/unix/af_unix.c:2420
 sock_recvmsg_nosec net/socket.c:966 [inline]
 sock_recvmsg net/socket.c:984 [inline]
 sock_read_iter+0x2a2/0x340 net/socket.c:1057
 call_read_iter include/linux/fs.h:2206 [inline]
 new_sync_read fs/read_write.c:404 [inline]
 vfs_read+0x68b/0xbe0 fs/read_write.c:485
 ksys_read+0x140/0x240 fs/read_write.c:623
 __do_sys_read fs/read_write.c:633 [inline]
 __se_sys_read fs/read_write.c:631 [inline]
 __x64_sys_read+0x7b/0x90 fs/read_write.c:631
 x64_sys_call+0x96d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:1
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0

The buggy address belongs to the object at ffff88812438b000
 which belongs to the cache skbuff_head_cache of size 248
The buggy address is located 0 bytes inside of
 248-byte region [ffff88812438b000, ffff88812438b0f8)
The buggy address belongs to the page:
page:ffffea000490e2c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x12438b
flags: 0x4000000000000200(slab|zone=1)
raw: 4000000000000200 0000000000000000 dead000000000122 ffff8881081ab980
raw: 0000000000000000 00000000800c000c 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 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 90, ts 26375750334, free_ts 26069683710
 set_page_owner include/linux/page_owner.h:33 [inline]
 post_alloc_hook+0x192/0x1b0 mm/page_alloc.c:2605
 prep_new_page+0x1c/0x110 mm/page_alloc.c:2611
 get_page_from_freelist+0x2cc5/0x2d50 mm/page_alloc.c:4485
 __alloc_pages+0x18f/0x440 mm/page_alloc.c:5795
 alloc_slab_page mm/slub.c:-1 [inline]
 allocate_slab mm/slub.c:1932 [inline]
 new_slab+0xa1/0x4d0 mm/slub.c:1995
 ___slab_alloc+0x381/0x810 mm/slub.c:3028
 __slab_alloc+0x49/0x90 mm/slub.c:3115
 slab_alloc_node mm/slub.c:3206 [inline]
 slab_alloc mm/slub.c:3250 [inline]
 kmem_cache_alloc+0x138/0x260 mm/slub.c:3255
 kmem_cache_alloc_node include/linux/slab.h:489 [inline]
 __alloc_skb+0xe0/0x740 net/core/skbuff.c:416
 alloc_skb include/linux/skbuff.h:1183 [inline]
 alloc_skb_with_frags+0xa8/0x620 net/core/skbuff.c:6194
 sock_alloc_send_pskb+0x853/0x980 net/core/sock.c:2537
 unix_dgram_sendmsg+0x5ea/0x1880 net/unix/af_unix.c:1816
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 __sys_sendto+0x423/0x580 net/socket.c:2063
 __do_sys_sendto net/socket.c:2075 [inline]
 __se_sys_sendto net/socket.c:2071 [inline]
 __x64_sys_sendto+0xe5/0x100 net/socket.c:2071
 x64_sys_call+0x178/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:45
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
page last free stack trace:
 reset_page_owner include/linux/page_owner.h:26 [inline]
 free_pages_prepare mm/page_alloc.c:1472 [inline]
 free_pcp_prepare mm/page_alloc.c:1544 [inline]
 free_unref_page_prepare+0x542/0x550 mm/page_alloc.c:3534
 free_unref_page+0xa2/0x550 mm/page_alloc.c:3616
 free_the_page mm/page_alloc.c:805 [inline]
 __free_pages+0x6c/0x100 mm/page_alloc.c:5871
 free_pages+0x82/0x90 mm/page_alloc.c:5882
 tlb_batch_list_free mm/mmu_gather.c:61 [inline]
 tlb_finish_mmu+0x248/0x300 mm/mmu_gather.c:341
 exit_mmap+0x40f/0x860 mm/mmap.c:3244
 __mmput+0x93/0x320 kernel/fork.c:1180
 mmput+0x50/0x150 kernel/fork.c:1203
 exit_mm kernel/exit.c:554 [inline]
 do_exit+0x9d2/0x27a0 kernel/exit.c:876
 do_group_exit+0x141/0x310 kernel/exit.c:1003
 __do_sys_exit_group kernel/exit.c:1014 [inline]
 __se_sys_exit_group kernel/exit.c:1012 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1012
 x64_sys_call+0x832/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0

Memory state around the buggy address:
 ffff88812438af00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff88812438af80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88812438b000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                   ^
 ffff88812438b080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc
 ffff88812438b100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
==================================================================
F2FS-fs (loop0): access invalid blkaddr:606060544
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:4294936705
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:83
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:4192207075
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:208431616
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:4294936705
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:74
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:2216398672
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:58
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:4294901760
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:4294901760
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:58
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:128
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:606075904
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:4294936705
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:606075904
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:4294936705
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:768
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:1
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:90
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:4137681123
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:606056448
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:4294936705
CPU: 1 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:83
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:4192207075
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:208431616
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 0031656c69662f2e R14: 0000200000010600 R15: 0000200000001200
 </TASK>
F2FS-fs (loop0): access invalid blkaddr:4294936705
CPU: 0 PID: 289 Comm: syz-executor298 Tainted: G    B             5.15.189-syzkaller-android13-5.15.189_r00 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 f2fs_is_valid_blkaddr+0xca0/0x12a0 fs/f2fs/checkpoint.c:205
 f2fs_truncate_data_blocks_range+0x67c/0xeb0 fs/f2fs/file.c:613
 f2fs_truncate_data_blocks+0xf3/0x130 fs/f2fs/file.c:652
 truncate_dnode fs/f2fs/node.c:940 [inline]
 f2fs_truncate_inode_blocks+0x62f/0xf70 fs/f2fs/node.c:1159
 f2fs_do_truncate_blocks+0x625/0xb20 fs/f2fs/file.c:741
 f2fs_truncate_blocks+0x10e/0x300 fs/f2fs/file.c:769
 f2fs_truncate+0x1d7/0x3d0 fs/f2fs/file.c:821
 f2fs_setattr+0xaca/0x11b0 fs/f2fs/file.c:999
 notify_change+0xbca/0xe90 fs/attr.c:505
 do_truncate+0x197/0x220 fs/open.c:66
 handle_truncate fs/namei.c:3265 [inline]
 do_open fs/namei.c:3612 [inline]
 path_openat+0x2769/0x2f10 fs/namei.c:3742
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_sys_openat2+0x14c/0x7b0 fs/open.c:1234
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_open fs/open.c:1258 [inline]
 __se_sys_open fs/open.c:1254 [inline]
 __x64_sys_open+0x11c/0x140 fs/open.c:1254
 x64_sys_call+0x3fc/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:3
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1fca3dd329
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007f1fca39b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f1fca4746c8 RCX: 00007f1fca3dd329
RDX: 0000000000000040 RSI: 0000000000141242 RDI: 0000200000000140
RBP: 00007f1fca4746c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000140
R13: 
----------------
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 f1 17 00 00       	call   0x1801
  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

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/29 00:02 android13-5.15-lts f32b52534f1d d401b9d7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
2025/08/28 23:44 android13-5.15-lts f32b52534f1d d401b9d7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
2025/08/28 23:19 android13-5.15-lts f32b52534f1d d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
* Struck through repros no longer work on HEAD.