ci2-android-5-10/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-5-10/syz-executor4139147035 <...> Warning: Permanently added '10.128.0.8' (ED25519) to the list of known hosts. execve("ci2-android-5-10/syz-executor4139147035", ["ci2-android-5-10/syz-executor4139147035"], 0x7ffc7078c9e0 /* 10 vars */) = 0 brk(NULL) = 0x55557219f000 brk(0x55557219fd40) = 0x55557219fd40 arch_prctl(ARCH_SET_FS, 0x55557219f3c0) = 0 set_tid_address(0x55557219f690) = 298 set_robust_list(0x55557219f6a0, 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-executor4139147035", 4096) = 45 getrandom("\x77\xd0\x48\x70\x80\x43\x24\x63", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557219fd40 brk(0x5555721c0d40) = 0x5555721c0d40 brk(0x5555721c1000) = 0x5555721c1000 mprotect(0x7fcd10262000, 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=0x55557219f690) = 299 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-5-10/strace-static-x86_64: Process 299 attached [pid 299] set_robust_list(0x55557219f6a0, 24) = 0 [pid 299] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 299] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 299] getppid() = 0 [pid 299] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 299] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 299] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 299] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 299] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 299] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 299] unshare(CLONE_NEWNS) = 0 [pid 299] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 299] unshare(CLONE_NEWIPC) = -1 EINVAL (Invalid argument) [pid 299] unshare(CLONE_NEWCGROUP) = 0 [pid 299] unshare(CLONE_NEWUTS) = 0 [pid 299] unshare(CLONE_SYSVSEM) = 0 [pid 299] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 299] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 299] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 299] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 299] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 299] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 299] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 299] getpid() = 1 [pid 299] 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 [ 42.831086][ T299] RSP: 002b:00007ffcdd0634c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 42.839486][ T299] RAX: 0000000000000000 RBX: 000055557219f3c0 RCX: 00007fcd101e1557 [ 42.847436][ T299] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 42.855382][ T299] RBP: 00007fcd10237171 R08: 0000000000000000 R09: 0000000000000000 [ 42.863354][ T299] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fcd10238dfd [ 42.871330][ T299] R13: 00007fcd1023708e R14: 00007fcd10262bc0 R15: 0000000000000002 [ 42.879277][ T299] [ 42.881592][ T299] Allocated by task 299: [ 42.885808][ T299] __kasan_kmalloc+0xd4/0x100 [ 42.890466][ T299] __kmalloc+0x19f/0x330 [ 42.894705][ T299] l2tp_session_create+0x39/0xb60 [ 42.899700][ T299] pppol2tp_connect+0xbf5/0x1640 [ 42.904608][ T299] __sys_connect+0x3ce/0x450 [ 42.909172][ T299] __x64_sys_connect+0x7a/0x90 [ 42.913909][ T299] do_syscall_64+0x31/0x40 [ 42.918325][ T299] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 42.924182][ T299] [ 42.926511][ T299] Freed by task 299: [ 42.930378][ T299] kasan_set_track+0x4a/0x70 [ 42.934938][ T299] kasan_set_free_info+0x23/0x40 [ 42.939848][ T299] ____kasan_slab_free+0x125/0x160 [ 42.944931][ T299] __kasan_slab_free+0x11/0x20 [ 42.949688][ T299] slab_free_freelist_hook+0xc5/0x190 [ 42.955029][ T299] kfree+0xc0/0x270 [ 42.958830][ T299] l2tp_session_put+0xb2/0x1a0 [ 42.963566][ T299] l2tp_session_delete+0x3a9/0x4a0 [ 42.968652][ T299] pppol2tp_release+0x169/0x2b0 [ 42.973476][ T299] sock_close+0xb8/0x200 [ 42.977690][ T299] __fput+0x2dc/0x730 [ 42.981642][ T299] ____fput+0x15/0x20 [ 42.985593][ T299] task_work_run+0x127/0x190 [ 42.990153][ T299] ptrace_notify+0x230/0x270 [ 42.994712][ T299] syscall_exit_work+0x6e/0x140 [ 42.999536][ T299] syscall_exit_to_user_mode+0x2f/0x40 [ 43.004965][ T299] do_syscall_64+0x3d/0x40 [ 43.009353][ T299] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 43.015209][ T299] [ 43.017523][ T299] The buggy address belongs to the object at ffff88811e2d7800 [ 43.017523][ T299] which belongs to the cache kmalloc-512 of size 512 [ 43.031558][ T299] The buggy address is located 336 bytes inside of [ 43.031558][ T299] 512-byte region [ffff88811e2d7800, ffff88811e2d7a00) [ 43.044800][ T299] The buggy address belongs to the page: [ 43.050422][ T299] page:ffffea000478b500 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11e2d4 [ 43.060633][ T299] head:ffffea000478b500 order:2 compound_mapcount:0 compound_pincount:0 [ 43.068932][ T299] flags: 0x4000000000010200(slab|head) [ 43.074385][ T299] raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100043080 [ 43.082945][ T299] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 43.091507][ T299] page dumped because: kasan: bad access detected [ 43.097914][ T299] page_owner tracks the page as allocated [ 43.103610][ T299] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 299, ts 42426871835, free_ts 42426821324 [ 43.122608][ T299] prep_new_page+0x176/0x190 [ 43.127170][ T299] get_page_from_freelist+0x225f/0x23f0 [ 43.132698][ T299] __alloc_pages_nodemask+0x29a/0x640 [ 43.138050][ T299] new_slab+0x84/0x3f0 [ 43.142102][ T299] ___slab_alloc+0x2f8/0x4c0 [ 43.146684][ T299] __slab_alloc+0x63/0xa0 [ 43.150983][ T299] kmem_cache_alloc_trace+0x1a8/0x2e0 [ 43.156367][ T299] inetdev_init+0x81/0x490 [ 43.160757][ T299] inetdev_event+0x1f4/0x1010 [ 43.165406][ T299] raw_notifier_call_chain+0x90/0x100 [ 43.170747][ T299] call_netdevice_notifiers+0x119/0x190 [ 43.176265][ T299] register_netdevice+0x100a/0x13a0 [ 43.181436][ T299] register_netdev+0x3e/0x50 [ 43.186011][ T299] ip6_tnl_init_net+0x300/0x3c0 [ 43.190835][ T299] ops_init+0x2c0/0x470 [ 43.194961][ T299] setup_net+0x34f/0xae0 [ 43.199171][ T299] page last free stack trace: [ 43.203847][ T299] __free_pages_ok+0x80b/0x830 [ 43.208581][ T299] __free_pages+0xd8/0x390 [ 43.212967][ T299] free_pages+0x82/0x90 [ 43.217103][ T299] __stack_depot_save+0x492/0x4c0 [ 43.222106][ T299] __kasan_kmalloc+0xe6/0x100 [ 43.226760][ T299] __kmalloc+0x19f/0x330 [ 43.230996][ T299] kobject_get_path+0xbf/0x1f0 [ 43.235738][ T299] kobject_uevent_env+0x28a/0x700 [ 43.240732][ T299] kobject_uevent+0x1d/0x30 [ 43.245203][ T299] netdev_queue_update_kobjects+0x1a7/0x390 [ 43.251064][ T299] netdev_register_kobject+0x281/0x330 [ 43.256495][ T299] register_netdevice+0xdae/0x13a0 [ 43.261588][ T299] register_netdev+0x3e/0x50 [ 43.266147][ T299] ip6_tnl_init_net+0x300/0x3c0 [ 43.270965][ T299] ops_init+0x2c0/0x470 [ 43.275094][ T299] setup_net+0x34f/0xae0 [ 43.279306][ T299] [ 43.281604][ T299] Memory state around the buggy address: [ 43.287217][ T299] ffff88811e2d7800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [pid 299] close(3) = 0 [pid 299] close(4) = 0 [pid 299] close(5) = -1 EBADF (Bad file descriptor) [pid 299] close(6) = -1 EBADF (Bad file descriptor) [pid 299] close(7) = -1 EBADF (Bad file descriptor) [pid 299] close(8) = -1 EBADF (Bad file descriptor) [pid 299] close(9) = -1 EBADF (Bad file descriptor) [pid 299] close(10) = -1 EBADF (Bad file descriptor) [pid 299] close(11) = -1 EBADF (Bad file descriptor) [pid 299] close(12) = -1 EBADF (Bad file descriptor) [pid 299] close(13) = -1 EBADF (Bad file descriptor) [pid 299] close(14) = -1 EBADF (Bad file descriptor) [pid 299] close(15) = -1 EBADF (Bad file descriptor) [pid 299] close(16) = -1 EBADF (Bad file descriptor) [pid 299] close(17) = -1 EBADF (Bad file descriptor) [pid 299] close(18) = -1 EBADF (Bad file descriptor) [pid 299] close(19) = -1 EBADF (Bad file descriptor) [pid 299] close(20) = -1 EBADF (Bad file descriptor) [pid 299] close(21) = -1 EBADF (Bad file descriptor) [pid 299] close(22) = -1 EBADF (Bad file descriptor) [pid 299] close(23) = -1 EBADF (Bad file descriptor) [pid 299] close(24) = -1 EBADF (Bad file descriptor) [pid 299] close(25) = -1 EBADF (Bad file descriptor) [pid 299] close(26) = -1 EBADF (Bad file descriptor) [pid 299] close(27) = -1 EBADF (Bad file descriptor) [pid 299] close(28) = -1 EBADF (Bad file descriptor) [pid 299] close(29) = -1 EBADF (Bad file descriptor) [pid 299] exit_group(1) = ? [pid 299] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=299, si_uid=0, si_status=1, si_utime=0, si_stime=8 /* 0.08 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 43.295251][ T299] ffff88811e2d7880: fb fb fb fb fb