ci2-android-6-1/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-1/syz-executor2590827200 <...> rocess permissive=1 [ 15.034190][ T28] audit: type=1400 audit(1785694619.026:63): avc: denied { siginh } for pid=226 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 Warning: Permanently added '10.128.0.132' (ED25519) to the list of known hosts. execve("ci2-android-6-1/syz-executor2590827200", ["ci2-android-6-1/syz-executor2590827200"], 0x7ffe29a74f90 /* 10 vars */) = 0 brk(NULL) = 0x5555585f4000 brk(0x5555585f4d40) = 0x5555585f4d40 arch_prctl(ARCH_SET_FS, 0x5555585f43c0) = 0 set_tid_address(0x5555585f4690) = 306 set_robust_list(0x5555585f46a0, 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/syz-executor2590827200", 4096) = 44 getrandom("\xdd\x5e\x65\x4c\xd6\x6e\xf6\x6c", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555585f4d40 brk(0x555558615d40) = 0x555558615d40 brk(0x555558616000) = 0x555558616000 mprotect(0x7f943c6eb000, 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 unshare(CLONE_NEWPID) = 0 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555585f4690) = 307 ci2-android-6-1/strace-static-x86_64: Process 307 attached [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] set_robust_list(0x5555585f46a0, 24) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 307] getppid() = 0 [pid 307] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 307] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 307] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 307] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 307] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 307] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 307] unshare(CLONE_NEWNS) = 0 [pid 307] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 307] unshare(CLONE_NEWIPC) = -1 EINVAL (Invalid argument) [pid 307] unshare(CLONE_NEWCGROUP) = 0 [pid 307] unshare(CLONE_NEWUTS) = 0 [pid 307] unshare(CLONE_SYSVSEM) = 0 [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] getpid() = 1 [pid 307] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [ 25.753308][ T307] __dump_stack+0x21/0x24 [ 25.757665][ T307] dump_stack_lvl+0x110/0x170 [ 25.762364][ T307] ? __cfi_dump_stack_lvl+0x8/0x8 [ 25.767407][ T307] ? mutex_lock+0x86/0x1b0 [ 25.771872][ T307] print_address_description+0x71/0x200 [ 25.777434][ T307] print_report+0x4a/0x60 [ 25.781859][ T307] kasan_report+0x122/0x150 [ 25.786372][ T307] ? mutex_lock+0x86/0x1b0 [ 25.790797][ T307] kasan_check_range+0x249/0x2a0 [ 25.795741][ T307] __kasan_check_write+0x14/0x20 [ 25.800720][ T307] mutex_lock+0x86/0x1b0 [ 25.805006][ T307] ? __cfi_mutex_lock+0x10/0x10 [ 25.809867][ T307] ? kfree+0x6f/0xf0 [ 25.813769][ T307] ? l2tp_session_put+0xaf/0x1a0 [ 25.818715][ T307] ? l2tp_session_delete+0x3df/0x4d0 [ 25.824006][ T307] pppol2tp_release+0x178/0x2b0 [ 25.828862][ T307] sock_close+0xc9/0x220 [ 25.833138][ T307] ? __cfi_sock_close+0x10/0x10 [ 25.838000][ T307] __fput+0x1fd/0x8f0 [ 25.841997][ T307] ____fput+0x15/0x20 [ 25.845989][ T307] task_work_run+0x1e1/0x250 [ 25.850589][ T307] ? __cfi_task_work_run+0x10/0x10 [ 25.855730][ T307] ptrace_notify+0x23f/0x270 [ 25.860348][ T307] ? __cfi_task_work_add+0x10/0x10 [ 25.865484][ T307] ? __cfi_ptrace_notify+0x10/0x10 [ 25.871145][ T307] ? fput+0x15b/0x1a0 [ 25.875176][ T307] ? filp_close+0x111/0x160 [ 25.879705][ T307] syscall_exit_work+0x84/0x140 [ 25.884568][ T307] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 25.890745][ T307] syscall_exit_to_user_mode+0xd/0x30 [ 25.896144][ T307] do_syscall_64+0x58/0xa0 [ 25.900565][ T307] ? clear_bhb_loop+0x30/0x80 [ 25.905239][ T307] ? clear_bhb_loop+0x30/0x80 [ 25.909934][ T307] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 25.915839][ T307] RIP: 0033:0x7f943c66a557 [ 25.920288][ T307] Code: 48 89 fa 4c 89 df e8 48 1f 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff [ 25.939972][ T307] RSP: 002b:00007ffd39d7e670 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 25.948397][ T307] RAX: 0000000000000000 RBX: 00005555585f43c0 RCX: 00007f943c66a557 [ 25.956375][ T307] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 25.964626][ T307] RBP: 00007f943c6c0126 R08: 0000000000000000 R09: 0000000000000000 [ 25.972610][ T307] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f943c6c1df0 [ 25.980607][ T307] R13: 00007f943c6c008e R14: 00007f943c6ebbc0 R15: 0000000000000002 [ 25.988589][ T307] [ 25.991608][ T307] [ 25.993948][ T307] Allocated by task 307: [ 25.998184][ T307] kasan_set_track+0x4b/0x70 [ 26.002784][ T307] kasan_save_alloc_info+0x1f/0x30 [ 26.008001][ T307] __kasan_kmalloc+0x95/0xb0 [ 26.012649][ T307] __kmalloc+0xb4/0x1e0 [ 26.016826][ T307] l2tp_session_create+0x38/0xbd0 [ 26.021866][ T307] pppol2tp_connect+0xbf5/0x1640 [ 26.026853][ T307] __sys_connect+0x3da/0x460 [ 26.031468][ T307] __x64_sys_connect+0x7a/0x90 [ 26.036246][ T307] x64_sys_call+0x88d/0x9a0 [ 26.040777][ T307] do_syscall_64+0x4c/0xa0 [ 26.045307][ T307] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 26.051226][ T307] [ 26.053570][ T307] Freed by task 307: [ 26.057470][ T307] kasan_set_track+0x4b/0x70 [ 26.062078][ T307] kasan_save_free_info+0x2b/0x40 [ 26.067135][ T307] ____kasan_slab_free+0x132/0x180 [ 26.072274][ T307] __kasan_slab_free+0x11/0x20 [ 26.077081][ T307] slab_free_freelist_hook+0xc2/0x190 [ 26.082479][ T307] __kmem_cache_free+0xb7/0x1b0 [ 26.087369][ T307] kfree+0x6f/0xf0 [ 26.091113][ T307] l2tp_session_put+0xaf/0x1a0 [ 26.095900][ T307] l2tp_session_delete+0x3df/0x4d0 [ 26.101032][ T307] pppol2tp_release+0x169/0x2b0 [ 26.105914][ T307] sock_close+0xc9/0x220 [ 26.110181][ T307] __fput+0x1fd/0x8f0 [ 26.114180][ T307] ____fput+0x15/0x20 [ 26.118178][ T307] task_work_run+0x1e1/0x250 [ 26.122787][ T307] ptrace_notify+0x23f/0x270 [ 26.127397][ T307] syscall_exit_work+0x84/0x140 [ 26.132262][ T307] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 26.138440][ T307] syscall_exit_to_user_mode+0xd/0x30 [ 26.143841][ T307] do_syscall_64+0x58/0xa0 [ 26.148281][ T307] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 26.154208][ T307] [ 26.156552][ T307] The buggy address belongs to the object at ffff88810f29f400 [ 26.156552][ T307] which belongs to the cache kmalloc-512 of size 512 [ 26.170645][ T307] The buggy address is located 336 bytes inside of [ 26.170645][ T307] 512-byte region [ffff88810f29f400, ffff88810f29f600) [ 26.183936][ T307] [ 26.186276][ T307] The buggy address belongs to the physical page: [ 26.192704][ T307] page:ffffea00043ca700 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10f29c [ 26.202966][ T307] head:ffffea00043ca700 order:2 compound_mapcount:0 compound_pincount:0 [ 26.211304][ T307] flags: 0x4000000000010200(slab|head|zone=1) [ 26.217396][ T307] raw: 4000000000010200 0000000000000000 dead000000000001 ffff888100042f00 [ 26.225991][ T307] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 26.234576][ T307] page dumped because: kasan: bad access detected [ 26.241023][ T307] page_owner tracks the page as allocated [ 26.246756][ T307] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 81, tgid 81 (init), ts 4841642486, free_ts 4836935470 [ 26.267186][ T307] post_alloc_hook+0x1f5/0x210 [ 26.271990][ T307] prep_new_page+0x1c/0x110 [ 26.276519][ T307] get_page_from_freelist+0x2ca9/0x2d20 [ 26.282091][ T307] __alloc_pages+0x1fa/0x610 [ 26.286701][ T307] alloc_slab_page+0x6e/0xf0 [ 26.291302][ T307] new_slab+0x98/0x3e0 [ 26.295381][ T307] ___slab_alloc+0x70f/0xb70 [ 26.299994][ T307] __slab_alloc+0x5e/0xa0 [ 26.304346][ T307] __kmem_cache_alloc_node+0x204/0x2d0 [ 26.309822][ T307] kmalloc_trace+0x29/0xb0 [ 26.314252][ T307] alloc_bprm+0x59/0x750 [ 26.318569][ T307] do_execveat_common+0x1a7/0xaa0 [ 26.323702][ T307] __x64_sys_execve+0x92/0xb0 [ 26.328490][ T307] x64_sys_call+0x98/0x9a0 [ 26.333045][ T307] do_syscall_64+0x4c/0xa0 [ 26.337487][ T307] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 26.343401][ T307] page last free stack trace: [ 26.348080][ T307] free_unref_page_prepare+0x80c/0x820 [ 26.353570][ T307] free_unref_page+0x93/0x530 [ 26.358299][ T307] __free_pages+0x67/0x100 [ 26.362736][ T307] free_pages+0x82/0x90 [ 26.366933][ T307] __stack_depot_save+0x45f/0x490 [ 26.372195][ T307] kasan_set_track+0x60/0x70 [ 26.376821][ T307] kasan_save_free_info+0x2b/0x40 [ 26.381870][ T307] ____kasan_slab_free+0x132/0x180 [ 26.387004][ T307] __kasan_slab_free+0x11/0x20 [ 26.392056][ T307] slab_free_freelist_hook+0xc2/0x190 [ 26.397564][ T307] kmem_cache_free+0x12d/0x300 [ 26.402380][ T307] __put_task_struct+0x270/0x3e0 [ 26.407365][ T307] delayed_put_task_struct+0x6c/0x1c0 [ 26.412765][ T307] rcu_do_batch+0x52b/0xc30 [ 26.417282][ T307] rcu_core+0x486/0xf00 [ 26.421453][ T307] rcu_core_si+0x9/0x10 [ 26.425629][ T307] [ 26.427984][ T307] Memory state around the buggy address: [ 26.433627][ T307] ffff88810f29f400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.441792][ T307] ffff88810f29f480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.449878][ T307] >ffff88810f29f500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.457973][ T307] ^ [pid 307] close(3) = 0 [pid 307] close(4) = 0 [pid 307] close(5) = -1 EBADF (Bad file descriptor) [pid 307] close(6) = -1 EBADF (Bad file descriptor) [pid 307] close(7) = -1 EBADF (Bad file descriptor) [pid 307] close(8) = -1 EBADF (Bad file descriptor) [pid 307] close(9) = -1 EBADF (Bad file descriptor) [pid 307] close(10) = -1 EBADF (Bad file descriptor) [pid 307] close(11) = -1 EBADF (Bad file descriptor) [pid 307] close(12) = -1 EBADF (Bad file descriptor) [pid 307] close(13) = -1 EBADF (Bad file descriptor) [pid 307] close(14) = -1 EBADF (Bad file descriptor) [pid 307] close(15) = -1 EBADF (Bad file descriptor) [pid 307] close(16) = -1 EBADF (Bad file descriptor) [pid 307] close(17) = -1 EBADF (Bad file descriptor) [pid 307] close(18) = -1 EBADF (Bad file descriptor) [pid 307] close(19) = -1 EBADF (Bad file descriptor) [pid 307] close(20) = -1 EBADF (Bad file descriptor) [pid 307] close(21) = -1 EBADF (Bad file descriptor) [pid 307] close(22) = -1 EBADF (Bad file descriptor) [pid 307] close(23) = -1 EBADF (Bad file descriptor) [pid 307] close(24) = -1 EBADF (Bad file descriptor) [pid 307] close(25) = -1 EBADF (Bad file descriptor) [pid 307] close(26) = -1 EBADF (Bad file descriptor) [pid 307] close(27) = -1 EBADF (Bad file descriptor) [pid 307] close(28) = -1 EBADF (Bad file descriptor) [pid 307] close(29) = -1 EBADF (Bad file descriptor) [pid 307] exit_group(1) = ? [pid 307] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=307, si_uid=0, si_status=1, si_utime=0, si_stime=6 /* 0.06 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 26.46466