Warning: Permanently added '10.128.1.76' (ED25519) to the list of known hosts. 2023/12/11 15:16:33 ignoring optional flag "sandboxArg"="0" 2023/12/11 15:16:33 parsed 1 programs 2023/12/11 15:16:33 executed programs: 0 [ 52.973382][ T1500] loop0: detected capacity change from 0 to 2048 [ 53.003118][ T1500] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none. [ 53.018736][ T1500] ================================================================== [ 53.026833][ T1500] BUG: KASAN: use-after-free in ext4_convert_inline_data_nolock+0x282/0xc10 [ 53.035498][ T1500] Read of size 20 at addr ffff888118f3c1a3 by task syz-executor.0/1500 [ 53.043810][ T1500] [ 53.046126][ T1500] CPU: 1 PID: 1500 Comm: syz-executor.0 Not tainted 6.1.67-syzkaller #0 [ 53.054431][ T1500] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 53.065422][ T1500] Call Trace: [ 53.068773][ T1500] [ 53.071687][ T1500] dump_stack_lvl+0xf4/0x251 [ 53.076343][ T1500] ? ext4_convert_inline_data+0x3b8/0x4d0 [ 53.082326][ T1500] ? nf_tcp_handle_invalid+0x2f3/0x2f3 [ 53.087771][ T1500] ? panic+0x3f7/0x3f7 [ 53.092021][ T1500] ? _printk+0xca/0x10a [ 53.096237][ T1500] print_report+0x15f/0x4f0 [ 53.100723][ T1500] ? ext4_convert_inline_data_nolock+0x282/0xc10 [ 53.107199][ T1500] kasan_report+0x136/0x160 [ 53.111797][ T1500] ? ext4_convert_inline_data_nolock+0x282/0xc10 [ 53.118622][ T1500] kasan_check_range+0x27f/0x290 [ 53.123532][ T1500] ? ext4_convert_inline_data_nolock+0x282/0xc10 [ 53.129916][ T1500] memcpy+0x25/0x60 [ 53.133698][ T1500] ext4_convert_inline_data_nolock+0x282/0xc10 [ 53.139825][ T1500] ? __down_write_common+0x12a/0x1e0 [ 53.145102][ T1500] ? ext4_add_dirent_to_inline+0x390/0x390 [ 53.151145][ T1500] ? __ext4_journal_start_sb+0xa4/0x360 [ 53.156925][ T1500] ext4_convert_inline_data+0x3b8/0x4d0 [ 53.162662][ T1500] ? ext4_inline_data_truncate+0xb70/0xb70 [ 53.168446][ T1500] ext4_fallocate+0x136/0x1790 [ 53.173359][ T1500] ? read_lock_is_recursive+0x10/0x10 [ 53.178808][ T1500] ? ext4_ext_truncate+0x260/0x260 [ 53.183935][ T1500] ? preempt_count_add+0x8f/0x120 [ 53.188940][ T1500] vfs_fallocate+0x30c/0x3d0 [ 53.193607][ T1500] __x64_sys_fallocate+0xa6/0xd0 [ 53.198521][ T1500] do_syscall_64+0x3d/0x80 [ 53.202998][ T1500] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 53.208995][ T1500] RIP: 0033:0x7f306393b959 [ 53.213394][ T1500] 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 [ 53.233521][ T1500] RSP: 002b:00007f30634be0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d [ 53.242174][ T1500] RAX: ffffffffffffffda RBX: 00007f3063a5af80 RCX: 00007f306393b959 [ 53.250387][ T1500] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 [ 53.258333][ T1500] RBP: 00007f3063997c88 R08: 0000000000000000 R09: 0000000000000000 [ 53.266896][ T1500] R10: 0000000000008000 R11: 0000000000000246 R12: 0000000000000000 [ 53.276493][ T1500] R13: 0000000000000006 R14: 00007f3063a5af80 R15: 00007fff7fd8f0e8 [ 53.285311][ T1500] [ 53.288482][ T1500] [ 53.291073][ T1500] Allocated by task 1406: [ 53.296176][ T1500] kasan_set_track+0x4b/0x70 [ 53.301133][ T1500] __kasan_kmalloc+0x97/0xb0 [ 53.306241][ T1500] tomoyo_find_next_domain+0xd1b/0x16e0 [ 53.311937][ T1500] tomoyo_bprm_check_security+0xf2/0x120 [ 53.318090][ T1500] security_bprm_check+0x23/0x70 [ 53.323101][ T1500] bprm_execve+0x740/0x1210 [ 53.327579][ T1500] kernel_execve+0x53b/0x610 [ 53.332226][ T1500] call_usermodehelper_exec_async+0x1fc/0x310 [ 53.338352][ T1500] ret_from_fork+0x1f/0x30 [ 53.342747][ T1500] [ 53.345051][ T1500] Freed by task 1406: [ 53.349020][ T1500] kasan_set_track+0x4b/0x70 [ 53.353787][ T1500] kasan_save_free_info+0x27/0x40 [ 53.358801][ T1500] ____kasan_slab_free+0x122/0x1e0 [ 53.363893][ T1500] __kmem_cache_free+0x2b4/0x470 [ 53.368802][ T1500] tomoyo_find_next_domain+0x1279/0x16e0 [ 53.374406][ T1500] tomoyo_bprm_check_security+0xf2/0x120 [ 53.380094][ T1500] security_bprm_check+0x23/0x70 [ 53.385088][ T1500] bprm_execve+0x740/0x1210 [ 53.389669][ T1500] kernel_execve+0x53b/0x610 [ 53.394229][ T1500] call_usermodehelper_exec_async+0x1fc/0x310 [ 53.400282][ T1500] ret_from_fork+0x1f/0x30 [ 53.404688][ T1500] [ 53.407001][ T1500] The buggy address belongs to the object at ffff888118f3c000 [ 53.407001][ T1500] which belongs to the cache kmalloc-4k of size 4096 [ 53.421200][ T1500] The buggy address is located 419 bytes inside of [ 53.421200][ T1500] 4096-byte region [ffff888118f3c000, ffff888118f3d000) [ 53.434634][ T1500] [ 53.437014][ T1500] The buggy address belongs to the physical page: [ 53.443573][ T1500] page:ffffea000463ce00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x118f38 [ 53.453957][ T1500] head:ffffea000463ce00 order:3 compound_mapcount:0 compound_pincount:0 [ 53.462515][ T1500] flags: 0x200000000010200(slab|head|node=0|zone=2) [ 53.469773][ T1500] raw: 0200000000010200 dead000000000100 dead000000000122 ffff888100042140 [ 53.478418][ T1500] raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 [ 53.487145][ T1500] page dumped because: kasan: bad access detected [ 53.493638][ T1500] page_owner tracks the page as allocated [ 53.499422][ T1500] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 367, tgid 367 (udevd), ts 5031288492, free_ts 0 [ 53.519252][ T1500] post_alloc_hook+0x286/0x2b0 [ 53.524023][ T1500] get_page_from_freelist+0x2ba7/0x2de0 [ 53.529903][ T1500] __alloc_pages+0x251/0x640 [ 53.534467][ T1500] alloc_slab_page+0x6a/0x150 [ 53.539212][ T1500] new_slab+0x70/0x250 [ 53.543253][ T1500] ___slab_alloc+0x9df/0xe70 [ 53.548166][ T1500] __kmem_cache_alloc_node+0x195/0x250 [ 53.553858][ T1500] __kmalloc+0x95/0x1c0 [ 53.558173][ T1500] tomoyo_realpath_from_path+0xdc/0x4e0 [ 53.563866][ T1500] tomoyo_check_open_permission+0x242/0x950 [ 53.569731][ T1500] security_file_open+0x23/0x80 [ 53.574817][ T1500] do_dentry_open+0x299/0xd20 [ 53.579552][ T1500] path_openat+0x1e59/0x2410 [ 53.584287][ T1500] do_filp_open+0x226/0x430 [ 53.588761][ T1500] do_sys_openat2+0x10b/0x420 [ 53.593405][ T1500] __x64_sys_openat+0x209/0x250 [ 53.598222][ T1500] page_owner free stack trace missing [ 53.603651][ T1500] [ 53.605948][ T1500] Memory state around the buggy address: [ 53.611577][ T1500] ffff888118f3c080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.619707][ T1500] ffff888118f3c100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.627754][ T1500] >ffff888118f3c180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.635894][ T1500] ^ [ 53.641063][ T1500] ffff888118f3c200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.649096][ T1500] ffff888118f3c280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.657387][ T1500] ================================================================== [ 53.665843][ T1500] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 53.673351][ T1500] Kernel Offset: disabled [ 53.677658][ T1500] Rebooting in 86400 seconds..