Warning: Permanently added '10.128.1.42' (ED25519) to the list of known hosts. 2023/10/01 11:50:29 ignoring optional flag "sandboxArg"="0" 2023/10/01 11:50:29 parsed 1 programs 2023/10/01 11:50:29 executed programs: 0 [ 49.386279][ T1042] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 54.381249][ T1503] loop0: detected capacity change from 0 to 512 [ 54.388210][ T1503] EXT4-fs: Ignoring removed bh option [ 54.394266][ T1503] EXT4-fs (loop0): mounting ext3 file system using the ext4 subsystem [ 54.405659][ T1503] EXT4-fs (loop0): 1 truncate cleaned up [ 54.411313][ T1503] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none. 2023/10/01 11:50:35 executed programs: 1 [ 54.425248][ T1503] EXT4-fs error (device loop0): ext4_find_dest_de:2112: inode #12: block 7: comm syz-executor.0: bad entry in directory: rec_len % 4 != 0 - offset=0, inode=4061898738, rec_len=7079, size=56 fake=0 [ 54.456484][ T1049] EXT4-fs (loop0): unmounting filesystem. [ 54.475174][ T1508] loop0: detected capacity change from 0 to 512 [ 54.481911][ T1508] EXT4-fs: Ignoring removed bh option [ 54.487809][ T1508] EXT4-fs (loop0): mounting ext3 file system using the ext4 subsystem [ 54.498072][ T1508] EXT4-fs (loop0): 1 truncate cleaned up [ 54.503831][ T1508] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none. [ 54.516938][ T1508] ================================================================== [ 54.525108][ T1508] BUG: KASAN: use-after-free in ext4_search_dir+0x148/0x250 [ 54.532365][ T1508] Read of size 1 at addr ffff8881250863ed by task syz-executor.0/1508 [ 54.540622][ T1508] [ 54.542932][ T1508] CPU: 1 PID: 1508 Comm: syz-executor.0 Not tainted 6.1.55-syzkaller #0 [ 54.551492][ T1508] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 [ 54.561964][ T1508] Call Trace: [ 54.565314][ T1508] [ 54.568237][ T1508] dump_stack_lvl+0xf4/0x251 [ 54.572802][ T1508] ? nf_tcp_handle_invalid+0x2f3/0x2f3 [ 54.578489][ T1508] ? panic+0x3f7/0x3f7 [ 54.582706][ T1508] ? _printk+0xca/0x10a [ 54.587275][ T1508] ? __x64_sys_open+0x1eb/0x240 [ 54.592365][ T1508] print_report+0x15f/0x4f0 [ 54.597598][ T1508] ? down_read+0x8fd/0xba0 [ 54.601989][ T1508] ? ext4_search_dir+0x148/0x250 [ 54.607334][ T1508] kasan_report+0x136/0x160 [ 54.611825][ T1508] ? ext4_search_dir+0x148/0x250 [ 54.616909][ T1508] ext4_search_dir+0x148/0x250 [ 54.621741][ T1508] ext4_find_inline_entry+0x367/0x540 [ 54.627086][ T1508] ? ext4_try_create_inline_dir+0x320/0x320 [ 54.632970][ T1508] ? tomoyo_path_number_perm+0x54d/0x6a0 [ 54.639045][ T1508] ? tomoyo_path_number_perm+0x1c3/0x6a0 [ 54.644837][ T1508] __ext4_find_entry+0x2dc/0x1a10 [ 54.649838][ T1508] ? d_alloc_parallel+0x318/0x1130 [ 54.655104][ T1508] ? dx_node_limit+0x150/0x150 [ 54.659848][ T1508] ? d_alloc_parallel+0x318/0x1130 [ 54.665110][ T1508] ext4_lookup+0x1ab/0x5f0 [ 54.669601][ T1508] ? ext4_add_entry+0x2e80/0x2e80 [ 54.674596][ T1508] ? inode_permission+0x56/0x320 [ 54.679867][ T1508] ? ext4_add_entry+0x2e80/0x2e80 [ 54.684865][ T1508] path_openat+0xdb6/0x2410 [ 54.689628][ T1508] ? do_filp_open+0x430/0x430 [ 54.694397][ T1508] do_filp_open+0x226/0x430 [ 54.698885][ T1508] ? vfs_tmpfile+0x3e0/0x3e0 [ 54.703637][ T1508] ? _raw_spin_unlock+0x24/0x40 [ 54.708550][ T1508] ? alloc_fd+0x3dc/0x470 [ 54.713025][ T1508] do_sys_openat2+0x10b/0x420 [ 54.717761][ T1508] ? rcu_is_watching+0x1b/0x90 [ 54.722683][ T1508] ? do_sys_open+0x1c0/0x1c0 [ 54.727590][ T1508] ? __rseq_handle_notify_resume+0x827/0xdf0 [ 54.733541][ T1508] ? xfd_validate_state+0x12/0x50 [ 54.738630][ T1508] __x64_sys_open+0x1eb/0x240 [ 54.743367][ T1508] ? do_sys_openat2+0x420/0x420 [ 54.748247][ T1508] ? switch_fpu_return+0xc9/0x130 [ 54.753517][ T1508] do_syscall_64+0x3d/0x80 [ 54.758142][ T1508] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.764475][ T1508] RIP: 0033:0x7fe6bec23b29 [ 54.769038][ T1508] 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 [ 54.789841][ T1508] RSP: 002b:00007fe6be7a60c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 54.798487][ T1508] RAX: ffffffffffffffda RBX: 00007fe6bed42f80 RCX: 00007fe6bec23b29 [ 54.806703][ T1508] RDX: 0000000000000000 RSI: 0000000000141042 RDI: 0000000020000100 [ 54.814944][ T1508] RBP: 00007fe6bec6f47a R08: 0000000000000000 R09: 0000000000000000 [ 54.823073][ T1508] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 54.831454][ T1508] R13: 0000000000000006 R14: 00007fe6bed42f80 R15: 00007ffebce3de68 [ 54.839628][ T1508] [ 54.842804][ T1508] [ 54.845292][ T1508] The buggy address belongs to the physical page: [ 54.851863][ T1508] page:ffffea0004942180 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x125086 [ 54.862276][ T1508] flags: 0x200000000000000(node=0|zone=2) [ 54.867984][ T1508] raw: 0200000000000000 dead000000000100 dead000000000122 0000000000000000 [ 54.876712][ T1508] raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 [ 54.885493][ T1508] page dumped because: kasan: bad access detected [ 54.891882][ T1508] page_owner tracks the page as freed [ 54.897313][ T1508] page last allocated via order 0, migratetype Movable, gfp_mask 0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), pid 1255, tgid 1255 (modprobe), ts 51681826332, free_ts 51684275963 [ 54.914992][ T1508] post_alloc_hook+0x286/0x2b0 [ 54.919739][ T1508] get_page_from_freelist+0x2c71/0x2eb0 [ 54.925866][ T1508] __alloc_pages+0x251/0x640 [ 54.930515][ T1508] vma_alloc_folio+0x689/0x870 [ 54.935439][ T1508] wp_page_copy+0x1e6/0x1610 [ 54.940042][ T1508] handle_mm_fault+0x91a/0x2bf0 [ 54.944996][ T1508] exc_page_fault+0x22a/0x5e0 [ 54.949831][ T1508] asm_exc_page_fault+0x22/0x30 [ 54.954773][ T1508] page last free stack trace: [ 54.959852][ T1508] free_unref_page_prepare+0xca9/0xd80 [ 54.965372][ T1508] free_unref_page_list+0xb7/0x570 [ 54.970634][ T1508] release_pages+0x1763/0x1900 [ 54.975368][ T1508] tlb_flush_mmu+0x26f/0x3d0 [ 54.980015][ T1508] tlb_finish_mmu+0xb0/0x1b0 [ 54.984587][ T1508] exit_mmap+0x311/0x700 [ 54.988917][ T1508] __mmput+0x61/0x290 [ 54.992866][ T1508] exit_mm+0x122/0x1b0 [ 54.996906][ T1508] do_exit+0x81e/0x23a0 [ 55.001044][ T1508] do_group_exit+0x1b5/0x280 [ 55.005617][ T1508] __x64_sys_exit_group+0x3b/0x40 [ 55.010632][ T1508] do_syscall_64+0x3d/0x80 [ 55.015230][ T1508] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.021107][ T1508] [ 55.023410][ T1508] Memory state around the buggy address: [ 55.029034][ T1508] ffff888125086280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 55.037149][ T1508] ffff888125086300: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 55.045828][ T1508] >ffff888125086380: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 55.053870][ T1508] ^ [ 55.061737][ T1508] ffff888125086400: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 55.069871][ T1508] ffff888125086480: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 55.078267][ T1508] ================================================================== [ 55.086800][ T1508] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 55.094706][ T1508] Kernel Offset: disabled [ 55.099101][ T1508] Rebooting in 86400 seconds..