ci2-android-5-10/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-5-10/syz-executor1077930405 <...> rocess permissive=1 [ 14.579871][ T24] audit: type=1400 audit(1795541028.290:63): avc: denied { siginh } for pid=220 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 Warning: Permanently added '10.128.1.129' (ED25519) to the list of known hosts. execve("ci2-android-5-10/syz-executor1077930405", ["ci2-android-5-10/syz-executor1077930405"], 0x7ffcc4208430 /* 10 vars */) = 0 brk(NULL) = 0x555594826000 brk(0x555594826d40) = 0x555594826d40 arch_prctl(ARCH_SET_FS, 0x5555948263c0) = 0 set_tid_address(0x555594826690) = 300 set_robust_list(0x5555948266a0, 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-executor1077930405", 4096) = 45 getrandom("\x9c\x91\x1b\xeb\xf0\xe7\x6e\x79", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555594826d40 brk(0x555594847d40) = 0x555594847d40 brk(0x555594848000) = 0x555594848000 mprotect(0x7f88e655c000, 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=0x555594826690) = 301 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-5-10/strace-static-x86_64: Process 301 attached [pid 301] set_robust_list(0x5555948266a0, 24) = 0 [pid 301] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 301] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 301] getppid() = 0 [pid 301] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 301] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 301] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 301] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 301] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 301] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 301] unshare(CLONE_NEWNS) = 0 [pid 301] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 301] unshare(CLONE_NEWIPC) = -1 EINVAL (Invalid argument) [pid 301] unshare(CLONE_NEWCGROUP) = 0 [pid 301] unshare(CLONE_NEWUTS) = 0 [pid 301] unshare(CLONE_SYSVSEM) = 0 [pid 301] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 301] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 301] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 301] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 301] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 301] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 301] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 301] getpid() = 1 [pid 301] 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 [ 24.939705][ T301] RSP: 002b:00007ffc76830be0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 24.948138][ T301] RAX: 0000000000000000 RBX: 00005555948263c0 RCX: 00007f88e64db557 [ 24.956147][ T301] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 24.964141][ T301] RBP: 00007f88e6531171 R08: 0000000000000000 R09: 0000000000000000 [ 24.972131][ T301] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f88e6532dfd [ 24.980124][ T301] R13: 00007f88e653108e R14: 00007f88e655cbc0 R15: 0000000000000002 [ 24.988110][ T301] [ 24.990466][ T301] Allocated by task 301: [ 24.994726][ T301] __kasan_kmalloc+0xd4/0x100 [ 24.999415][ T301] __kmalloc+0x19f/0x330 [ 25.003674][ T301] l2tp_session_create+0x39/0xb60 [ 25.008711][ T301] pppol2tp_connect+0xbf5/0x1640 [ 25.013684][ T301] __sys_connect+0x3ce/0x450 [ 25.018289][ T301] __x64_sys_connect+0x7a/0x90 [ 25.023065][ T301] do_syscall_64+0x31/0x40 [ 25.027514][ T301] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 25.033423][ T301] [ 25.035831][ T301] Freed by task 301: [ 25.039752][ T301] kasan_set_track+0x4a/0x70 [ 25.044358][ T301] kasan_set_free_info+0x23/0x40 [ 25.049310][ T301] ____kasan_slab_free+0x125/0x160 [ 25.054429][ T301] __kasan_slab_free+0x11/0x20 [ 25.059202][ T301] slab_free_freelist_hook+0xc5/0x190 [ 25.064587][ T301] kfree+0xc0/0x270 [ 25.068430][ T301] l2tp_session_put+0xb2/0x1a0 [ 25.073429][ T301] l2tp_session_delete+0x3a9/0x4a0 [ 25.078569][ T301] pppol2tp_release+0x169/0x2b0 [ 25.083448][ T301] sock_close+0xb8/0x200 [ 25.087706][ T301] __fput+0x2dc/0x730 [ 25.091699][ T301] ____fput+0x15/0x20 [ 25.095688][ T301] task_work_run+0x127/0x190 [ 25.100303][ T301] ptrace_notify+0x230/0x270 [ 25.104897][ T301] syscall_exit_work+0x6e/0x140 [ 25.109759][ T301] syscall_exit_to_user_mode+0x2f/0x40 [ 25.115224][ T301] do_syscall_64+0x3d/0x40 [ 25.119670][ T301] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 25.125575][ T301] [ 25.127916][ T301] The buggy address belongs to the object at ffff88811ee7b000 [ 25.127916][ T301] which belongs to the cache kmalloc-512 of size 512 [ 25.142105][ T301] The buggy address is located 336 bytes inside of [ 25.142105][ T301] 512-byte region [ffff88811ee7b000, ffff88811ee7b200) [ 25.155427][ T301] The buggy address belongs to the page: [ 25.161095][ T301] page:ffffea00047b9e00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11ee78 [ 25.171341][ T301] head:ffffea00047b9e00 order:2 compound_mapcount:0 compound_pincount:0 [ 25.179692][ T301] flags: 0x4000000000010200(slab|head) [ 25.185171][ T301] raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100043080 [ 25.193783][ T301] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 25.202373][ T301] page dumped because: kasan: bad access detected [ 25.208814][ T301] page_owner tracks the page as allocated [ 25.214674][ T301] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 296, ts 24413681176, free_ts 18868699691 [ 25.234182][ T301] prep_new_page+0x176/0x190 [ 25.238790][ T301] get_page_from_freelist+0x225f/0x23f0 [ 25.244369][ T301] __alloc_pages_nodemask+0x29a/0x640 [ 25.249767][ T301] new_slab+0x84/0x3f0 [ 25.253843][ T301] ___slab_alloc+0x2f8/0x4c0 [ 25.258441][ T301] __slab_alloc+0x63/0xa0 [ 25.262779][ T301] __kmalloc_track_caller+0x1e4/0x310 [ 25.268166][ T301] __alloc_skb+0xdc/0x520 [ 25.272507][ T301] alloc_skb_with_frags+0xa3/0x560 [ 25.277640][ T301] sock_alloc_send_pskb+0x87f/0x9a0 [ 25.282949][ T301] unix_stream_sendmsg+0x4c9/0xbe0 [ 25.288072][ T301] sock_write_iter+0x2a6/0x3a0 [ 25.292841][ T301] vfs_write+0x770/0xd70 [ 25.297087][ T301] ksys_write+0x14a/0x260 [ 25.301423][ T301] __x64_sys_write+0x7b/0x90 [ 25.306035][ T301] do_syscall_64+0x31/0x40 [ 25.310451][ T301] page last free stack trace: [ 25.315137][ T301] free_unref_page_prepare+0x2b7/0x2d0 [ 25.320600][ T301] free_unref_page+0x7f/0x190 [ 25.325280][ T301] __put_page+0xae/0xe0 [ 25.329465][ T301] anon_pipe_buf_release+0x165/0x1f0 [ 25.334769][ T301] pipe_read+0x563/0x1050 [ 25.339133][ T301] vfs_read+0x62a/0xa50 [ 25.343312][ T301] ksys_read+0x14a/0x260 [ 25.347577][ T301] __x64_sys_read+0x7b/0x90 [ 25.352086][ T301] do_syscall_64+0x31/0x40 [ 25.356509][ T301] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 25.362403][ T301] [ 25.364734][ T301] Memory state around the buggy address: [ 25.370374][ T301] ffff88811ee7b000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 25.378446][ T301] ffff88811ee7b080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 25.386517][ T301] >ffff88811ee7b100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [pid 301] close(3) = 0 [pid 301] close(4) = 0 [pid 301] close(5) = -1 EBADF (Bad file descriptor) [pid 301] close(6) = -1 EBADF (Bad file descriptor) [pid 301] close(7) = -1 EBADF (Bad file descriptor) [pid 301] close(8) = -1 EBADF (Bad file descriptor) [pid 301] close(9) = -1 EBADF (Bad file descriptor) [pid 301] close(10) = -1 EBADF (Bad file descriptor) [pid 301] close(11) = -1 EBADF (Bad file descriptor) [pid 301] close(12) = -1 EBADF (Bad file descriptor) [pid 301] close(13) = -1 EBADF (Bad file descriptor) [pid 301] close(14) = -1 EBADF (Bad file descriptor) [pid 301] close(15) = -1 EBADF (Bad file descriptor) [pid 301] close(16) = -1 EBADF (Bad file descriptor) [pid 301] close(17) = -1 EBADF (Bad file descriptor) [pid 301] close(18) = -1 EBADF (Bad file descriptor) [pid 301] close(19) = -1 EBADF (Bad file descriptor) [pid 301] close(20) = -1 EBADF (Bad file descriptor) [pid 301] close(21) = -1 EBADF (Bad file descriptor) [pid 301] close(22) = -1 EBADF (Bad file descriptor) [pid 301] close(23) = -1 EBADF (Bad file descriptor) [pid 301] close(24) = -1 EBADF (Bad file descriptor) [pid 301] close(25) = -1 EBADF (Bad file descriptor) [pid 301] close(26) = -1 EBADF (Bad file descriptor) [pid 301] close(27) = -1 EBADF (Bad file descriptor) [pid 301] close(28) = -1 EBADF (Bad file descriptor) [pid 301] close(29) = -1 EBADF (Bad file descriptor) [pid 301] exit_group(1) = ? [pid 301] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=301, si_uid=0, si_status=1, si_utime=0, si_stime=6 /* 0.06 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 25.394583][ T301]