ci2-android-6-1/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-1/syz-executor3528978949 <...> Warning: Permanently added '10.128.1.113' (ED25519) to the list of known hosts. execve("ci2-android-6-1/syz-executor3528978949", ["ci2-android-6-1/syz-executor3528978949"], 0x7fff5fb679c0 /* 10 vars */) = 0 brk(NULL) = 0x55559382e000 brk(0x55559382ed40) = 0x55559382ed40 arch_prctl(ARCH_SET_FS, 0x55559382e3c0) = 0 set_tid_address(0x55559382e690) = 305 set_robust_list(0x55559382e6a0, 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-executor3528978949", 4096) = 44 getrandom("\x6d\xbf\x9e\x2a\x0b\x79\x7c\xc1", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55559382ed40 brk(0x55559384fd40) = 0x55559384fd40 brk(0x555593850000) = 0x555593850000 mprotect(0x7f4f3781b000, 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|SIGCHLDci2-android-6-1/strace-static-x86_64: Process 306 attached , child_tidptr=0x55559382e690) = 306 [pid 305] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] set_robust_list(0x55559382e6a0, 24) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 306] getppid() = 0 [pid 306] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 306] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 306] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 306] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 306] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 306] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 306] unshare(CLONE_NEWNS) = 0 [pid 306] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 306] unshare(CLONE_NEWIPC) = -1 EINVAL (Invalid argument) [pid 306] unshare(CLONE_NEWCGROUP) = 0 [pid 306] unshare(CLONE_NEWUTS) = 0 [pid 306] unshare(CLONE_SYSVSEM) = 0 [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] getpid() = 1 [pid 306] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [ 23.302447][ T306] __dump_stack+0x21/0x24 [ 23.365556][ T306] dump_stack_lvl+0x110/0x170 [ 23.370250][ T306] ? __cfi_dump_stack_lvl+0x8/0x8 [ 23.375254][ T306] ? mutex_lock+0x86/0x1b0 [ 23.379651][ T306] print_address_description+0x71/0x200 [ 23.385175][ T306] print_report+0x4a/0x60 [ 23.389484][ T306] kasan_report+0x122/0x150 [ 23.393969][ T306] ? mutex_lock+0x86/0x1b0 [ 23.398363][ T306] kasan_check_range+0x249/0x2a0 [ 23.403288][ T306] __kasan_check_write+0x14/0x20 [ 23.408393][ T306] mutex_lock+0x86/0x1b0 [ 23.412624][ T306] ? __cfi_mutex_lock+0x10/0x10 [ 23.417456][ T306] ? kfree+0x6f/0xf0 [ 23.421328][ T306] ? l2tp_session_put+0xaf/0x1a0 [ 23.426245][ T306] ? l2tp_session_delete+0x3df/0x4d0 [ 23.431508][ T306] pppol2tp_release+0x178/0x2b0 [ 23.436348][ T306] sock_close+0xc9/0x220 [ 23.440589][ T306] ? __cfi_sock_close+0x10/0x10 [ 23.445425][ T306] __fput+0x1fd/0x8f0 [ 23.449399][ T306] ____fput+0x15/0x20 [ 23.453367][ T306] task_work_run+0x1e1/0x250 [ 23.457944][ T306] ? __cfi_task_work_run+0x10/0x10 [ 23.463052][ T306] ptrace_notify+0x23f/0x270 [ 23.467647][ T306] ? __cfi_task_work_add+0x10/0x10 [ 23.472749][ T306] ? __cfi_ptrace_notify+0x10/0x10 [ 23.477853][ T306] ? fput+0x15b/0x1a0 [ 23.481822][ T306] ? filp_close+0x111/0x160 [ 23.486318][ T306] syscall_exit_work+0x84/0x140 [ 23.491152][ T306] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 23.497287][ T306] syscall_exit_to_user_mode+0xd/0x30 [ 23.502642][ T306] do_syscall_64+0x58/0xa0 [ 23.507043][ T306] ? clear_bhb_loop+0x30/0x80 [ 23.511707][ T306] ? clear_bhb_loop+0x30/0x80 [ 23.516393][ T306] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 23.522268][ T306] RIP: 0033:0x7f4f3779a557 [ 23.526692][ T306] 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 [ 23.546286][ T306] RSP: 002b:00007fff1b9983b0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 23.554686][ T306] RAX: 0000000000000000 RBX: 000055559382e3c0 RCX: 00007f4f3779a557 [ 23.562642][ T306] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 23.570593][ T306] RBP: 00007f4f377f0126 R08: 0000000000000000 R09: 0000000000000000 [ 23.578545][ T306] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f4f377f1df0 [ 23.586502][ T306] R13: 00007f4f377f008e R14: 00007f4f3781bbc0 R15: 0000000000000002 [ 23.594460][ T306] [ 23.597460][ T306] [ 23.599766][ T306] Allocated by task 306: [ 23.603983][ T306] kasan_set_track+0x4b/0x70 [ 23.608558][ T306] kasan_save_alloc_info+0x1f/0x30 [ 23.613649][ T306] __kasan_kmalloc+0x95/0xb0 [ 23.618225][ T306] __kmalloc+0xb4/0x1e0 [ 23.622360][ T306] l2tp_session_create+0x38/0xbd0 [ 23.627368][ T306] pppol2tp_connect+0xbf5/0x1640 [ 23.632399][ T306] __sys_connect+0x3da/0x460 [ 23.636973][ T306] __x64_sys_connect+0x7a/0x90 [ 23.641727][ T306] x64_sys_call+0x88d/0x9a0 [ 23.646213][ T306] do_syscall_64+0x4c/0xa0 [ 23.650617][ T306] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 23.656492][ T306] [ 23.658801][ T306] Freed by task 306: [ 23.662668][ T306] kasan_set_track+0x4b/0x70 [ 23.667244][ T306] kasan_save_free_info+0x2b/0x40 [ 23.672601][ T306] ____kasan_slab_free+0x132/0x180 [ 23.677693][ T306] __kasan_slab_free+0x11/0x20 [ 23.682452][ T306] slab_free_freelist_hook+0xc2/0x190 [ 23.687803][ T306] __kmem_cache_free+0xb7/0x1b0 [ 23.692634][ T306] kfree+0x6f/0xf0 [ 23.696338][ T306] l2tp_session_put+0xaf/0x1a0 [ 23.701082][ T306] l2tp_session_delete+0x3df/0x4d0 [ 23.706173][ T306] pppol2tp_release+0x169/0x2b0 [ 23.711010][ T306] sock_close+0xc9/0x220 [ 23.715230][ T306] __fput+0x1fd/0x8f0 [ 23.719195][ T306] ____fput+0x15/0x20 [ 23.723159][ T306] task_work_run+0x1e1/0x250 [ 23.727731][ T306] ptrace_notify+0x23f/0x270 [ 23.732306][ T306] syscall_exit_work+0x84/0x140 [ 23.737138][ T306] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 23.743274][ T306] syscall_exit_to_user_mode+0xd/0x30 [ 23.748637][ T306] do_syscall_64+0x58/0xa0 [ 23.753036][ T306] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 23.758920][ T306] [ 23.761232][ T306] The buggy address belongs to the object at ffff88810f452400 [ 23.761232][ T306] which belongs to the cache kmalloc-512 of size 512 [ 23.775295][ T306] The buggy address is located 336 bytes inside of [ 23.775295][ T306] 512-byte region [ffff88810f452400, ffff88810f452600) [ 23.788546][ T306] [ 23.790851][ T306] The buggy address belongs to the physical page: [ 23.797239][ T306] page:ffffea00043d1400 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88810f453c00 pfn:0x10f450 [ 23.808773][ T306] head:ffffea00043d1400 order:2 compound_mapcount:0 compound_pincount:0 [ 23.817081][ T306] flags: 0x4000000000010200(slab|head|zone=1) [ 23.823146][ T306] raw: 4000000000010200 0000000000000000 dead000000000001 ffff888100042f00 [ 23.831715][ T306] raw: ffff88810f453c00 000000008010000f 00000001ffffffff 0000000000000000 [ 23.840272][ T306] page dumped because: kasan: bad access detected [ 23.846673][ T306] page_owner tracks the page as allocated [ 23.852369][ T306] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 90, tgid 90 (S02klogd), ts 3781392562, free_ts 3763912076 [ 23.872841][ T306] post_alloc_hook+0x1f5/0x210 [ 23.877599][ T306] prep_new_page+0x1c/0x110 [ 23.882089][ T306] get_page_from_freelist+0x2ca9/0x2d20 [ 23.887623][ T306] __alloc_pages+0x1fa/0x610 [ 23.892231][ T306] alloc_slab_page+0x6e/0xf0 [ 23.896809][ T306] new_slab+0x98/0x3e0 [ 23.900860][ T306] ___slab_alloc+0x70f/0xb70 [ 23.905434][ T306] __slab_alloc+0x5e/0xa0 [ 23.909755][ T306] __kmem_cache_alloc_node+0x204/0x2d0 [ 23.915199][ T306] kmalloc_trace+0x29/0xb0 [ 23.919596][ T306] alloc_bprm+0x59/0x750 [ 23.923824][ T306] do_execveat_common+0x1a7/0xaa0 [ 23.928833][ T306] __x64_sys_execve+0x92/0xb0 [ 23.933495][ T306] x64_sys_call+0x98/0x9a0 [ 23.937896][ T306] do_syscall_64+0x4c/0xa0 [ 23.942300][ T306] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 23.948200][ T306] page last free stack trace: [ 23.952851][ T306] free_unref_page_prepare+0x81b/0x820 [ 23.958299][ T306] free_unref_page+0x93/0x530 [ 23.962964][ T306] __free_pages+0x67/0x100 [ 23.967365][ T306] free_pages+0x82/0x90 [ 23.971525][ T306] __stack_depot_save+0x45f/0x490 [ 23.976531][ T306] kasan_set_track+0x60/0x70 [ 23.981101][ T306] kasan_save_alloc_info+0x1f/0x30 [ 23.986193][ T306] __kasan_kmalloc+0x95/0xb0 [ 23.990766][ T306] __kmalloc_node_track_caller+0xb1/0x1e0 [ 23.996472][ T306] kmemdup+0x2b/0x60 [ 24.000346][ T306] sidtab_sid2str_get+0x137/0x2c0 [ 24.005356][ T306] security_sid_to_context_core+0x2ac/0x480 [ 24.011266][ T306] security_sid_to_context+0x33/0x40 [ 24.016533][ T306] avc_audit_post_callback+0x135/0x830 [ 24.022262][ T306] common_lsm_audit+0x133f/0x1730 [ 24.027497][ T306] slow_avc_audit+0x1c4/0x240 [ 24.032181][ T306] [ 24.034487][ T306] Memory state around the buggy address: [ 24.040096][ T306] ffff88810f452400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.048142][ T306] ffff88810f452480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.056189][ T306] >ffff88810f452500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.064236][ T306] ^ [pid 306] close(3) = 0 [pid 306] close(4) = 0 [pid 306] close(5) = -1 EBADF (Bad file descriptor) [pid 306] close(6) = -1 EBADF (Bad file descriptor) [pid 306] close(7) = -1 EBADF (Bad file descriptor) [pid 306] close(8) = -1 EBADF (Bad file descriptor) [pid 306] close(9) = -1 EBADF (Bad file descriptor) [pid 306] close(10) = -1 EBADF (Bad file descriptor) [pid 306] close(11) = -1 EBADF (Bad file descriptor) [pid 306] close(12) = -1 EBADF (Bad file descriptor) [pid 306] close(13) = -1 EBADF (Bad file descriptor) [pid 306] close(14) = -1 EBADF (Bad file descriptor) [pid 306] close(15) = -1 EBADF (Bad file descriptor) [pid 306] close(16) = -1 EBADF (Bad file descriptor) [pid 306] close(17) = -1 EBADF (Bad file descriptor) [pid 306] close(18) = -1 EBADF (Bad file descriptor) [pid 306] close(19) = -1 EBADF (Bad file descriptor) [pid 306] close(20) = -1 EBADF (Bad file descriptor) [pid 306] close(21) = -1 EBADF (Bad file descriptor) [pid 306] close(22) = -1 EBADF (Bad file descriptor) [pid 306] close(23) = -1 EBADF (Bad file descriptor) [pid 306] close(24) = -1 EBADF (Bad file descriptor) [pid 306] close(25) = -1 EBADF (Bad file descriptor) [pid 306] close(26) = -1 EBADF (Bad file descriptor) [pid 306] close(27) = -1 EBADF (Bad file descriptor) [pid 306] close(28) = -1 EBADF (Bad file descriptor) [pid 306] close(29) = -1 EBADF (Bad file descriptor) [pid 306] exit_group(1) = ? [pid 306] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=306, si_uid=0, si_status=1, si_utime=0, si_stime=7 /* 0.07 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 24.070912][ T306] ffff88810f452580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb