ci2-android-6-1/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-1/syz-executor4219454030 <...> cess permissive=1 [ 13.100034][ T28] audit: type=1400 audit(1790614171.755: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 [ 13.107493][ T223] sshd-session (223) used greatest stack depth: 22216 bytes left Warning: Permanently added '10.128.0.153' (ED25519) to the list of known hosts. execve("ci2-android-6-1/syz-executor4219454030", ["ci2-android-6-1/syz-executor4219454030"], 0x7ffef27a89d0 /* 10 vars */) = 0 brk(NULL) = 0x55555f702000 brk(0x55555f702d40) = 0x55555f702d40 arch_prctl(ARCH_SET_FS, 0x55555f7023c0) = 0 set_tid_address(0x55555f702690) = 306 set_robust_list(0x55555f7026a0, 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-executor4219454030", 4096) = 44 getrandom("\xab\x91\x9c\x40\xea\xc2\x11\x21", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555f702d40 brk(0x55555f723d40) = 0x55555f723d40 brk(0x55555f724000) = 0x55555f724000 mprotect(0x7ffaa76af000, 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=0x55555f702690) = 307 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 307 attached [pid 307] set_robust_list(0x55555f7026a0, 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< [ 22.854251][ T307] __dump_stack+0x21/0x24 [ 22.858566][ T307] dump_stack_lvl+0x110/0x170 [ 22.863219][ T307] ? __cfi_dump_stack_lvl+0x8/0x8 [ 22.868221][ T307] ? mutex_lock+0x86/0x1b0 [ 22.872612][ T307] print_address_description+0x71/0x200 [ 22.878136][ T307] print_report+0x4a/0x60 [ 22.882442][ T307] kasan_report+0x122/0x150 [ 22.886920][ T307] ? mutex_lock+0x86/0x1b0 [ 22.891340][ T307] kasan_check_range+0x249/0x2a0 [ 22.896259][ T307] __kasan_check_write+0x14/0x20 [ 22.901193][ T307] mutex_lock+0x86/0x1b0 [ 22.905415][ T307] ? __cfi_mutex_lock+0x10/0x10 [ 22.910240][ T307] ? kfree+0x6f/0xf0 [ 22.914109][ T307] ? l2tp_session_put+0xaf/0x1a0 [ 22.919021][ T307] ? l2tp_session_delete+0x3df/0x4d0 [ 22.924294][ T307] pppol2tp_release+0x178/0x2b0 [ 22.929126][ T307] sock_close+0xc9/0x220 [ 22.933345][ T307] ? __cfi_sock_close+0x10/0x10 [ 22.938169][ T307] __fput+0x1fd/0x8f0 [ 22.942133][ T307] ____fput+0x15/0x20 [ 22.946095][ T307] task_work_run+0x1e1/0x250 [ 22.950666][ T307] ? __cfi_task_work_run+0x10/0x10 [ 22.955756][ T307] ptrace_notify+0x23f/0x270 [ 22.960330][ T307] ? __cfi_task_work_add+0x10/0x10 [ 22.965419][ T307] ? __cfi_ptrace_notify+0x10/0x10 [ 22.970510][ T307] ? fput+0x15b/0x1a0 [ 22.974471][ T307] ? filp_close+0x111/0x160 [ 22.978950][ T307] syscall_exit_work+0x84/0x140 [ 22.983778][ T307] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 22.989911][ T307] syscall_exit_to_user_mode+0xd/0x30 [ 22.995256][ T307] do_syscall_64+0x58/0xa0 [ 22.999656][ T307] ? clear_bhb_loop+0x30/0x80 [ 23.004334][ T307] ? clear_bhb_loop+0x30/0x80 [ 23.009004][ T307] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 23.014886][ T307] RIP: 0033:0x7ffaa762e557 [ 23.019299][ 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 [ 23.038884][ T307] RSP: 002b:00007fffeb826f30 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 23.047279][ T307] RAX: 0000000000000000 RBX: 000055555f7023c0 RCX: 00007ffaa762e557 [ 23.055233][ T307] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 23.063186][ T307] RBP: 00007ffaa7684126 R08: 0000000000000000 R09: 0000000000000000 [ 23.071140][ T307] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffaa7685df0 [ 23.079096][ T307] R13: 00007ffaa768408e R14: 00007ffaa76afbc0 R15: 0000000000000002 [ 23.087050][ T307] [ 23.090049][ T307] [ 23.092370][ T307] Allocated by task 307: [ 23.096583][ T307] kasan_set_track+0x4b/0x70 [ 23.101150][ T307] kasan_save_alloc_info+0x1f/0x30 [ 23.106265][ T307] __kasan_kmalloc+0x95/0xb0 [ 23.110844][ T307] __kmalloc+0xb4/0x1e0 [ 23.114986][ T307] l2tp_session_create+0x38/0xbd0 [ 23.120026][ T307] pppol2tp_connect+0xbf5/0x1640 [ 23.124954][ T307] __sys_connect+0x3da/0x460 [ 23.129537][ T307] __x64_sys_connect+0x7a/0x90 [ 23.134290][ T307] x64_sys_call+0x88d/0x9a0 [ 23.138775][ T307] do_syscall_64+0x4c/0xa0 [ 23.143172][ T307] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 23.149048][ T307] [ 23.151354][ T307] Freed by task 307: [ 23.155217][ T307] kasan_set_track+0x4b/0x70 [ 23.159792][ T307] kasan_save_free_info+0x2b/0x40 [ 23.164812][ T307] ____kasan_slab_free+0x132/0x180 [ 23.169911][ T307] __kasan_slab_free+0x11/0x20 [ 23.174654][ T307] slab_free_freelist_hook+0xc2/0x190 [ 23.180094][ T307] __kmem_cache_free+0xb7/0x1b0 [ 23.184928][ T307] kfree+0x6f/0xf0 [ 23.188651][ T307] l2tp_session_put+0xaf/0x1a0 [ 23.193518][ T307] l2tp_session_delete+0x3df/0x4d0 [ 23.198607][ T307] pppol2tp_release+0x169/0x2b0 [ 23.203434][ T307] sock_close+0xc9/0x220 [ 23.207677][ T307] __fput+0x1fd/0x8f0 [ 23.211636][ T307] ____fput+0x15/0x20 [ 23.215594][ T307] task_work_run+0x1e1/0x250 [ 23.220189][ T307] ptrace_notify+0x23f/0x270 [ 23.224760][ T307] syscall_exit_work+0x84/0x140 [ 23.229608][ T307] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 23.235739][ T307] syscall_exit_to_user_mode+0xd/0x30 [ 23.241090][ T307] do_syscall_64+0x58/0xa0 [ 23.245485][ T307] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 23.251353][ T307] [ 23.253679][ T307] The buggy address belongs to the object at ffff8881103f6400 [ 23.253679][ T307] which belongs to the cache kmalloc-512 of size 512 [ 23.267723][ T307] The buggy address is located 336 bytes inside of [ 23.267723][ T307] 512-byte region [ffff8881103f6400, ffff8881103f6600) [ 23.280970][ T307] [ 23.283273][ T307] The buggy address belongs to the physical page: [ 23.289718][ T307] page:ffffea000440fd00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1103f4 [ 23.299959][ T307] head:ffffea000440fd00 order:2 compound_mapcount:0 compound_pincount:0 [ 23.308266][ T307] flags: 0x4000000000010200(slab|head|zone=1) [ 23.314330][ T307] raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100042f00 [ 23.322890][ T307] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 23.331444][ T307] page dumped because: kasan: bad access detected [ 23.337832][ T307] page_owner tracks the page as allocated [ 23.343537][ 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 92, tgid 92 (klogd), ts 3930130276, free_ts 0 [ 23.362985][ T307] post_alloc_hook+0x1f5/0x210 [ 23.367739][ T307] prep_new_page+0x1c/0x110 [ 23.372243][ T307] get_page_from_freelist+0x2ca9/0x2d20 [ 23.377767][ T307] __alloc_pages+0x1fa/0x610 [ 23.382337][ T307] alloc_slab_page+0x6e/0xf0 [ 23.386906][ T307] new_slab+0x98/0x3e0 [ 23.390949][ T307] ___slab_alloc+0x70f/0xb70 [ 23.395546][ T307] __slab_alloc+0x5e/0xa0 [ 23.399866][ T307] __kmem_cache_alloc_node+0x204/0x2d0 [ 23.405310][ T307] __kmalloc_node_track_caller+0xa1/0x1e0 [ 23.411010][ T307] __alloc_skb+0x226/0x4a0 [ 23.415403][ T307] alloc_skb_with_frags+0xa8/0x620 [ 23.420492][ T307] sock_alloc_send_pskb+0x87f/0x9a0 [ 23.425670][ T307] unix_dgram_sendmsg+0x5c1/0x1710 [ 23.430758][ T307] __sys_sendto+0x4ac/0x660 [ 23.435239][ T307] __x64_sys_sendto+0xe5/0x100 [ 23.439993][ T307] page_owner free stack trace missing [ 23.445333][ T307] [ 23.447630][ T307] Memory state around the buggy address: [ 23.453236][ T307] ffff8881103f6400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 23.461274][ T307] ffff8881103f6480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [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=8 /* 0.08 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 23.469312][ T307] >ffff8881103f6500: fb fb fb fb f