ci2 starts bisection 2023-11-27 05:50:22.335594378 +0000 UTC m=+303247.136186922
bisecting fixing commit since af58dc05bbd2ea4e3996ff7c24db2f42176be3df
building syzkaller on ecca8a243762a781257ba0b65291bca940e13e9c
ensuring issue is reproducible on original commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df
testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: d78e8fba023a446d46eeed2862693f94689a321300fe1dd599378b3b4ddf9d5d
run #0: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #1: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range
run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #5: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #6: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #7: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #8: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #9: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #10: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #11: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #12: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #13: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #14: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #15: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #16: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #17: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #18: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #19: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN]
check whether we can drop unnecessary instrumentation
disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed
testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 1e7cec62071d9b161a7719e6cc33ea1a68b208c7cc1f85f435a7a73c99ff92c2
run #0: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #1: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #5: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #6: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range
run #7: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #8: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #9: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN]
the bug reproduces without the instrumentation
disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed
kconfig minimization: base=5179 full=6520 leaves diff=251
split chunks (needed=false): <251>
split chunk #0 of len 251 into 5 parts
testing without sub-chunk 1/5
disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed
testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 1059efffeb189db306e6a998185b6a308144c89ca1938515cac2d2811f0b93db
run #0: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #1: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #5: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #6: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range
run #7: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #8: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #9: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN]
the chunk can be dropped
testing without sub-chunk 2/5
disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed
testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: d7eb0c612a31750250bfd7abeab50367c40650ab90fc975ab8c9a8867ba2516a
run #0: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #1: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #5: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #6: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #7: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #8: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #9: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range
representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN]
the chunk can be dropped
testing without sub-chunk 3/5
disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed
testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: 536f6c6beb5d9585f51be6b567b27b33058e308af508d43692021dec421deade
all runs: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN]
the chunk can be dropped
testing without sub-chunk 4/5
disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed
testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: d74834d7fcb0139f2370cce92d5224cc8433829736f532a144ab8687f038ccd2
run #0: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #1: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range
run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #4: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #5: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #6: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #7: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #8: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #9: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
representative crash: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range, types: [KASAN]
the chunk can be dropped
testing without sub-chunk 5/5
disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed
testing commit af58dc05bbd2ea4e3996ff7c24db2f42176be3df gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
failed building af58dc05bbd2ea4e3996ff7c24db2f42176be3df: net/socket.c:1225: undefined reference to `wext_handle_ioctl'
net/socket.c:3420: undefined reference to `compat_wext_handle_ioctl'
net/core/net-procfs.c:329: undefined reference to `wext_proc_init'
net/core/net-procfs.c:345: undefined reference to `wext_proc_exit'
minimized to 47 configs; suspects: [HID_ZEROPLUS USB_NET_GL620A USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD USB_OHCI_HCD_PCI USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_PRINTER USB_SERIAL_GENERIC USB_SERIAL_PL2303 USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_TRANCEVIBRATOR USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_WDM WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_PURELIFI WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_SILABS WLAN_VENDOR_ZYDAS X86_X32_ABI ZEROPLUS_FF]
disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed
testing current HEAD d2c0f4c4502aedbe88b32fbddf7632c79d55d33c
testing commit d2c0f4c4502aedbe88b32fbddf7632c79d55d33c gcc
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
kernel signature: f4405784c08139148a054b8b82179dad478c475da34d3f32626eb8f3946583d2
run #0: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range
run #1: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #2: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #3: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #4: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range
run #5: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #6: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #7: crashed: KASAN: use-after-free Read in f2fs_truncate_data_blocks_range
run #8: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range
run #9: crashed: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range
representative crash: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range, types: [KASAN]
crash still not fixed/happens on the oldest tested release
revisions tested: 7, total time: 1h13m23.792910667s (build: 48m21.28005019s, test: 22m18.202536777s)
crash still not fixed or there were kernel test errors
commit msg: FROMLIST: devcoredump: Send uevent once devcd is ready
crash: KASAN: slab-out-of-bounds Read in f2fs_truncate_data_blocks_range
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
==================================================================
BUG: KASAN: slab-out-of-bounds in f2fs_truncate_data_blocks_range+0x6ce/0xcf0 fs/f2fs/file.c:574
Read of size 4 at addr ffff88810c8c9068 by task syz-executor.0/351
CPU: 1 PID: 351 Comm: syz-executor.0 Not tainted 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
print_address_description mm/kasan/report.c:316 [inline]
print_report+0x158/0x4e0 mm/kasan/report.c:427
kasan_report+0x13c/0x170 mm/kasan/report.c:531
__asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:350
f2fs_truncate_data_blocks_range+0x6ce/0xcf0 fs/f2fs/file.c:574
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
Allocated by task 23:
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505
____kasan_kmalloc mm/kasan/common.c:379 [inline]
__kasan_kmalloc+0x9c/0xb0 mm/kasan/common.c:388
kasan_kmalloc include/linux/kasan.h:212 [inline]
kmalloc_trace+0x44/0xa0 mm/slab_common.c:1052
kmalloc include/linux/slab.h:553 [inline]
__hw_addr_create net/core/dev_addr_lists.c:60 [inline]
__hw_addr_add_ex+0x17a/0x5a0 net/core/dev_addr_lists.c:118
__hw_addr_sync_one net/core/dev_addr_lists.c:216 [inline]
__hw_addr_sync net/core/dev_addr_lists.c:278 [inline]
dev_mc_sync+0x1bf/0x370 net/core/dev_addr_lists.c:964
vlan_dev_set_rx_mode+0x45/0x70 net/8021q/vlan_dev.c:487
__dev_set_rx_mode+0x171/0x200 net/core/dev.c:8478
__dev_mc_add net/core/dev_addr_lists.c:871 [inline]
dev_mc_add+0x82/0xb0 net/core/dev_addr_lists.c:885
igmp6_group_added+0x159/0x4e0 net/ipv6/mcast.c:680
__ipv6_dev_mc_inc+0x555/0x730 net/ipv6/mcast.c:949
ipv6_dev_mc_inc+0xb/0x10 net/ipv6/mcast.c:957
addrconf_join_solict net/ipv6/addrconf.c:2181 [inline]
addrconf_dad_begin net/ipv6/addrconf.c:4023 [inline]
addrconf_dad_work+0x45d/0x1360 net/ipv6/addrconf.c:4148
process_one_work+0x6de/0xd00 kernel/workqueue.c:2299
worker_thread+0x892/0xf20 kernel/workqueue.c:2446
kthread+0x215/0x270 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
The buggy address belongs to the object at ffff88810c8c9000
which belongs to the cache kmalloc-128 of size 128
The buggy address is located 104 bytes inside of
128-byte region [ffff88810c8c9000, ffff88810c8c9080)
The buggy address belongs to the physical page:
page:ffffea0004323240 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10c8c9
flags: 0x4000000000000200(slab|zone=1)
raw: 4000000000000200 ffffea00043231c0 dead000000000003 ffff888100042a80
raw: 0000000000000000 0000000000100010 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 1, tgid 1 (swapper/0), ts 2153417453, free_ts 0
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook mm/page_alloc.c:2586 [inline]
prep_new_page+0x512/0x5e0 mm/page_alloc.c:2593
get_page_from_freelist+0x2900/0x2990 mm/page_alloc.c:4410
__alloc_pages+0x39f/0x780 mm/page_alloc.c:5698
alloc_slab_page+0x6c/0xf0
allocate_slab mm/slub.c:1962 [inline]
new_slab+0x7b/0x370 mm/slub.c:2015
___slab_alloc+0x611/0x9a0 mm/slub.c:3203
__slab_alloc+0x52/0x90 mm/slub.c:3302
slab_alloc_node mm/slub.c:3387 [inline]
__kmem_cache_alloc_node+0x1af/0x250 mm/slub.c:3460
kmalloc_trace+0x2a/0xa0 mm/slab_common.c:1047
kmalloc include/linux/slab.h:553 [inline]
kzalloc include/linux/slab.h:689 [inline]
blk_mq_alloc_ctxs block/blk-mq.c:3984 [inline]
blk_mq_init_allocated_queue+0x19a/0x11c0 block/blk-mq.c:4224
blk_mq_init_queue_data block/blk-mq.c:4045 [inline]
blk_mq_init_queue+0x91/0xf0 block/blk-mq.c:4055
scsi_alloc_sdev+0x6bf/0xa00 drivers/scsi/scsi_scan.c:335
scsi_probe_and_add_lun+0x1dd/0x3d30 drivers/scsi/scsi_scan.c:1188
__scsi_scan_target+0x1a3/0xa90 drivers/scsi/scsi_scan.c:1673
scsi_scan_channel drivers/scsi/scsi_scan.c:1761 [inline]
scsi_scan_host_selected+0x282/0x4d0 drivers/scsi/scsi_scan.c:1790
do_scsi_scan_host drivers/scsi/scsi_scan.c:1929 [inline]
scsi_scan_host+0x510/0x5a0 drivers/scsi/scsi_scan.c:1959
page_owner free stack trace missing
Memory state around the buggy address:
ffff88810c8c8f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff88810c8c8f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88810c8c9000: 00 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc
^
ffff88810c8c9080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff88810c8c9100: 00 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc
==================================================================
F2FS-fs (loop0): access invalid blkaddr:23
CPU: 1 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): access invalid blkaddr:104136989
CPU: 0 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): access invalid blkaddr:210542080
CPU: 0 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): access invalid blkaddr:4294936705
CPU: 0 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): access invalid blkaddr:210562048
CPU: 0 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): access invalid blkaddr:4294936705
CPU: 0 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): access invalid blkaddr:206201105
CPU: 0 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): access invalid blkaddr:4294936705
CPU: 0 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): access invalid blkaddr:210542096
CPU: 0 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): access invalid blkaddr:4294936705
CPU: 0 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): access invalid blkaddr:2868851507
CPU: 0 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): Inconsistent error blkaddr:12458, sit bitmap:0
CPU: 1 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
__is_bitmap_valid fs/f2fs/checkpoint.c:171 [inline]
f2fs_is_valid_blkaddr+0xa92/0x1320 fs/f2fs/checkpoint.c:221
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): access invalid blkaddr:4
CPU: 1 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): access invalid blkaddr:1
CPU: 1 PID: 351 Comm: syz-executor.0 Tainted: G B 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106
dump_stack+0x10/0x19 lib/dump_stack.c:113
f2fs_is_valid_blkaddr+0xb2c/0x1320 fs/f2fs/checkpoint.c:218
f2fs_truncate_data_blocks_range+0x56c/0xcf0 fs/f2fs/file.c:592
f2fs_truncate_data_blocks+0xbf/0x100 fs/f2fs/file.c:632
truncate_dnode fs/f2fs/node.c:944 [inline]
f2fs_truncate_inode_blocks+0x603/0xeb0 fs/f2fs/node.c:1156
f2fs_do_truncate_blocks+0x5b8/0xbd0 fs/f2fs/file.c:721
f2fs_truncate_blocks+0xd8/0x230 fs/f2fs/file.c:749
f2fs_truncate+0x14b/0x2e0 fs/f2fs/file.c:799
f2fs_setattr+0xa59/0x10e0 fs/f2fs/file.c:1006
notify_change+0xa7d/0xd30 fs/attr.c:482
do_truncate+0x1d6/0x2c0 fs/open.c:66
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x200e/0x2440 fs/namei.c:3714
do_filp_open+0x226/0x430 fs/namei.c:3741
do_sys_openat2+0x103/0x6c0 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_creat fs/open.c:1433 [inline]
__se_sys_creat fs/open.c:1427 [inline]
__x64_sys_creat+0x11a/0x160 fs/open.c:1427
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f344ee7c959
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:00007f344fb1f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f344ef9bf80 RCX: 00007f344ee7c959
RDX: 0000000000000000 RSI: 00000000000001f8 RDI: 00000000200000c0
RBP: 00007f344eed8c88 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f344ef9bf80 R15: 00007ffc0a76bb98
F2FS-fs (loop0): dec_valid_node_count: inconsistent i_blocks, ino:8, iblocks:0