ci2-android-6-12-rust/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-12-rust/syz-executor668325360 <...> Warning: Permanently added '10.128.0.189' (ED25519) to the list of known hosts. execve("ci2-android-6-12-rust/syz-executor668325360", ["ci2-android-6-12-rust/syz-executor668325360"], 0x7ffd0682c8e0 /* 10 vars */) = 0 brk(NULL) = 0x55558eebf000 brk(0x55558eebfd40) = 0x55558eebfd40 arch_prctl(ARCH_SET_FS, 0x55558eebf3c0) = 0 set_tid_address(0x55558eebf690) = 312 set_robust_list(0x55558eebf6a0, 24) = 0 rseq({cpu_id_start=0, cpu_id=RSEQ_CPU_ID_UNINITIALIZED, rseq_cs=NULL, flags=0, node_id=0, mm_cid=0, slice_ctrl={request=0, granted=0, __reserved=0}, __reserved=0}, 32, 0, 0x53053053) = -1 ENOSYS (Function not implemented) prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlinkat(AT_FDCWD, "/proc/self/exe", "/root/ci2-android-6-12-rust/syz-executor668325360", 4096) = 49 getrandom("\xee\xce\xbb\xb7\x96\xbe\x7a\x77", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558eebfd40 brk(0x55558eee0d40) = 0x55558eee0d40 brk(0x55558eee1000) = 0x55558eee1000 mprotect(0x7f2ffeafc000, 20480, PROT_READ) = 0 mmap(0x1ffffffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffffffff000 mmap(0x200000000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200000000000 mmap(0x200001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200001000000 write(1, "executing program\n", 18) = 18 executing program mkdirat(AT_FDCWD, "./sys", 0777) = 0 mount(NULL, "./sys", "sysfs", 0, NULL) = 0 openat(AT_FDCWD, "./sys/bus/pnp/drivers/serial", O_RDONLY|O_EXCL) = 3 openat(3, "unbind", O_WRONLY) = 4 [ 24.749097][ T36] audit: type=1400 audit(1793501687.800:64): avc: denied { execmem } for pid=312 comm="syz-executor668" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 24.768580][ T36] audit: type=1400 audit(1793501687.810:65): avc: denied { mounton } for pid=312 comm="syz-executor668" path="/root/sys" dev="sda1" ino=2025 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 24.779231][ T312] printk: legacy console [ttyS0] disabled write(4, "00:03", 5) = 5 openat(3, "bind", O_WRONLY) = 5 write(5, "00:03", 5) = 5 mkdirat(AT_FDCWD, "./myproc", 0777) = 0 mount(NULL, "./myproc", "proc", 0, NULL) = 0 [ 24.797168][ T36] audit: type=1400 audit(1793501687.810:66): avc: denied { mount } for pid=312 comm="syz-executor668" name="/" dev="sysfs" ino=1 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:sysfs_t tclass=filesystem permissive=1 [ 24.831494][ T312] printk: legacy console [ttyS0] enabled openat(AT_FDCWD, "./myproc/interrupts", O_RDONLY) = 6 [ 24.844356][ T36] audit: type=1400 audit(1793501687.890:67): avc: denied { mount } for pid=312 comm="syz-executor668" name="/" dev="proc" ino=1 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:proc_t tclass=filesystem permissive=1 [ 24.866809][ T312] ================================================================== [ 24.874918][ T312] BUG: KASAN: slab-use-after-free in string+0x20f/0x2b0 [ 24.881901][ T312] Read of size 1 at addr ffff8881056a28e0 by task syz-executor668/312 [ 24.890111][ T312] [ 24.892476][ T312] CPU: 0 UID: 0 PID: 312 Comm: syz-executor668 Not tainted syzkaller #0 1736d3b6ee88961c9d73e511fbf4428dbce80e3d [ 24.892506][ T312] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 [ 24.892530][ T312] Call Trace: [ 24.892538][ T312] [ 24.892546][ T312] __dump_stack+0x21/0x30 [ 24.892569][ T312] dump_stack_lvl+0x140/0x1c0 [ 24.892589][ T312] ? __cfi_dump_stack_lvl+0x10/0x10 [ 24.892610][ T312] ? kasan_save_alloc_info+0x3a/0x50 [ 24.892641][ T312] print_address_description+0x71/0x210 [ 24.892677][ T312] print_report+0x4a/0x70 [ 24.892709][ T312] kasan_report+0x162/0x1a0 [ 24.892732][ T312] ? string+0x20f/0x2b0 [ 24.892763][ T312] ? string+0x20f/0x2b0 [ 24.892804][ T312] __asan_report_load1_noabort+0x18/0x20 [ 24.892835][ T312] string+0x20f/0x2b0 [ 24.892877][ T312] vsnprintf+0xe65/0x1ad0 [ 24.892909][ T312] seq_printf+0x189/0x290 [ 24.892934][ T312] ? __cfi_seq_printf+0x10/0x10 [ 24.892969][ T312] ? __kvmalloc_node_noprof+0x173/0x300 [ 24.892997][ T312] show_interrupts+0x6d2/0x7f0 [ 24.893028][ T312] traverse+0x21e/0x700 [ 24.893058][ T312] seq_read_iter+0xdbd/0xf30 [ 24.893079][ T312] ? __cfi___switch_to+0x10/0x10 [ 24.893100][ T312] proc_reg_read_iter+0x1ea/0x2c0 [ 24.893129][ T312] do_iter_readv_writev+0x62c/0x820 [ 24.893160][ T312] ? vfs_iter_read+0x5e0/0x5e0 [ 24.893189][ T312] ? __schedule+0x1706/0x23d0 [ 24.893211][ T312] ? bpf_lsm_file_permission+0xd/0x20 [ 24.893234][ T312] vfs_readv+0x301/0xa00 [ 24.893254][ T312] ? __sched_text_start+0x10/0x10 [ 24.893274][ T312] ? __kasan_check_write+0x18/0x20 [ 24.893302][ T312] ? do_readv+0x2e0/0x2e0 [ 24.893324][ T312] ? __asan_memset+0x39/0x50 [ 24.893351][ T312] ? ptrace_stop+0x6d6/0x8f0 [ 24.893377][ T312] ? _raw_spin_unlock_irq+0x45/0x70 [ 24.893396][ T312] ? __kasan_check_read+0x15/0x20 [ 24.893424][ T312] __x64_sys_preadv+0x19f/0x2c0 [ 24.893442][ T312] ? __cfi___x64_sys_preadv+0x10/0x10 [ 24.893462][ T312] x64_sys_call+0x1ee9/0x2ee0 [ 24.893483][ T312] do_syscall_64+0x57/0xf0 [ 24.893500][ T312] ? clear_bhb_loop+0x50/0xa0 [ 24.893526][ T312] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 24.893550][ T312] RIP: 0033:0x7f2ffea6bdf9 [ 24.893575][ T312] Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 00 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 d8 ff ff ff f7 d8 64 89 01 48 [ 24.893592][ T312] RSP: 002b:00007ffd49dfc6e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 [ 24.893617][ T312] RAX: ffffffffffffffda RBX: 636f7270796d2f2e RCX: 00007f2ffea6bdf9 [ 24.893633][ T312] RDX: 0000000000000001 RSI: 0000200000000880 RDI: 0000000000000006 [ 24.893646][ T312] RBP: 0000000000000001 R08: 0000000000000004 R09: 00007ffd49dfc818 [ 24.893659][ T312] R10: 0000000000000200 R11: 0000000000000246 R12: 00007ffd49dfc808 [ 24.893671][ T312] R13: 0000000000000002 R14: 00007f2ffeafcca0 R15: 0000000000000002 [ 24.893686][ T312] [ 24.893693][ T312] [ 25.181042][ T312] Allocated by task 1: [ 25.185117][ T312] kasan_save_track+0x3e/0x80 [ 25.189820][ T312] kasan_save_alloc_info+0x3a/0x50 [ 25.194930][ T312] __kasan_kmalloc+0x96/0xb0 [ 25.199512][ T312] __kmalloc_node_track_caller_noprof+0x24e/0x4f0 [ 25.205924][ T312] kvasprintf+0xf1/0x260 [ 25.210160][ T312] kasprintf+0xe3/0x140 [ 25.214323][ T312] serial_core_register_port+0x83b/0x23c0 [ 25.220042][ T312] serial_ctrl_register_port+0x21/0x30 [ 25.225509][ T312] uart_add_one_port+0x21/0x30 [ 25.230264][ T312] serial8250_register_8250_port+0x17ab/0x21d0 [ 25.236414][ T312] serial_pnp_probe+0x54b/0x750 [ 25.241262][ T312] pnp_device_probe+0x316/0x4e0 [ 25.246107][ T312] really_probe+0x2e1/0x8b0 [ 25.250610][ T312] __driver_probe_device+0x193/0x280 [ 25.255921][ T312] driver_probe_device+0x54/0x3f0 [ 25.260980][ T312] __driver_attach+0x422/0x5e0 [ 25.265756][ T312] bus_for_each_dev+0x249/0x2d0 [ 25.270626][ T312] driver_attach+0x46/0x50 [ 25.275146][ T312] bus_add_driver+0x393/0x730 [ 25.279829][ T312] driver_register+0x2b7/0x3c0 [ 25.284595][ T312] pnp_register_driver+0x81/0x90 [ 25.289563][ T312] serial8250_pnp_init+0x19/0x20 [ 25.294511][ T312] serial8250_init+0xcc/0x1d0 [ 25.299213][ T312] do_one_initcall+0x1e8/0x6a0 [ 25.303972][ T312] do_initcall_level+0x174/0x2e5 [ 25.308918][ T312] do_initcalls+0x7e/0x160 [ 25.313351][ T312] do_basic_setup+0x95/0xb0 [ 25.317851][ T312] kernel_init_freeable+0x2b1/0x400 [ 25.323061][ T312] kernel_init+0x21/0x1e0 [ 25.327443][ T312] ret_from_fork+0x64/0xa0 [ 25.331854][ T312] ret_from_fork_asm+0x1a/0x30 [ 25.336622][ T312] [ 25.338938][ T312] Freed by task 312: [ 25.342824][ T312] kasan_save_track+0x3e/0x80 [ 25.347502][ T312] kasan_save_free_info+0x44/0x50 [ 25.352523][ T312] __kasan_slab_free+0x5f/0x80 [ 25.357283][ T312] kfree+0x158/0x440 [ 25.361170][ T312] serial_core_unregister_port+0x469/0xa50 [ 25.367001][ T312] serial_ctrl_unregister_port+0x21/0x30 [ 25.372629][ T312] uart_remove_one_port+0x21/0x30 [ 25.377677][ T312] serial8250_unregister_port+0x1cc/0x6b0 [ 25.383392][ T312] serial_pnp_remove+0x5d/0xa0 [ 25.388155][ T312] pnp_device_remove+0x8d/0x270 [ 25.393005][ T312] device_release_driver_internal+0x4ad/0x830 [ 25.399093][ T312] device_driver_detach+0x3f/0x50 [ 25.404113][ T312] unbind_store+0x1ab/0x1f0 [ 25.408620][ T312] drv_attr_store+0x91/0xb0 [ 25.413112][ T312] sysfs_kf_write+0x13e/0x160 [ 25.417784][ T312] kernfs_fop_write_iter+0x319/0x510 [ 25.423083][ T312] vfs_write+0x75f/0xfd0 [ 25.427340][ T312] ksys_write+0x145/0x260 [ 25.431682][ T312] __x64_sys_write+0x7f/0x90 [ 25.436293][ T312] x64_sys_call+0x271c/0x2ee0 [ 25.440994][ T312] do_syscall_64+0x57/0xf0 [ 25.445404][ T312] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 25.451305][ T312] [ 25.453644][ T312] The buggy address belongs to the object at ffff8881056a28e0 [ 25.453644][ T312] which belongs to the cache kmalloc-8 of size 8 [ 25.467337][ T312] The buggy address is located 0 bytes inside of [ 25.467337][ T312] freed 8-byte region [ffff8881056a28e0, ffff8881056a28e8) [ 25.480797][ T312] [ 25.483138][ T312] The buggy address belongs to the physical page: [ 25.489602][ T312] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1056a2 [ 25.498455][ T312] anon flags: 0x4000000000000000(zone=1) [ 25.504085][ T312] page_type: f5(slab) [ 25.508077][ T312] raw: 4000000000000000 ffff888100041500 0000000000000000 0000000000000001 [ 25.516658][ T312] raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000 [ 25.525230][ T312] page dumped because: kasan: bad access detected [ 25.531685][ T312] page_owner tracks the page as allocated [ 25.537396][ T312] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x52cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 1, tgid 1 (swapper/0), ts 3011079691, free_ts 0 [ 25.554958][ T312] post_alloc_hook+0x37d/0x3b0 [ 25.559728][ T312] prep_new_page+0x2d/0x180 [ 25.564265][ T312] get_page_from_freelist+0x4aea/0x4ba0 [ 25.569827][ T312] __alloc_pages_noprof+0x35a/0x7e0 [ 25.575065][ T312] alloc_slab_page+0x6b/0x1e0 [ 25.579743][ T312] allocate_slab+0x69/0x430 [ 25.584251][ T312] ___slab_alloc+0x591/0x8c0 [ 25.588841][ T312] __kmalloc_noprof+0x2fc/0x510 [ 25.593698][ T312] acpi_ex_allocate_name_string+0xed/0x420 [ 25.599536][ T312] acpi_ex_get_name_string+0x2a7/0x490 [ 25.605027][ T312] acpi_ds_create_operand+0x16c/0x8c0 [ 25.610411][ T312] acpi_ds_create_operands+0x275/0x420 [ 25.615912][ T312] acpi_ds_eval_buffer_field_operands+0x6b/0x320 [ 25.622241][ T312] acpi_ds_exec_end_op+0x9de/0x1210 [ 25.627443][ T312] acpi_ps_parse_loop+0xc83/0x1ac0 [ 25.632550][ T312] acpi_ps_parse_aml+0x218/0x9b0 [ 25.637501][ T312] page_owner free stack trace missing [ 25.642866][ T312] [ 25.645192][ T312] Memory state around the buggy address: [ 25.650822][ T312] ffff8881056a2780: 00 fc fc fc 05 fc fc fc 00 fc fc fc 06 fc fc fc [ 25.658876][ T312] ffff8881056a2800: fa fc fc fc 02 fc fc fc 06 fc fc fc 00 fc fc fc [ 25.666920][ T312] >ffff8881056a2880: fa fc fc fc 07 fc fc fc 00 fc fc fc fa fc fc fc [ 25.674965][ T312] ^ [ 25.682149][ T312] ffff8881056a2900: 00 fc fc fc fa fc fc fc 07 fc fc fc fa fc fc fc [ 25.690215][ T312] ffff8881056a2980: 00 fc fc fc 07 fc fc fc fa fc fc fc fa fc fc fc preadv(6, [{iov_base=" 7 0 PCI-MSIX-0000:00:07.0 1-edge virtio3-input\n 26: 0 0 "..., iov_len=175}], 1, 512) = 175 exit_group(0) = ? +++ exited with 0 +++ [ 25.698261][ T312] ===================================