ci2-android-6-1/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-1/syz-executor2807302267 <...> cess permissive=1 [ 14.256594][ T28] audit: type=1400 audit(1790670856.135: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 [ 16.157708][ T232] scp (232) used greatest stack depth: 22216 bytes left Warning: Permanently added '10.128.1.83' (ED25519) to the list of known hosts. execve("ci2-android-6-1/syz-executor2807302267", ["ci2-android-6-1/syz-executor2807302267"], 0x7fffebe3f2f0 /* 10 vars */) = 0 brk(NULL) = 0x55558b3e6000 brk(0x55558b3e6d40) = 0x55558b3e6d40 arch_prctl(ARCH_SET_FS, 0x55558b3e63c0) = 0 set_tid_address(0x55558b3e6690) = 304 set_robust_list(0x55558b3e66a0, 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-executor2807302267", 4096) = 44 getrandom("\x8b\xea\xf0\xd6\x8b\xf9\x25\xd5", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558b3e6d40 brk(0x55558b407d40) = 0x55558b407d40 brk(0x55558b408000) = 0x55558b408000 mprotect(0x7f65452da000, 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=0x55558b3e6690) = 305 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 305 attached [pid 305] set_robust_list(0x55558b3e66a0, 24) = 0 [pid 305] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 305] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 305] getppid() = 0 [pid 305] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 305] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 305] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 305] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 305] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 305] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 305] unshare(CLONE_NEWNS) = 0 [pid 305] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 305] unshare(CLONE_NEWIPC) = -1 EINVAL (Invalid argument) [pid 305] unshare(CLONE_NEWCGROUP) = 0 [pid 305] unshare(CLONE_NEWUTS) = 0 [pid 305] unshare(CLONE_SYSVSEM) = 0 [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] getpid() = 1 [pid 305] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [ 24.229740][ T305] __dump_stack+0x21/0x24 [ 24.234068][ T305] dump_stack_lvl+0x110/0x170 [ 24.238748][ T305] ? __cfi_dump_stack_lvl+0x8/0x8 [ 24.243787][ T305] ? mutex_lock+0x86/0x1b0 [ 24.248202][ T305] print_address_description+0x71/0x200 [ 24.253748][ T305] print_report+0x4a/0x60 [ 24.258093][ T305] kasan_report+0x122/0x150 [ 24.262604][ T305] ? mutex_lock+0x86/0x1b0 [ 24.267034][ T305] kasan_check_range+0x249/0x2a0 [ 24.271969][ T305] __kasan_check_write+0x14/0x20 [ 24.276901][ T305] mutex_lock+0x86/0x1b0 [ 24.281139][ T305] ? __cfi_mutex_lock+0x10/0x10 [ 24.285978][ T305] ? kfree+0x6f/0xf0 [ 24.289880][ T305] ? l2tp_session_put+0xaf/0x1a0 [ 24.294819][ T305] ? l2tp_session_delete+0x3df/0x4d0 [ 24.300235][ T305] pppol2tp_release+0x178/0x2b0 [ 24.305127][ T305] sock_close+0xc9/0x220 [ 24.309377][ T305] ? __cfi_sock_close+0x10/0x10 [ 24.314233][ T305] __fput+0x1fd/0x8f0 [ 24.318226][ T305] ____fput+0x15/0x20 [ 24.322212][ T305] task_work_run+0x1e1/0x250 [ 24.326809][ T305] ? __cfi_task_work_run+0x10/0x10 [ 24.331926][ T305] ptrace_notify+0x23f/0x270 [ 24.336517][ T305] ? __cfi_task_work_add+0x10/0x10 [ 24.341629][ T305] ? __cfi_ptrace_notify+0x10/0x10 [ 24.346741][ T305] ? fput+0x15b/0x1a0 [ 24.350722][ T305] ? filp_close+0x111/0x160 [ 24.355223][ T305] syscall_exit_work+0x84/0x140 [ 24.360069][ T305] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 24.366219][ T305] syscall_exit_to_user_mode+0xd/0x30 [ 24.371609][ T305] do_syscall_64+0x58/0xa0 [ 24.376028][ T305] ? clear_bhb_loop+0x30/0x80 [ 24.380699][ T305] ? clear_bhb_loop+0x30/0x80 [ 24.385369][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 24.391258][ T305] RIP: 0033:0x7f6545259557 [ 24.395687][ T305] 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 [ 24.415285][ T305] RSP: 002b:00007ffd7df78430 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 24.423717][ T305] RAX: 0000000000000000 RBX: 000055558b3e63c0 RCX: 00007f6545259557 [ 24.431717][ T305] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 24.439690][ T305] RBP: 00007f65452af126 R08: 0000000000000000 R09: 0000000000000000 [ 24.447698][ T305] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f65452b0df0 [ 24.455667][ T305] R13: 00007f65452af08e R14: 00007f65452dabc0 R15: 0000000000000002 [ 24.463641][ T305] [ 24.466671][ T305] [ 24.468983][ T305] Allocated by task 305: [ 24.473215][ T305] kasan_set_track+0x4b/0x70 [ 24.477805][ T305] kasan_save_alloc_info+0x1f/0x30 [ 24.482923][ T305] __kasan_kmalloc+0x95/0xb0 [ 24.487527][ T305] __kmalloc+0xb4/0x1e0 [ 24.491689][ T305] l2tp_session_create+0x38/0xbd0 [ 24.496714][ T305] pppol2tp_connect+0xbf5/0x1640 [ 24.501661][ T305] __sys_connect+0x3da/0x460 [ 24.506259][ T305] __x64_sys_connect+0x7a/0x90 [ 24.511020][ T305] x64_sys_call+0x88d/0x9a0 [ 24.515524][ T305] do_syscall_64+0x4c/0xa0 [ 24.519945][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 24.525835][ T305] [ 24.528172][ T305] Freed by task 305: [ 24.532079][ T305] kasan_set_track+0x4b/0x70 [ 24.536669][ T305] kasan_save_free_info+0x2b/0x40 [ 24.541709][ T305] ____kasan_slab_free+0x132/0x180 [ 24.546834][ T305] __kasan_slab_free+0x11/0x20 [ 24.551617][ T305] slab_free_freelist_hook+0xc2/0x190 [ 24.556980][ T305] __kmem_cache_free+0xb7/0x1b0 [ 24.561829][ T305] kfree+0x6f/0xf0 [ 24.565568][ T305] l2tp_session_put+0xaf/0x1a0 [ 24.570338][ T305] l2tp_session_delete+0x3df/0x4d0 [ 24.575446][ T305] pppol2tp_release+0x169/0x2b0 [ 24.580293][ T305] sock_close+0xc9/0x220 [ 24.584546][ T305] __fput+0x1fd/0x8f0 [ 24.588558][ T305] ____fput+0x15/0x20 [ 24.592535][ T305] task_work_run+0x1e1/0x250 [ 24.597123][ T305] ptrace_notify+0x23f/0x270 [ 24.601711][ T305] syscall_exit_work+0x84/0x140 [ 24.606578][ T305] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 24.612726][ T305] syscall_exit_to_user_mode+0xd/0x30 [ 24.618093][ T305] do_syscall_64+0x58/0xa0 [ 24.622507][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 24.628410][ T305] [ 24.630737][ T305] The buggy address belongs to the object at ffff88810f3bbc00 [ 24.630737][ T305] which belongs to the cache kmalloc-512 of size 512 [ 24.644779][ T305] The buggy address is located 336 bytes inside of [ 24.644779][ T305] 512-byte region [ffff88810f3bbc00, ffff88810f3bbe00) [ 24.658043][ T305] [ 24.660372][ T305] The buggy address belongs to the physical page: [ 24.666778][ T305] page:ffffea00043cee00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10f3b8 [ 24.677019][ T305] head:ffffea00043cee00 order:2 compound_mapcount:0 compound_pincount:0 [ 24.685349][ T305] flags: 0x4000000000010200(slab|head|zone=1) [ 24.691422][ T305] raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100042f00 [ 24.699998][ T305] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 24.708567][ T305] page dumped because: kasan: bad access detected [ 24.714970][ T305] page_owner tracks the page as allocated [ 24.720683][ T305] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 68, tgid 68 (init), ts 4813465133, free_ts 0 [ 24.740038][ T305] post_alloc_hook+0x1f5/0x210 [ 24.744801][ T305] prep_new_page+0x1c/0x110 [ 24.749307][ T305] get_page_from_freelist+0x2ca9/0x2d20 [ 24.754856][ T305] __alloc_pages+0x1fa/0x610 [ 24.759442][ T305] alloc_slab_page+0x6e/0xf0 [ 24.764024][ T305] new_slab+0x98/0x3e0 [ 24.768087][ T305] ___slab_alloc+0x70f/0xb70 [ 24.772677][ T305] __slab_alloc+0x5e/0xa0 [ 24.777022][ T305] __kmem_cache_alloc_node+0x204/0x2d0 [ 24.782483][ T305] kmalloc_trace+0x29/0xb0 [ 24.786893][ T305] alloc_bprm+0x59/0x750 [ 24.791142][ T305] do_execveat_common+0x1a7/0xaa0 [ 24.796168][ T305] __x64_sys_execve+0x92/0xb0 [ 24.800848][ T305] x64_sys_call+0x98/0x9a0 [ 24.805263][ T305] do_syscall_64+0x4c/0xa0 [ 24.809692][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 24.815581][ T305] page_owner free stack trace missing [ 24.820934][ T305] [ 24.823247][ T305] Memory state around the buggy address: [ 24.828869][ T305] ffff88810f3bbc00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [pid 305] close(3) = 0 [pid 305] close(4) = 0 [pid 305] close(5) = -1 EBADF (Bad file descriptor) [pid 305] close(6) = -1 EBADF (Bad file descriptor) [pid 305] close(7) = -1 EBADF (Bad file descriptor) [pid 305] close(8) = -1 EBADF (Bad file descriptor) [pid 305] close(9) = -1 EBADF (Bad file descriptor) [pid 305] close(10) = -1 EBADF (Bad file descriptor) [pid 305] close(11) = -1 EBADF (Bad file descriptor) [pid 305] close(12) = -1 EBADF (Bad file descriptor) [pid 305] close(13) = -1 EBADF (Bad file descriptor) [pid 305] close(14) = -1 EBADF (Bad file descriptor) [pid 305] close(15) = -1 EBADF (Bad file descriptor) [pid 305] close(16) = -1 EBADF (Bad file descriptor) [pid 305] close(17) = -1 EBADF (Bad file descriptor) [pid 305] close(18) = -1 EBADF (Bad file descriptor) [pid 305] close(19) = -1 EBADF (Bad file descriptor) [pid 305] close(20) = -1 EBADF (Bad file descriptor) [pid 305] close(21) = -1 EBADF (Bad file descriptor) [pid 305] close(22) = -1 EBADF (Bad file descriptor) [pid 305] close(23) = -1 EBADF (Bad file descriptor) [pid 305] close(24) = -1 EBADF (Bad file descriptor) [pid 305] close(25) = -1 EBADF (Bad file descriptor) [pid 305] close(26) = -1 EBADF (Bad file descriptor) [pid 305] close(27) = -1 EBADF (Bad file descriptor) [pid 305] close(28) = -1 EBADF (Bad file descriptor) [pid 305] close(29) = -1 EBADF (Bad file descriptor) [pid 305] exit_group(1) = ? [pid 305] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=305, si_uid=0, si_status=1, si_utime=0, si_stime=9 /* 0.09 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 24.836928][ T305] ffff88810f3bbc80: fb fb fb fb