ci2-android-6-1/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-1/syz-executor4034815012 <...> Warning: Permanently added '10.128.1.22' (ED25519) to the list of known hosts. execve("ci2-android-6-1/syz-executor4034815012", ["ci2-android-6-1/syz-executor4034815012"], 0x7ffc8a54bcc0 /* 10 vars */) = 0 brk(NULL) = 0x55555da56000 brk(0x55555da56d40) = 0x55555da56d40 arch_prctl(ARCH_SET_FS, 0x55555da563c0) = 0 set_tid_address(0x55555da56690) = 304 set_robust_list(0x55555da566a0, 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-executor4034815012", 4096) = 44 getrandom("\x3b\x6d\x3c\x01\x31\x7f\x1d\x5b", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555da56d40 brk(0x55555da77d40) = 0x55555da77d40 brk(0x55555da78000) = 0x55555da78000 mprotect(0x7f130b308000, 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=0x55555da56690) = 305 ci2-android-6-1/strace-static-x86_64: Process 305 attached [pid 304] rt_sigprocmask(SIG_SETMASK, [] [pid 305] set_robust_list(0x55555da566a0, 24 [pid 304] <... rt_sigprocmask resumed>, NULL, 8) = 0 [pid 305] <... set_robust_list resumed>) = 0 [pid 305] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 305] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 305] getppid() = 0 [pid 305] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 305] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 305] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 305] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 305] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 305] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 305] unshare(CLONE_NEWNS) = 0 [pid 305] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 305] unshare(CLONE_NEWIPC) = -1 EINVAL (Invalid argument) [pid 305] unshare(CLONE_NEWCGROUP) = 0 [pid 305] unshare(CLONE_NEWUTS) = 0 [pid 305] unshare(CLONE_SYSVSEM) = 0 [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 305] getpid() = 1 [pid 305] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [ 23.629355][ T305] __dump_stack+0x21/0x24 [ 23.631716][ T28] audit: type=1400 audit(1789450202.505:72): avc: denied { unmount } for pid=305 comm="syz-executor403" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 23.639398][ T305] dump_stack_lvl+0x110/0x170 [ 23.665449][ T28] audit: type=1400 audit(1789450202.525:73): avc: denied { mounton } for pid=305 comm="syz-executor403" path="/dev/gadgetfs" dev="devtmpfs" ino=570 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:device_t tclass=dir permissive=1 [ 23.675478][ T305] ? __cfi_dump_stack_lvl+0x8/0x8 [ 23.675516][ T305] ? mutex_lock+0x86/0x1b0 [ 23.742565][ T305] print_address_description+0x71/0x200 [ 23.748109][ T305] print_report+0x4a/0x60 [ 23.752948][ T305] kasan_report+0x122/0x150 [ 23.757442][ T305] ? mutex_lock+0x86/0x1b0 [ 23.761841][ T305] kasan_check_range+0x249/0x2a0 [ 23.766766][ T305] __kasan_check_write+0x14/0x20 [ 23.771689][ T305] mutex_lock+0x86/0x1b0 [ 23.775918][ T305] ? __cfi_mutex_lock+0x10/0x10 [ 23.780757][ T305] ? kfree+0x6f/0xf0 [ 23.784632][ T305] ? l2tp_session_put+0xaf/0x1a0 [ 23.789555][ T305] ? l2tp_session_delete+0x3df/0x4d0 [ 23.794827][ T305] pppol2tp_release+0x178/0x2b0 [ 23.799662][ T305] sock_close+0xc9/0x220 [ 23.803887][ T305] ? __cfi_sock_close+0x10/0x10 [ 23.808719][ T305] __fput+0x1fd/0x8f0 [ 23.812685][ T305] ____fput+0x15/0x20 [ 23.816653][ T305] task_work_run+0x1e1/0x250 [ 23.821227][ T305] ? __cfi_task_work_run+0x10/0x10 [ 23.826338][ T305] ptrace_notify+0x23f/0x270 [ 23.830933][ T305] ? __cfi_task_work_add+0x10/0x10 [ 23.836027][ T305] ? __cfi_ptrace_notify+0x10/0x10 [ 23.841121][ T305] ? fput+0x15b/0x1a0 [ 23.845086][ T305] ? filp_close+0x111/0x160 [ 23.849574][ T305] syscall_exit_work+0x84/0x140 [ 23.854423][ T305] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 23.860559][ T305] syscall_exit_to_user_mode+0xd/0x30 [ 23.865914][ T305] do_syscall_64+0x58/0xa0 [ 23.870316][ T305] ? clear_bhb_loop+0x30/0x80 [ 23.874979][ T305] ? clear_bhb_loop+0x30/0x80 [ 23.879640][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 23.885515][ T305] RIP: 0033:0x7f130b287557 [ 23.889928][ T305] 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.909529][ T305] RSP: 002b:00007fffe77a63c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 23.917924][ T305] RAX: 0000000000000000 RBX: 000055555da563c0 RCX: 00007f130b287557 [ 23.925880][ T305] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 23.933834][ T305] RBP: 00007f130b2dd126 R08: 0000000000000000 R09: 0000000000000000 [ 23.941787][ T305] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f130b2dedf0 [ 23.949741][ T305] R13: 00007f130b2dd08e R14: 00007f130b308bc0 R15: 0000000000000002 [ 23.957698][ T305] [ 23.960704][ T305] [ 23.963011][ T305] Allocated by task 305: [ 23.967231][ T305] kasan_set_track+0x4b/0x70 [ 23.971824][ T305] kasan_save_alloc_info+0x1f/0x30 [ 23.976918][ T305] __kasan_kmalloc+0x95/0xb0 [ 23.981492][ T305] __kmalloc+0xb4/0x1e0 [ 23.985632][ T305] l2tp_session_create+0x38/0xbd0 [ 23.990658][ T305] pppol2tp_connect+0xbf5/0x1640 [ 23.995766][ T305] __sys_connect+0x3da/0x460 [ 24.000342][ T305] __x64_sys_connect+0x7a/0x90 [ 24.005093][ T305] x64_sys_call+0x88d/0x9a0 [ 24.009604][ T305] do_syscall_64+0x4c/0xa0 [ 24.014022][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 24.019896][ T305] [ 24.022201][ T305] Freed by task 305: [ 24.026070][ T305] kasan_set_track+0x4b/0x70 [ 24.030641][ T305] kasan_save_free_info+0x2b/0x40 [ 24.035647][ T305] ____kasan_slab_free+0x132/0x180 [ 24.040740][ T305] __kasan_slab_free+0x11/0x20 [ 24.045488][ T305] slab_free_freelist_hook+0xc2/0x190 [ 24.050841][ T305] __kmem_cache_free+0xb7/0x1b0 [ 24.055673][ T305] kfree+0x6f/0xf0 [ 24.059388][ T305] l2tp_session_put+0xaf/0x1a0 [ 24.064134][ T305] l2tp_session_delete+0x3df/0x4d0 [ 24.069227][ T305] pppol2tp_release+0x169/0x2b0 [ 24.074063][ T305] sock_close+0xc9/0x220 [ 24.078285][ T305] __fput+0x1fd/0x8f0 [ 24.082250][ T305] ____fput+0x15/0x20 [ 24.086217][ T305] task_work_run+0x1e1/0x250 [ 24.090830][ T305] ptrace_notify+0x23f/0x270 [ 24.095416][ T305] syscall_exit_work+0x84/0x140 [ 24.100247][ T305] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 24.106380][ T305] syscall_exit_to_user_mode+0xd/0x30 [ 24.111739][ T305] do_syscall_64+0x58/0xa0 [ 24.116156][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 24.122032][ T305] [ 24.124358][ T305] The buggy address belongs to the object at ffff88810fcfec00 [ 24.124358][ T305] which belongs to the cache kmalloc-512 of size 512 [ 24.138411][ T305] The buggy address is located 336 bytes inside of [ 24.138411][ T305] 512-byte region [ffff88810fcfec00, ffff88810fcfee00) [ 24.151673][ T305] [ 24.153983][ T305] The buggy address belongs to the physical page: [ 24.160375][ T305] page:ffffea00043f3f00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10fcfc [ 24.170594][ T305] head:ffffea00043f3f00 order:2 compound_mapcount:0 compound_pincount:0 [ 24.178901][ T305] flags: 0x4000000000010200(slab|head|zone=1) [ 24.184955][ T305] raw: 4000000000010200 ffffea000440f400 dead000000000002 ffff888100042f00 [ 24.193536][ T305] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 24.202093][ T305] page dumped because: kasan: bad access detected [ 24.208481][ T305] page_owner tracks the page as allocated [ 24.214189][ T305] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 97, tgid 97 (S02sysctl), ts 3708674310, free_ts 0 [ 24.233963][ T305] post_alloc_hook+0x1f5/0x210 [ 24.238730][ T305] prep_new_page+0x1c/0x110 [ 24.243216][ T305] get_page_from_freelist+0x2ca9/0x2d20 [ 24.248746][ T305] __alloc_pages+0x1fa/0x610 [ 24.253324][ T305] alloc_slab_page+0x6e/0xf0 [ 24.257892][ T305] new_slab+0x98/0x3e0 [ 24.261942][ T305] ___slab_alloc+0x70f/0xb70 [ 24.266516][ T305] __slab_alloc+0x5e/0xa0 [ 24.270828][ T305] __kmem_cache_alloc_node+0x204/0x2d0 [ 24.276282][ T305] kmalloc_trace+0x29/0xb0 [ 24.280719][ T305] alloc_bprm+0x59/0x750 [ 24.284976][ T305] do_execveat_common+0x1a7/0xaa0 [ 24.290011][ T305] __x64_sys_execve+0x92/0xb0 [ 24.294683][ T305] x64_sys_call+0x98/0x9a0 [ 24.299091][ T305] do_syscall_64+0x4c/0xa0 [ 24.303581][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 24.309457][ T305] page_owner free stack trace missing [ 24.314803][ T305] [ 24.317114][ T305] Memory state around the buggy address: [ 24.322726][ T305] ffff88810fcfec00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.330771][ T305] ffff88810fcfec80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [pid 305] close(3) = 0 [pid 305] close(4) = 0 [pid 305] close(5) = -1 EBADF (Bad file descriptor) [pid 305] close(6) = -1 EBADF (Bad file descriptor) [pid 305] close(7) = -1 EBADF (Bad file descriptor) [pid 305] close(8) = -1 EBADF (Bad file descriptor) [pid 305] close(9) = -1 EBADF (Bad file descriptor) [pid 305] close(10) = -1 EBADF (Bad file descriptor) [pid 305] close(11) = -1 EBADF (Bad file descriptor) [pid 305] close(12) = -1 EBADF (Bad file descriptor) [pid 305] close(13) = -1 EBADF (Bad file descriptor) [pid 305] close(14) = -1 EBADF (Bad file descriptor) [pid 305] close(15) = -1 EBADF (Bad file descriptor) [pid 305] close(16) = -1 EBADF (Bad file descriptor) [pid 305] close(17) = -1 EBADF (Bad file descriptor) [pid 305] close(18) = -1 EBADF (Bad file descriptor) [pid 305] close(19) = -1 EBADF (Bad file descriptor) [pid 305] close(20) = -1 EBADF (Bad file descriptor) [pid 305] close(21) = -1 EBADF (Bad file descriptor) [pid 305] close(22) = -1 EBADF (Bad file descriptor) [pid 305] close(23) = -1 EBADF (Bad file descriptor) [pid 305] close(24) = -1 EBADF (Bad file descriptor) [pid 305] close(25) = -1 EBADF (Bad file descriptor) [pid 305] close(26) = -1 EBADF (Bad file descriptor) [pid 305] close(27) = -1 EBADF (Bad file descriptor) [pid 305] close(28) = -1 EBADF (Bad file descriptor) [pid 305] close(29) = -1 EBADF (Bad file descriptor) [pid 305] exit_group(1) = ? [pid 305] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=305, si_uid=0, si_status=1, si_utime=0, si_stime=6 /* 0.06 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 24.338810][ T305] >ffff88810fcfed00