Warning: Permanently added '10.128.1.60' (ED25519) to the list of known hosts. executing program [ 33.648817][ T6410] loop0: detected capacity change from 0 to 131072 [ 33.656465][ T6410] F2FS-fs (loop0): invalid crc value [ 33.661727][ T6410] F2FS-fs (loop0): Found nat_bits in checkpoint [ 33.675082][ T6410] F2FS-fs (loop0): f2fs_check_nid_range: out-of-range nid=49000000, run fsck to fix. [ 33.680331][ T6410] F2FS-fs (loop0): Bad quota inode 1:1224736768 [ 33.691256][ T6410] F2FS-fs (loop0): Failed to enable quota tracking (type=1, err=-22). Please run fsck to fix. [ 33.695991][ T6410] F2FS-fs (loop0): Cannot turn on quotas: error -22 [ 33.699252][ T6410] F2FS-fs (loop0): Mounted with checkpoint version = 1b41e954 [ 33.702603][ T6410] ------------[ cut here ]------------ [ 33.703851][ T6410] UBSAN: array-index-out-of-bounds in fs/f2fs/f2fs.h:3292:19 [ 33.705243][ T6410] index 18446744073709500059 is out of range for type '__le32[923]' (aka 'unsigned int[923]') [ 33.707465][ T6410] CPU: 0 UID: 0 PID: 6410 Comm: syz-executor883 Not tainted 6.13.0-rc2-syzkaller-g2e7aff49b5da #0 [ 33.709778][ T6410] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 33.711840][ T6410] Call trace: [ 33.712524][ T6410] show_stack+0x2c/0x3c (C) [ 33.713604][ T6410] dump_stack_lvl+0xe4/0x150 [ 33.714579][ T6410] dump_stack+0x1c/0x28 [ 33.715428][ T6410] __ubsan_handle_out_of_bounds+0xf8/0x148 [ 33.716651][ T6410] inline_xattr_addr+0x524/0x530 [ 33.717673][ T6410] f2fs_getxattr+0x5b4/0x1064 [ 33.718563][ T6410] f2fs_xattr_generic_get+0x130/0x174 [ 33.719711][ T6410] __vfs_getxattr+0x394/0x3c0 [ 33.720718][ T6410] smk_fetch+0xc8/0x150 [ 33.721608][ T6410] smack_d_instantiate+0x594/0x880 [ 33.722644][ T6410] security_d_instantiate+0x100/0x204 [ 33.723787][ T6410] d_splice_alias+0x70/0x310 [ 33.724881][ T6410] f2fs_lookup+0x4c8/0x948 [ 33.725790][ T6410] lookup_one_qstr_excl+0x108/0x230 [ 33.726942][ T6410] filename_create+0x230/0x468 [ 33.728017][ T6410] do_mkdirat+0xac/0x574 [ 33.728910][ T6410] __arm64_sys_mkdirat+0x8c/0xa4 [ 33.730013][ T6410] invoke_syscall+0x98/0x2b8 [ 33.731007][ T6410] el0_svc_common+0x130/0x23c [ 33.731955][ T6410] do_el0_svc+0x48/0x58 [ 33.732871][ T6410] el0_svc+0x54/0x168 [ 33.733796][ T6410] el0t_64_sync_handler+0x84/0x108 [ 33.734901][ T6410] el0t_64_sync+0x198/0x19c [ 33.736830][ T6410] ---[ end trace ]--- [ 33.737743][ T6410] ================================================================== [ 33.739365][ T6410] BUG: KASAN: slab-use-after-free in f2fs_getxattr+0x5c8/0x1064 [ 33.740858][ T6410] Read of size 209920 at addr ffff0000d7f1ebd4 by task syz-executor883/6410 [ 33.742636][ T6410] [ 33.743185][ T6410] CPU: 0 UID: 0 PID: 6410 Comm: syz-executor883 Not tainted 6.13.0-rc2-syzkaller-g2e7aff49b5da #0 [ 33.745498][ T6410] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 33.747627][ T6410] Call trace: [ 33.748335][ T6410] show_stack+0x2c/0x3c (C) [ 33.749360][ T6410] dump_stack_lvl+0xe4/0x150 [ 33.750287][ T6410] print_report+0x198/0x538 [ 33.751298][ T6410] kasan_report+0xd8/0x138 [ 33.752335][ T6410] kasan_check_range+0x268/0x2a8 [ 33.753345][ T6410] __asan_memcpy+0x3c/0x84 [ 33.754319][ T6410] f2fs_getxattr+0x5c8/0x1064 [ 33.755247][ T6410] f2fs_xattr_generic_get+0x130/0x174 [ 33.756457][ T6410] __vfs_getxattr+0x394/0x3c0 [ 33.757385][ T6410] smk_fetch+0xc8/0x150 [ 33.758270][ T6410] smack_d_instantiate+0x594/0x880 [ 33.759418][ T6410] security_d_instantiate+0x100/0x204 [ 33.760613][ T6410] d_splice_alias+0x70/0x310 [ 33.761696][ T6410] f2fs_lookup+0x4c8/0x948 [ 33.762693][ T6410] lookup_one_qstr_excl+0x108/0x230 [ 33.763802][ T6410] filename_create+0x230/0x468 [ 33.764833][ T6410] do_mkdirat+0xac/0x574 [ 33.765814][ T6410] __arm64_sys_mkdirat+0x8c/0xa4 [ 33.766927][ T6410] invoke_syscall+0x98/0x2b8 [ 33.767971][ T6410] el0_svc_common+0x130/0x23c [ 33.768965][ T6410] do_el0_svc+0x48/0x58 [ 33.769939][ T6410] el0_svc+0x54/0x168 [ 33.770836][ T6410] el0t_64_sync_handler+0x84/0x108 [ 33.771913][ T6410] el0t_64_sync+0x198/0x19c [ 33.772887][ T6410] [ 33.773383][ T6410] Allocated by task 6343: [ 33.774286][ T6410] kasan_save_track+0x40/0x78 [ 33.775256][ T6410] kasan_save_alloc_info+0x40/0x50 [ 33.776318][ T6410] __kasan_slab_alloc+0x74/0x8c [ 33.777341][ T6410] kmem_cache_alloc_noprof+0x254/0x410 [ 33.778524][ T6410] getname_flags+0xcc/0x4b4 [ 33.779521][ T6410] getname+0x24/0x34 [ 33.780348][ T6410] do_sys_openat2+0xd0/0x1b8 [ 33.781289][ T6410] __arm64_sys_openat+0x1f0/0x240 [ 33.782269][ T6410] invoke_syscall+0x98/0x2b8 [ 33.783190][ T6410] el0_svc_common+0x130/0x23c [ 33.784253][ T6410] do_el0_svc+0x48/0x58 [ 33.785127][ T6410] el0_svc+0x54/0x168 [ 33.786073][ T6410] el0t_64_sync_handler+0x84/0x108 [ 33.787113][ T6410] el0t_64_sync+0x198/0x19c [ 33.788147][ T6410] [ 33.788726][ T6410] Freed by task 6343: [ 33.789576][ T6410] kasan_save_track+0x40/0x78 [ 33.790588][ T6410] kasan_save_free_info+0x54/0x6c [ 33.791684][ T6410] __kasan_slab_free+0x64/0x8c [ 33.792792][ T6410] kmem_cache_free+0x198/0x554 [ 33.793814][ T6410] putname+0x130/0x184 [ 33.794706][ T6410] do_sys_openat2+0x164/0x1b8 [ 33.795739][ T6410] __arm64_sys_openat+0x1f0/0x240 [ 33.796800][ T6410] invoke_syscall+0x98/0x2b8 [ 33.797794][ T6410] el0_svc_common+0x130/0x23c [ 33.798873][ T6410] do_el0_svc+0x48/0x58 [ 33.799786][ T6410] el0_svc+0x54/0x168 [ 33.800593][ T6410] el0t_64_sync_handler+0x84/0x108 [ 33.801704][ T6410] el0t_64_sync+0x198/0x19c [ 33.802632][ T6410] [ 33.803097][ T6410] The buggy address belongs to the object at ffff0000d7f1e600 [ 33.803097][ T6410] which belongs to the cache names_cache of size 4096 [ 33.806453][ T6410] The buggy address is located 1492 bytes inside of [ 33.806453][ T6410] freed 4096-byte region [ffff0000d7f1e600, ffff0000d7f1f600) [ 33.809456][ T6410] [ 33.810035][ T6410] The buggy address belongs to the physical page: [ 33.811468][ T6410] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x117f18 [ 33.813443][ T6410] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 33.815229][ T6410] flags: 0x5ffc00000000040(head|node=0|zone=2|lastcpupid=0x7ff) [ 33.816809][ T6410] page_type: f5(slab) [ 33.817731][ T6410] raw: 05ffc00000000040 ffff0000c18958c0 dead000000000122 0000000000000000 [ 33.819545][ T6410] raw: 0000000000000000 0000000000070007 00000001f5000000 0000000000000000 [ 33.821408][ T6410] head: 05ffc00000000040 ffff0000c18958c0 dead000000000122 0000000000000000 [ 33.823259][ T6410] head: 0000000000000000 0000000000070007 00000001f5000000 0000000000000000 [ 33.825038][ T6410] head: 05ffc00000000003 fffffdffc35fc601 ffffffffffffffff 0000000000000000 [ 33.826996][ T6410] head: 0000000000000008 0000000000000000 00000000ffffffff 0000000000000000 [ 33.828787][ T6410] page dumped because: kasan: bad access detected [ 33.830163][ T6410] [ 33.830646][ T6410] Memory state around the buggy address: [ 33.831923][ T6410] ffff0000d7f1ea80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.833621][ T6410] ffff0000d7f1eb00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.835455][ T6410] >ffff0000d7f1eb80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.837257][ T6410] ^ [ 33.838603][ T6410] ffff0000d7f1ec00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.840273][ T6410] ffff0000d7f1ec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 33.842003][ T6410] ================================================================== [ 33.843919][ T6410] Disabling lock debugging due to kernel taint