ci2-android-5-10/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-5-10/syz-executor2868918709 <...> Warning: Permanently added '10.128.1.160' (ED25519) to the list of known hosts. execve("ci2-android-5-10/syz-executor2868918709", ["ci2-android-5-10/syz-executor2868918709"], 0x7ffd34ceb270 /* 10 vars */) = 0 brk(NULL) = 0x55556ed3b000 brk(0x55556ed3bd40) = 0x55556ed3bd40 arch_prctl(ARCH_SET_FS, 0x55556ed3b3c0) = 0 set_tid_address(0x55556ed3b690) = 297 set_robust_list(0x55556ed3b6a0, 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-executor2868918709", 4096) = 45 getrandom("\x90\x7b\x89\xd0\xcb\x4c\xc6\xd6", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556ed3bd40 brk(0x55556ed5cd40) = 0x55556ed5cd40 brk(0x55556ed5d000) = 0x55556ed5d000 mprotect(0x7f5dfb0f1000, 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=0x55556ed3b690) = 298 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-5-10/strace-static-x86_64: Process 298 attached [pid 298] set_robust_list(0x55556ed3b6a0, 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 [ 25.345535][ T24] audit: type=1400 audit(1789812289.160:64): avc: denied { execmem } for pid=297 comm="syz-executor286" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [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.832664][ T298] RSP: 002b:00007fffbf89cf30 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 25.841070][ T298] RAX: 0000000000000000 RBX: 000055556ed3b3c0 RCX: 00007f5dfb070557 [ 25.849035][ T298] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 25.857028][ T298] RBP: 00007f5dfb0c6126 R08: 0000000000000000 R09: 0000000000000000 [ 25.865011][ T298] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f5dfb0c7df0 [ 25.872989][ T298] R13: 00007f5dfb0c608e R14: 00007f5dfb0f1bc0 R15: 0000000000000002 [ 25.880961][ T298] [ 25.883284][ T298] Allocated by task 298: [ 25.887539][ T298] __kasan_kmalloc+0xd4/0x100 [ 25.892207][ T298] __kmalloc+0x19f/0x330 [ 25.896458][ T298] l2tp_session_create+0x39/0xb60 [ 25.901484][ T298] pppol2tp_connect+0xbf5/0x1640 [ 25.906422][ T298] __sys_connect+0x3ce/0x450 [ 25.911416][ T298] __x64_sys_connect+0x7a/0x90 [ 25.916350][ T298] do_syscall_64+0x31/0x40 [ 25.920775][ T298] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 25.926658][ T298] [ 25.928988][ T298] Freed by task 298: [ 25.932882][ T298] kasan_set_track+0x4a/0x70 [ 25.937469][ T298] kasan_set_free_info+0x23/0x40 [ 25.942398][ T298] ____kasan_slab_free+0x125/0x160 [ 25.947525][ T298] __kasan_slab_free+0x11/0x20 [ 25.952290][ T298] slab_free_freelist_hook+0xc5/0x190 [ 25.957688][ T298] kfree+0xc0/0x270 [ 25.961510][ T298] l2tp_session_put+0xb2/0x1a0 [ 25.966267][ T298] l2tp_session_delete+0x3a9/0x4a0 [ 25.971368][ T298] pppol2tp_release+0x169/0x2b0 [ 25.976207][ T298] sock_close+0xb8/0x200 [ 25.980443][ T298] __fput+0x2dc/0x730 [ 25.984416][ T298] ____fput+0x15/0x20 [ 25.988417][ T298] task_work_run+0x127/0x190 [ 25.993011][ T298] ptrace_notify+0x230/0x270 [ 25.997594][ T298] syscall_exit_work+0x6e/0x140 [ 26.002476][ T298] syscall_exit_to_user_mode+0x2f/0x40 [ 26.007932][ T298] do_syscall_64+0x3d/0x40 [ 26.012342][ T298] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 26.018219][ T298] [ 26.020567][ T298] The buggy address belongs to the object at ffff88810ad7f800 [ 26.020567][ T298] which belongs to the cache kmalloc-512 of size 512 [ 26.034621][ T298] The buggy address is located 336 bytes inside of [ 26.034621][ T298] 512-byte region [ffff88810ad7f800, ffff88810ad7fa00) [ 26.047892][ T298] The buggy address belongs to the page: [ 26.053553][ T298] page:ffffea00042b5f00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10ad7c [ 26.063873][ T298] head:ffffea00042b5f00 order:2 compound_mapcount:0 compound_pincount:0 [ 26.072206][ T298] flags: 0x4000000000010200(slab|head) [ 26.077671][ T298] raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100043080 [ 26.086262][ T298] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 26.094844][ T298] page dumped because: kasan: bad access detected [ 26.101259][ T298] page_owner tracks the page as allocated [ 26.106996][ 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 25419576182, free_ts 25410878054 [ 26.126011][ T298] prep_new_page+0x176/0x190 [ 26.130608][ T298] get_page_from_freelist+0x225f/0x23f0 [ 26.136154][ T298] __alloc_pages_nodemask+0x29a/0x640 [ 26.141533][ T298] new_slab+0x84/0x3f0 [ 26.145607][ T298] ___slab_alloc+0x2f8/0x4c0 [ 26.150200][ T298] __slab_alloc+0x63/0xa0 [ 26.154531][ T298] kmem_cache_alloc_trace+0x1a8/0x2e0 [ 26.159908][ T298] inetdev_init+0x81/0x490 [ 26.164329][ T298] inetdev_event+0x1f4/0x1010 [ 26.169007][ T298] raw_notifier_call_chain+0x90/0x100 [ 26.174381][ T298] call_netdevice_notifiers+0x119/0x190 [ 26.179927][ T298] register_netdevice+0x100a/0x13a0 [ 26.185126][ T298] register_netdev+0x3e/0x50 [ 26.189715][ T298] ip6gre_init_net+0x26d/0x340 [ 26.194485][ T298] ops_init+0x2c0/0x470 [ 26.198650][ T298] setup_net+0x34f/0xae0 [ 26.202887][ T298] page last free stack trace: [ 26.207575][ T298] __free_pages_ok+0x80b/0x830 [ 26.212341][ T298] __free_pages+0xd8/0x390 [ 26.216762][ T298] __free_slab+0xcf/0x190 [ 26.221093][ T298] unfreeze_partials+0x150/0x180 [ 26.226033][ T298] put_cpu_partial+0xc1/0x180 [ 26.230718][ T298] __slab_free+0x2c9/0x3a0 [ 26.235134][ T298] ___cache_free+0x10e/0x130 [ 26.239729][ T298] qlink_free+0x50/0x90 [ 26.243885][ T298] qlist_free_all+0x5f/0xb0 [ 26.248386][ T298] kasan_quarantine_reduce+0x14a/0x160 [ 26.254105][ T298] __kasan_slab_alloc+0x2f/0xe0 [ 26.259074][ T298] slab_post_alloc_hook+0x5d/0x2f0 [ 26.264194][ T298] kmem_cache_alloc_trace+0x155/0x2e0 [ 26.269564][ T298] inetdev_init+0x81/0x490 [ 26.273987][ T298] inetdev_event+0x1f4/0x1010 [ 26.278667][ T298] raw_notifier_call_chain+0x90/0x100 [ 26.284292][ T298] [ 26.286634][ T298] Memory state around the buggy address: [ 26.292283][ T298] ffff88810ad7f800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.300356][ T298] ffff88810ad7f880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.308440][ T298] >ffff88810ad7f900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.316501][ T298] ^ [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=3 /* 0.03 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 26.323177][ T298] ffff88810ad7f980: fb fb fb fb