ci2-android-5-10/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-5-10/syz-executor4072255020 <...> rocess permissive=1 [ 16.058063][ T24] audit: type=1400 audit(1794578949.079:63): avc: denied { siginh } for pid=245 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.192' (ED25519) to the list of known hosts. execve("ci2-android-5-10/syz-executor4072255020", ["ci2-android-5-10/syz-executor4072255020"], 0x7ffef490e0f0 /* 10 vars */) = 0 brk(NULL) = 0x55555eb58000 brk(0x55555eb58d40) = 0x55555eb58d40 arch_prctl(ARCH_SET_FS, 0x55555eb583c0) = 0 set_tid_address(0x55555eb58690) = 297 set_robust_list(0x55555eb586a0, 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-5-10/syz-executor4072255020", 4096) = 45 getrandom("\x15\x5a\x2b\x5a\x64\x03\x10\x58", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555eb58d40 brk(0x55555eb79d40) = 0x55555eb79d40 brk(0x55555eb7a000) = 0x55555eb7a000 mprotect(0x7f06449d3000, 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=0x55555eb58690) = 298 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-5-10/strace-static-x86_64: Process 298 attached [pid 298] set_robust_list(0x55555eb586a0, 24) = 0 [pid 298] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 298] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 298] getppid() = 0 [pid 298] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 298] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 298] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 298] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 298] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 298] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 298] unshare(CLONE_NEWNS) = 0 [pid 298] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 298] unshare(CLONE_NEWIPC) = -1 EINVAL (Invalid argument) [pid 298] unshare(CLONE_NEWCGROUP) = 0 [pid 298] unshare(CLONE_NEWUTS) = 0 [pid 298] unshare(CLONE_SYSVSEM) = 0 [pid 298] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 298] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 298] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 298] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 298] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 298] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 298] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 298] getpid() = 1 [pid 298] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff [ 25.384892][ T298] RSP: 002b:00007ffc921ab820 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 25.393278][ T298] RAX: 0000000000000000 RBX: 000055555eb583c0 RCX: 00007f0644952557 [ 25.401245][ T298] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 25.409191][ T298] RBP: 00007f06449a8171 R08: 0000000000000000 R09: 0000000000000000 [ 25.417138][ T298] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f06449a9dfd [ 25.425085][ T298] R13: 00007f06449a808e R14: 00007f06449d3bc0 R15: 0000000000000002 [ 25.433038][ T298] [ 25.435342][ T298] Allocated by task 298: [ 25.439562][ T298] __kasan_kmalloc+0xd4/0x100 [ 25.444210][ T298] __kmalloc+0x19f/0x330 [ 25.448440][ T298] l2tp_session_create+0x39/0xb60 [ 25.453456][ T298] pppol2tp_connect+0xbf5/0x1640 [ 25.458374][ T298] __sys_connect+0x3ce/0x450 [ 25.462959][ T298] __x64_sys_connect+0x7a/0x90 [ 25.467697][ T298] do_syscall_64+0x31/0x40 [ 25.472091][ T298] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 25.477954][ T298] [ 25.480267][ T298] Freed by task 298: [ 25.484155][ T298] kasan_set_track+0x4a/0x70 [ 25.488792][ T298] kasan_set_free_info+0x23/0x40 [ 25.493708][ T298] ____kasan_slab_free+0x125/0x160 [ 25.499135][ T298] __kasan_slab_free+0x11/0x20 [ 25.503874][ T298] slab_free_freelist_hook+0xc5/0x190 [ 25.509260][ T298] kfree+0xc0/0x270 [ 25.513045][ T298] l2tp_session_put+0xb2/0x1a0 [ 25.517783][ T298] l2tp_session_delete+0x3a9/0x4a0 [ 25.522867][ T298] pppol2tp_release+0x169/0x2b0 [ 25.527695][ T298] sock_close+0xb8/0x200 [ 25.531928][ T298] __fput+0x2dc/0x730 [ 25.535886][ T298] ____fput+0x15/0x20 [ 25.539845][ T298] task_work_run+0x127/0x190 [ 25.544424][ T298] ptrace_notify+0x230/0x270 [ 25.548986][ T298] syscall_exit_work+0x6e/0x140 [ 25.553817][ T298] syscall_exit_to_user_mode+0x2f/0x40 [ 25.559249][ T298] do_syscall_64+0x3d/0x40 [ 25.563639][ T298] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 25.569501][ T298] [ 25.571807][ T298] The buggy address belongs to the object at ffff88810aa89800 [ 25.571807][ T298] which belongs to the cache kmalloc-512 of size 512 [ 25.585834][ T298] The buggy address is located 336 bytes inside of [ 25.585834][ T298] 512-byte region [ffff88810aa89800, ffff88810aa89a00) [ 25.599556][ T298] The buggy address belongs to the page: [ 25.605187][ T298] page:ffffea00042aa200 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10aa88 [ 25.615396][ T298] head:ffffea00042aa200 order:2 compound_mapcount:0 compound_pincount:0 [ 25.623704][ T298] flags: 0x4000000000010200(slab|head) [ 25.629142][ T298] raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100043080 [ 25.637705][ T298] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 25.646260][ T298] page dumped because: kasan: bad access detected [ 25.652645][ T298] page_owner tracks the page as allocated [ 25.658344][ T298] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 298, ts 25066842243, free_ts 25047634851 [ 25.677324][ T298] prep_new_page+0x176/0x190 [ 25.681889][ T298] get_page_from_freelist+0x225f/0x23f0 [ 25.687408][ T298] __alloc_pages_nodemask+0x29a/0x640 [ 25.692762][ T298] new_slab+0x84/0x3f0 [ 25.696824][ T298] ___slab_alloc+0x2f8/0x4c0 [ 25.701804][ T298] __slab_alloc+0x63/0xa0 [ 25.706109][ T298] __kmalloc+0x1f9/0x330 [ 25.710345][ T298] l2tp_session_create+0x39/0xb60 [ 25.715345][ T298] pppol2tp_connect+0xbf5/0x1640 [ 25.720256][ T298] __sys_connect+0x3ce/0x450 [ 25.724826][ T298] __x64_sys_connect+0x7a/0x90 [ 25.729572][ T298] do_syscall_64+0x31/0x40 [ 25.734002][ T298] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 25.739868][ T298] page last free stack trace: [ 25.744524][ T298] __free_pages_ok+0x80b/0x830 [ 25.749260][ T298] __free_pages+0xd8/0x390 [ 25.753647][ T298] free_pages+0x82/0x90 [ 25.758238][ T298] __stack_depot_save+0x492/0x4c0 [ 25.763251][ T298] kasan_set_track+0x5b/0x70 [ 25.767822][ T298] kasan_set_free_info+0x23/0x40 [ 25.772731][ T298] ____kasan_slab_free+0x125/0x160 [ 25.777815][ T298] __kasan_slab_free+0x11/0x20 [ 25.782552][ T298] slab_free_freelist_hook+0xc5/0x190 [ 25.787900][ T298] kfree+0xc0/0x270 [ 25.791682][ T298] avc_audit_post_callback+0x33f/0x830 [ 25.797126][ T298] common_lsm_audit+0x14a4/0x1850 [ 25.802125][ T298] slow_avc_audit+0x1c4/0x240 [ 25.806781][ T298] avc_has_perm+0x215/0x3d0 [ 25.811260][ T298] selinux_socket_connect_helper+0x27d/0x8f0 [ 25.817210][ T298] selinux_socket_connect+0x23/0x30 [ 25.822393][ T298] [ 25.824695][ T298] Memory state around the buggy address: [ 25.830298][ T298] ffff88810aa89800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [pid 298] close(3) = 0 [pid 298] close(4) = 0 [pid 298] close(5) = -1 EBADF (Bad file descriptor) [pid 298] close(6) = -1 EBADF (Bad file descriptor) [pid 298] close(7) = -1 EBADF (Bad file descriptor) [pid 298] close(8) = -1 EBADF (Bad file descriptor) [pid 298] close(9) = -1 EBADF (Bad file descriptor) [pid 298] close(10) = -1 EBADF (Bad file descriptor) [pid 298] close(11) = -1 EBADF (Bad file descriptor) [pid 298] close(12) = -1 EBADF (Bad file descriptor) [pid 298] close(13) = -1 EBADF (Bad file descriptor) [pid 298] close(14) = -1 EBADF (Bad file descriptor) [pid 298] close(15) = -1 EBADF (Bad file descriptor) [pid 298] close(16) = -1 EBADF (Bad file descriptor) [pid 298] close(17) = -1 EBADF (Bad file descriptor) [pid 298] close(18) = -1 EBADF (Bad file descriptor) [pid 298] close(19) = -1 EBADF (Bad file descriptor) [pid 298] close(20) = -1 EBADF (Bad file descriptor) [pid 298] close(21) = -1 EBADF (Bad file descriptor) [pid 298] close(22) = -1 EBADF (Bad file descriptor) [pid 298] close(23) = -1 EBADF (Bad file descriptor) [pid 298] close(24) = -1 EBADF (Bad file descriptor) [pid 298] close(25) = -1 EBADF (Bad file descriptor) [pid 298] close(26) = -1 EBADF (Bad file descriptor) [pid 298] close(27) = -1 EBADF (Bad file descriptor) [pid 298] close(28) = -1 EBADF (Bad file descriptor) [pid 298] close(29) = -1 EBADF (Bad file descriptor) [pid 298] exit_group(1) = ? [pid 298] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=298, si_uid=0, si_status=1, si_utime=0, si_stime=6 /* 0.06 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 25.838333][ T298] ffff88810aa89880: fb fb fb fb f