ci2-android-5-15/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-5-15/syz-executor1172948291 <...> Warning: Permanently added '10.128.1.81' (ED25519) to the list of known hosts. execve("ci2-android-5-15/syz-executor1172948291", ["ci2-android-5-15/syz-executor1172948291"], 0x7ffec2b36c20 /* 10 vars */) = 0 brk(NULL) = 0x555575b1d000 brk(0x555575b1dd40) = 0x555575b1dd40 arch_prctl(ARCH_SET_FS, 0x555575b1d3c0) = 0 set_tid_address(0x555575b1d690) = 303 set_robust_list(0x555575b1d6a0, 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-15/syz-executor1172948291", 4096) = 45 getrandom("\xb1\x6a\x02\x62\x6b\xfb\x31\x5e", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555575b1dd40 brk(0x555575b3ed40) = 0x555575b3ed40 brk(0x555575b3f000) = 0x555575b3f000 mprotect(0x7f8a65d76000, 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=0x555575b1d690) = 304 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-5-15/strace-static-x86_64: Process 304 attached [pid 304] set_robust_list(0x555575b1d6a0, 24) = 0 [pid 304] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 304] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 304] getppid() = 0 [pid 304] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 304] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 304] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 304] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 304] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 304] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 304] unshare(CLONE_NEWNS) = 0 [pid 304] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 304] unshare(CLONE_NEWIPC) = -1 EINVAL (Invalid argument) [pid 304] unshare(CLONE_NEWCGROUP) = 0 [pid 304] unshare(CLONE_NEWUTS) = 0 [pid 304] unshare(CLONE_SYSVSEM) = 0 [pid 304] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 304] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 304] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 304] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 304] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 304] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 304] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 304] getpid() = 1 [pid 304] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [ 25.440952][ T304] __dump_stack+0x21/0x30 [ 25.445283][ T304] dump_stack_lvl+0x110/0x170 [ 25.449953][ T304] ? show_regs_print_info+0x20/0x20 [ 25.455142][ T304] ? load_image+0x3f0/0x3f0 [ 25.459661][ T304] print_address_description+0x7f/0x2c0 [ 25.465200][ T304] ? mutex_lock+0x8e/0x1c0 [ 25.469623][ T304] kasan_report+0x10f/0x150 [ 25.474123][ T304] ? mutex_lock+0x8e/0x1c0 [ 25.478530][ T304] kasan_check_range+0x249/0x2a0 [ 25.483459][ T304] __kasan_check_write+0x14/0x20 [ 25.488391][ T304] mutex_lock+0x8e/0x1c0 [ 25.492629][ T304] ? wait_for_completion_killable_timeout+0x10/0x10 [ 25.499222][ T304] ? l2tp_session_put+0xaf/0x1a0 [ 25.504155][ T304] ? l2tp_session_delete+0x3a9/0x4a0 [ 25.509436][ T304] pppol2tp_release+0x178/0x2b0 [ 25.514280][ T304] sock_close+0xb8/0x200 [ 25.518518][ T304] ? sock_mmap+0xa0/0xa0 [ 25.522747][ T304] __fput+0x22b/0x900 [ 25.526718][ T304] ____fput+0x15/0x20 [ 25.530689][ T304] task_work_run+0x127/0x190 [ 25.535271][ T304] ptrace_notify+0x230/0x270 [ 25.539862][ T304] ? kick_process+0xdc/0x150 [ 25.544455][ T304] ? do_notify_parent+0x830/0x830 [ 25.549474][ T304] ? task_work_add+0x1b2/0x1e0 [ 25.554231][ T304] ? fput_many+0x161/0x1a0 [ 25.558649][ T304] ? fput+0x1a/0x20 [ 25.562454][ T304] ? filp_close+0x105/0x150 [ 25.566953][ T304] syscall_exit_work+0x87/0x160 [ 25.571813][ T304] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 25.577961][ T304] syscall_exit_to_user_mode+0xd/0x30 [ 25.583328][ T304] do_syscall_64+0x58/0xa0 [ 25.587764][ T304] ? clear_bhb_loop+0x50/0xa0 [ 25.592436][ T304] ? clear_bhb_loop+0x50/0xa0 [ 25.597107][ T304] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 25.602994][ T304] RIP: 0033:0x7f8a65cf5557 [ 25.607404][ T304] 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 [ 25.627160][ T304] RSP: 002b:00007ffef1e9d1f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 25.635676][ T304] RAX: 0000000000000000 RBX: 0000555575b1d3c0 RCX: 00007f8a65cf5557 [ 25.643645][ T304] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 25.651626][ T304] RBP: 00007f8a65d4b126 R08: 0000000000000000 R09: 0000000000000000 [ 25.659590][ T304] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f8a65d4cdf0 [ 25.667565][ T304] R13: 00007f8a65d4b08e R14: 00007f8a65d76bc0 R15: 0000000000000002 [ 25.675531][ T304] [ 25.678550][ T304] [ 25.680864][ T304] Allocated by task 304: [ 25.685092][ T304] __kasan_kmalloc+0xd4/0x100 [ 25.689774][ T304] __kmalloc+0x13d/0x2c0 [ 25.694026][ T304] l2tp_session_create+0x39/0xb60 [ 25.699048][ T304] pppol2tp_connect+0xbf5/0x1640 [ 25.704001][ T304] __sys_connect+0x3cb/0x450 [ 25.708600][ T304] __x64_sys_connect+0x7a/0x90 [ 25.713372][ T304] x64_sys_call+0x7c/0x9a0 [ 25.717798][ T304] do_syscall_64+0x4c/0xa0 [ 25.722207][ T304] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 25.728092][ T304] [ 25.730405][ T304] Freed by task 304: [ 25.734302][ T304] kasan_set_track+0x4a/0x70 [ 25.738972][ T304] kasan_set_free_info+0x23/0x40 [ 25.743900][ T304] ____kasan_slab_free+0x125/0x160 [ 25.749003][ T304] __kasan_slab_free+0x11/0x20 [ 25.753772][ T304] slab_free_freelist_hook+0xc2/0x190 [ 25.759139][ T304] kfree+0xc4/0x270 [ 25.762942][ T304] l2tp_session_put+0xaf/0x1a0 [ 25.768153][ T304] l2tp_session_delete+0x3a9/0x4a0 [ 25.773258][ T304] pppol2tp_release+0x169/0x2b0 [ 25.778118][ T304] sock_close+0xb8/0x200 [ 25.782355][ T304] __fput+0x22b/0x900 [ 25.786328][ T304] ____fput+0x15/0x20 [ 25.790323][ T304] task_work_run+0x127/0x190 [ 25.794921][ T304] ptrace_notify+0x230/0x270 [ 25.799505][ T304] syscall_exit_work+0x87/0x160 [ 25.804351][ T304] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 25.810509][ T304] syscall_exit_to_user_mode+0xd/0x30 [ 25.815977][ T304] do_syscall_64+0x58/0xa0 [ 25.820394][ T304] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 25.826298][ T304] [ 25.828615][ T304] Last potentially related work creation: [ 25.834318][ T304] kasan_save_stack+0x3a/0x60 [ 25.838986][ T304] __kasan_record_aux_stack+0xd2/0x100 [ 25.844440][ T304] kasan_record_aux_stack_noalloc+0xb/0x10 [ 25.850262][ T304] call_rcu+0x10b/0xf60 [ 25.854434][ T304] blkg_release+0x23/0x30 [ 25.858756][ T304] percpu_ref_switch_to_atomic_rcu+0x611/0x620 [ 25.864906][ T304] rcu_do_batch+0x4c1/0xbf0 [ 25.869412][ T304] rcu_core+0x4a3/0xef0 [ 25.873603][ T304] rcu_core_si+0x9/0x10 [ 25.877765][ T304] handle_softirqs+0x250/0x560 [ 25.882567][ T304] run_ksoftirqd+0x28/0x40 [ 25.886983][ T304] smpboot_thread_fn+0x446/0x880 [ 25.891915][ T304] kthread+0x3f5/0x4f0 [ 25.895979][ T304] ret_from_fork+0x1f/0x30 [ 25.900388][ T304] [ 25.902720][ T304] The buggy address belongs to the object at ffff88810ae2ac00 [ 25.902720][ T304] which belongs to the cache kmalloc-512 of size 512 [ 25.916781][ T304] The buggy address is located 336 bytes inside of [ 25.916781][ T304] 512-byte region [ffff88810ae2ac00, ffff88810ae2ae00) [ 25.930064][ T304] The buggy address belongs to the page: [ 25.935697][ T304] page:ffffea00042b8a00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10ae28 [ 25.945928][ T304] head:ffffea00042b8a00 order:2 compound_mapcount:0 compound_pincount:0 [ 25.954257][ T304] flags: 0x4000000000010200(slab|head|zone=1) [ 25.960327][ T304] raw: 4000000000010200 ffffea00042b8900 0000000300000003 ffff888100042f00 [ 25.968911][ T304] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 25.977479][ T304] page dumped because: kasan: bad access detected [ 25.983895][ T304] page_owner tracks the page as allocated [ 25.989608][ T304] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, ts 2561967803, free_ts 0 [ 26.007481][ T304] post_alloc_hook+0x192/0x1b0 [ 26.012241][ T304] prep_new_page+0x1c/0x110 [ 26.016737][ T304] get_page_from_freelist+0x2c3a/0x2cd0 [ 26.022274][ T304] __alloc_pages+0x1a2/0x460 [ 26.026858][ T304] new_slab+0xa0/0x4d0 [ 26.030936][ T304] ___slab_alloc+0x3ac/0x840 [ 26.035536][ T304] __slab_alloc+0x49/0x90 [ 26.039863][ T304] kmem_cache_alloc_trace+0x146/0x270 [ 26.045244][ T304] blkg_alloc+0x82/0x5d0 [ 26.049480][ T304] blkcg_init_queue+0x29/0x210 [ 26.054235][ T304] blk_alloc_queue+0x3be/0x550 [ 26.059009][ T304] blk_mq_init_queue+0x37/0xd0 [ 26.063768][ T304] scsi_alloc_sdev+0x66c/0x9c0 [ 26.068558][ T304] scsi_probe_and_add_lun+0x180/0x35d0 [ 26.074030][ T304] __scsi_scan_target+0x1d2/0xb70 [ 26.079047][ T304] scsi_scan_host_selected+0x34e/0x600 [ 26.084501][ T304] page_owner free stack trace missing [ 26.089876][ T304] [ 26.092192][ T304] Memory state around the buggy address: [ 26.097810][ T304] ffff88810ae2ac00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.105878][ T304] ffff88810ae2ac80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.113930][ T304] >ffff88810ae2ad00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.121976][ T304] ^ [ 26.128656][ T304] ffff88810ae2ad80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.136718][ T304] ffff88810ae2ae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.144783][ T304] ================================================================== [pid 304] close(3) = 0 [pid 304] close(4) = 0 [pid 304] close(5) = -1 EBADF (Bad file descriptor) [pid 304] close(6) = -1 EBADF (Bad file descriptor) [pid 304] close(7) = -1 EBADF (Bad file descriptor) [pid 304] close(8) = -1 EBADF (Bad file descriptor) [pid 304] close(9) = -1 EBADF (Bad file descriptor) [pid 304] close(10) = -1 EBADF (Bad file descriptor) [pid 304] close(11) = -1 EBADF (Bad file descriptor) [pid 304] close(12) = -1 EBADF (Bad file descriptor) [pid 304] close(13) = -1 EBADF (Bad file descriptor) [pid 304] close(14) = -1 EBADF (Bad file descriptor) [pid 304] close(15) = -1 EBADF (Bad file descriptor) [pid 304] close(16) = -1 EBADF (Bad file descriptor) [pid 304] close(17) = -1 EBADF (Bad file descriptor) [pid 304] close(18) = -1 EBADF (Bad file descriptor) [pid 304] close(19) = -1 EBADF (Bad file descriptor) [pid 304] close(20) = -1 EBADF (Bad file descriptor) [pid 304] close(21) = -1 EBADF (Bad file descriptor) [pid 304] close(22) = -1 EBADF (Bad file descriptor) [pid 304] close(23) = -1 EBADF (Bad file descriptor) [pid 304] close(24) = -1 EBADF (Bad file descriptor) [pid 304] close(25) = -1 EBADF (Bad file descriptor) [pid 304] close(26) = -1 EBADF (Bad file descriptor) [pid 304] close(27) = -1 EBADF (Bad file descriptor) [pid 304] close(28) = -1 EBADF (Bad file descriptor) [pid 304] close(29) = -1 EBADF (Bad file descriptor) [pid 304] exit_group(1) = ? [pid 304] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=304, si_uid=0, si_status=1, si_utime=0, si_stime=6 /* 0.06 s */} --- exit_group(0) = ? +++ exited with 0 +++ [