ci2-android-6-1-perf/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-1-perf/syz-executor3029710054 <...> syzkaller syzkaller login: [ 14.072187][ T28] kauditd_printk_skb: 31 callbacks suppressed [ 14.072202][ T28] audit: type=1400 audit(1789205100.214:59): avc: denied { transition } for pid=223 comm="sshd-session" path="/bin/sh" dev="sda1" ino=90 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 14.076855][ T28] audit: type=1400 audit(1789205100.214:60): avc: denied { noatsecure } for pid=223 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 14.081124][ T28] audit: type=1400 audit(1789205100.224:61): avc: denied { write } for pid=223 comm="sh" path="pipe:[13235]" dev="pipefs" ino=13235 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 14.084551][ T28] audit: type=1400 audit(1789205100.224:62): avc: denied { rlimitinh } for pid=223 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 14.087495][ T28] audit: type=1400 audit(1789205100.224:63): avc: denied { siginh } for pid=223 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 Warning: Permanently added '10.128.1.26' (ED25519) to the list of known hosts. execve("ci2-android-6-1-perf/syz-executor3029710054", ["ci2-android-6-1-perf/syz-executor3029710054"], 0x7fffeebe6640 /* 10 vars */) = 0 brk(NULL) = 0x55556bcbd000 brk(0x55556bcbde00) = 0x55556bcbde00 arch_prctl(ARCH_SET_FS, 0x55556bcbd480) = 0 set_tid_address(0x55556bcbd750) = 305 set_robust_list(0x55556bcbd760, 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-1-perf/syz-executor3029710054", 4096) = 49 getrandom("\x2c\xf9\x7b\x55\x2a\x04\x04\x50", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556bcbde00 brk(0x55556bcdee00) = 0x55556bcdee00 brk(0x55556bcdf000) = 0x55556bcdf000 mprotect(0x7fd5f7614000, 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 rt_sigaction(SIGRTMIN, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, NULL, 8) = 0 rt_sigaction(SIGSEGV, {sa_handler=0x7fd5f75741b0, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7fd5f7576d60}, NULL, 8) = 0 rt_sigaction(SIGBUS, {sa_handler=0x7fd5f75741b0, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7fd5f7576d60}, NULL, 8) = 0 write(1, "executing program\n", 18) = 18 bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_UNSPEC, insn_cnt=12, insns=0x200000000440, license=NULL, log_level=4294967294, log_size=0, log_buf=NULL, kern_version=KERNEL_VERSION(0, 0, 0), prog_flags=0, prog_name="", prog_ifindex=0, expected_attach_type=BPF_CGROUP_INET_INGRESS, prog_btf_fd=-1, func_info_rec_size=0, func_info=NULL, func_info_cnt=0, line_info_rec_size=0, line_info=NULL, line_info_cnt=0, attach_btf_id=0, attach_prog_fd=-1, core_relo_cnt=0, fd_array=NULL, core_relos=NULL, core_relo_rec_size=0, log_true_size=0, prog_token_fd=0}, 148) = -1 EFAULT (Bad address) bpf(BPF_MAP_CREATE, {map_type=BPF_MAP_TYPE_STACK_TRACE, key_size=4, value_size=8, max_entries=2, map_flags=0, inner_map_fd=-1, map_name="", map_ifindex=0, btf_fd=-1, btf_key_type_id=0, btf_value_type_id=0, btf_vmlinux_value_type_id=0, map_extra=0, value_type_btf_obj_fd=0, map_token_fd=0}, 80) = 3 bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_RAW_TRACEPOINT, insn_cnt=9, insns=0x200000000440, license=NULL, log_level=4294967294, log_size=0, log_buf=NULL, kern_version=KERNEL_VERSION(4, 16, 0), prog_flags=0, prog_name="", prog_ifindex=0, expected_attach_type=BPF_CGROUP_INET4_BIND, prog_btf_fd=-1, func_info_rec_size=0, func_info=NULL, func_info_cnt=0, line_info_rec_size=0, line_info=NULL, line_info_cnt=0, attach_btf_id=0, attach_prog_fd=0, core_relo_cnt=0, fd_array=NULL, core_relos=NULL, core_relo_rec_size=0, log_true_size=2, prog_token_fd=0}, 148) = -1 EINVAL (Invalid argument) bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_PERF_EVENT, insn_cnt=12, insns=0x200000000440, license="GPL", log_level=0, log_size=0, log_buf=NULL, kern_version=KERNEL_VERSION(0, 0, 0), prog_flags=BPF_F_ANY_ALIGNMENT|BPF_F_TEST_STATE_FREQ, prog_name="", prog_ifindex=0, expected_attach_type=BPF_LIRC_MODE2, prog_btf_fd=-1, func_info_rec_size=0, func_info=NULL, func_info_cnt=0, line_info_rec_size=0, line_info=NULL, line_info_cnt=0, attach_btf_id=0, attach_prog_fd=0, core_relo_cnt=0, fd_array=NULL, core_relos=NULL, core_relo_rec_size=0, log_true_size=0, prog_token_fd=0}, 148) = 4 executing program [ 24.194253][ T28] audit: type=1400 audit(1789205110.334:64): avc: denied { execmem } for pid=305 comm="syz-executor302" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 24.214216][ T28] audit: type=1400 audit(1789205110.334:65): avc: denied { bpf } for pid=305 comm="syz-executor302" capability=39 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=capability2 permissive=1 [ 24.216087][ C0] hrtimer: interrupt took 38821 ns perf_event_open({type=PERF_TYPE_SOFTWARE, size=PERF_ATTR_SIZE_VER7, config=PERF_COUNT_SW_CPU_CLOCK, sample_period=512, sample_type=PERF_SAMPLE_CALLCHAIN, read_format=PERF_FORMAT_TOTAL_TIME_ENABLED|PERF_FORMAT_TOTAL_TIME_RUNNING, precise_ip=0 /* arbitrary skid */, ...}, 0, -1, -1, 0) = 5 ioctl(5, PERF_EVENT_IOC_SET_BPF, 4) = 0 [ 24.236312][ T28] audit: type=1400 audit(1789205110.334:66): avc: denied { prog_load } for pid=305 comm="syz-executor302" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=bpf permissive=1 [ 24.260091][ T28] audit: type=1400 audit(1789205110.334:67): avc: denied { map_create } for pid=305 comm="syz-executor302" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=bpf permissive=1 [ 24.267118][ C0] ================================================================== [ 24.280321][ T28] audit: type=1400 audit(1789205110.334:68): avc: denied { map_read map_write } for pid=305 comm="syz-executor302" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=bpf permissive=1 [ 24.287484][ C0] BUG: KASAN: slab-out-of-bounds in __bpf_get_stackid+0x6fa/0x960 [ 24.308388][ T28] audit: type=1400 audit(1789205110.334:69): avc: denied { perfmon } for pid=305 comm="syz-executor302" capability=38 scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=capability2 permissive=1 [ 24.315288][ C0] Write of size 16 at addr ffff88810fe52128 by task syz-executor302/305 [ 24.315309][ C0] [ 24.315314][ C0] CPU: 0 PID: 305 Comm: syz-executor302 Not tainted syzkaller #0 [ 24.337222][ T28] audit: type=1400 audit(1789205110.334:70): avc: denied { prog_run } for pid=305 comm="syz-executor302" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=bpf permissive=1 [ 24.344672][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 [ 24.344706][ C0] Call Trace: [ 24.347643][ T28] audit: type=1400 audit(1789205110.334:71): avc: denied { open } for pid=305 comm="syz-executor302" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=perf_event permissive=1 [ 24.354750][ C0] [ 24.354759][ C0] __dump_stack+0x21/0x24 [ 24.374683][ T28] audit: type=1400 audit(1789205110.334:72): avc: denied { kernel } for pid=305 comm="syz-executor302" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=perf_event permissive=1 [ 24.383969][ C0] dump_stack_lvl+0x110/0x170 [ 24.384008][ C0] ? __cfi_dump_stack_lvl+0x8/0x8 [ 24.388023][ T28] audit: type=1400 audit(1789205110.404:73): avc: denied { write } for pid=305 comm="syz-executor302" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=perf_event permissive=1 [ 24.406677][ C0] ? __bpf_get_stackid+0x6fa/0x960 [ 24.406706][ C0] print_address_description+0x71/0x200 [ 24.406735][ C0] print_report+0x4a/0x60 [ 24.477652][ C0] kasan_report+0x122/0x150 [ 24.482180][ C0] ? __bpf_get_stackid+0x6fa/0x960 [ 24.487307][ C0] kasan_check_range+0x249/0x2a0 [ 24.492253][ C0] ? __bpf_get_stackid+0x6fa/0x960 [ 24.497362][ C0] memcpy+0x44/0x70 [ 24.501167][ C0] __bpf_get_stackid+0x6fa/0x960 [ 24.506106][ C0] bpf_get_stackid_pe+0x350/0x400 [ 24.511138][ C0] bpf_prog_ee169d054574282b+0x24/0x39 [ 24.516612][ C0] bpf_overflow_handler+0x3c7/0x5e0 [ 24.521809][ C0] ? __cfi_bpf_overflow_handler+0x10/0x10 [ 24.527571][ C0] ? kvm_sched_clock_read+0x18/0x40 [ 24.532789][ C0] ? __this_cpu_preempt_check+0x13/0x20 [ 24.538365][ C0] ? __perf_event_account_interrupt+0x1a4/0x2c0 [ 24.544648][ C0] __perf_event_overflow+0x458/0x640 [ 24.549955][ C0] perf_swevent_hrtimer+0x4b4/0x540 [ 24.555170][ C0] ? __cfi_perf_swevent_hrtimer+0x10/0x10 [ 24.560909][ C0] ? irqentry_exit+0x37/0x40 [ 24.565517][ C0] ? sysvec_apic_timer_interrupt+0x64/0xc0 [ 24.571355][ C0] ? timerqueue_del+0xd3/0x120 [ 24.576156][ C0] ? __cfi_perf_swevent_hrtimer+0x10/0x10 [ 24.581980][ C0] __hrtimer_run_queues+0x398/0x8a0 [ 24.587207][ C0] ? hrtimer_interrupt+0x8c0/0x8c0 [ 24.592338][ C0] ? ktime_get_update_offsets_now+0x30c/0x320 [ 24.603177][ C0] hrtimer_interrupt+0x3ad/0x8c0 [ 24.608160][ C0] __sysvec_apic_timer_interrupt+0x11e/0x440 [ 24.614173][ C0] sysvec_apic_timer_interrupt+0x53/0xc0 [ 24.620096][ C0] asm_sysvec_apic_timer_interrupt+0x1b/0x20 [ 24.626151][ C0] RIP: 0033:0x7fd5f7585509 [ 24.630595][ C0] 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.650225][ C0] RSP: 002b:00007ffd38f0ef38 EFLAGS: 00000246 [ 24.656308][ C0] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fd5f7585509 [ 24.664297][ C0] RDX: 0000000000000004 RSI: 0000000040042408 RDI: 0000000000000005 [ 24.672281][ C0] RBP: 0000000000000000 R08: 00007fd5f75741b0 R09: 00007fd5f75741b0 [ 24.680364][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 24.688353][ C0] R13: 0000000000000002 R14: 00007fd5f7614ca0 R15: 0000000000000002 [ 24.696345][ C0] [ 24.699381][ C0] [ 24.701709][ C0] Allocated by task 305: [ 24.705956][ C0] kasan_set_track+0x4b/0x70 [ 24.710651][ C0] kasan_save_alloc_info+0x1f/0x30 [ 24.715775][ C0] __kasan_kmalloc+0x95/0xb0 [ 24.720381][ C0] __kmalloc_node+0xb2/0x1e0 [ 24.724979][ C0] bpf_map_area_alloc+0x4b/0xe0 [ 24.729848][ C0] prealloc_elems_and_freelist+0x8a/0x1e0 [ 24.735583][ C0] stack_map_alloc+0x398/0x520 [ 24.740358][ C0] map_create+0x467/0xcf0 [ 24.744699][ C0] __sys_bpf+0x34e/0x850 [ 24.748955][ C0] __x64_sys_bpf+0x7c/0x90 [ 24.753474][ C0] x64_sys_call+0x488/0x9a0 [ 24.757992][ C0] do_syscall_64+0x4c/0xa0 [ 24.762422][ C0] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 24.768328][ C0] [ 24.770658][ C0] The buggy address belongs to the object at ffff88810fe52100 [ 24.770658][ C0] which belongs to the cache kmalloc-64 of size 64 [ 24.784543][ C0] The buggy address is located 40 bytes inside of [ 24.784543][ C0] 64-byte region [ffff88810fe52100, ffff88810fe52140) [ 24.797667][ C0] [ 24.799997][ C0] The buggy address belongs to the physical page: [ 24.806432][ C0] page:ffffea00043f9480 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88810fe52780 pfn:0x10fe52 [ 24.817983][ C0] flags: 0x4000000000000200(slab|zone=1) [ 24.823656][ C0] raw: 4000000000000200 ffffea00043ca240 dead000000000005 ffff888100042780 [ 24.832245][ C0] raw: ffff88810fe52780 0000000080200018 00000001ffffffff 0000000000000000 [ 24.840838][ C0] page dumped because: kasan: bad access detected [ 24.847263][ C0] page_owner tracks the page as allocated [ 24.852983][ C0] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 87, tgid 87 (S02acpid), ts 5312504552, free_ts 0 [ 24.869658][ C0] post_alloc_hook+0x1f5/0x210 [ 24.874436][ C0] prep_new_page+0x1c/0x110 [ 24.878952][ C0] get_page_from_freelist+0x2ca9/0x2d20 [ 24.886927][ C0] __alloc_pages+0x1fa/0x610 [ 24.891647][ C0] alloc_slab_page+0x6e/0xf0 [ 24.896254][ C0] new_slab+0x98/0x3e0 [ 24.900335][ C0] ___slab_alloc+0x70f/0xb70 [ 24.904953][ C0] __slab_alloc+0x5e/0xa0 [ 24.909322][ C0] __kmem_cache_alloc_node+0x204/0x2d0 [ 24.914818][ C0] kmalloc_trace+0x29/0xb0 [ 24.919262][ C0] dma_buf_begin_new_exec+0x91/0xd60 [ 24.924566][ C0] begin_new_exec+0x5c7/0x1cb0 [ 24.929352][ C0] load_elf_binary+0x9e7/0x2820 [ 24.934227][ C0] bprm_execve+0x782/0x1390 [ 24.938793][ C0] do_execveat_common+0x8e3/0xaa0 [ 24.943844][ C0] __x64_sys_execve+0x92/0xb0 [ 24.948545][ C0] page_owner free stack trace missing [ 24.954015][ C0] [ 24.956354][ C0] Memory state around the buggy address: [ 24.962079][ C0] ffff88810fe52000: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 24.970146][ C0] ffff88810fe52080: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 24.978312][ C0] >ffff88810fe52100: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc [ 24.986400][ C0] ^ exit_group(0) = ? +++ exited with 0 +++ [ 24.992042][ C0] ffff88810fe52180: fa fb fb fb fb fb fb fb f