ci2-android-5-10/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-5-10/syz-executor169644352 <...> Warning: Permanently added '10.128.1.131' (ED25519) to the list of known hosts. execve("ci2-android-5-10/syz-executor169644352", ["ci2-android-5-10/syz-executor169644352"], 0x7ffe99056530 /* 10 vars */) = 0 brk(NULL) = 0x5555667cd000 brk(0x5555667cdd40) = 0x5555667cdd40 arch_prctl(ARCH_SET_FS, 0x5555667cd3c0) = 0 set_tid_address(0x5555667cd690) = 297 set_robust_list(0x5555667cd6a0, 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-executor169644352", 4096) = 44 getrandom("\xe1\x32\xd8\xb0\x23\x58\x80\xa9", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555667cdd40 brk(0x5555667eed40) = 0x5555667eed40 brk(0x5555667ef000) = 0x5555667ef000 mprotect(0x7f6fead44000, 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=0x5555667cd690) = 298 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-5-10/strace-static-x86_64: Process 298 attached [pid 298] set_robust_list(0x5555667cd6a0, 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 [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 [ 30.468907][ T298] RSP: 002b:00007ffc9d277b40 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 30.477318][ T298] RAX: 0000000000000000 RBX: 00005555667cd3c0 RCX: 00007f6feacc3557 [ 30.485293][ T298] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 30.493266][ T298] RBP: 00007f6fead19126 R08: 0000000000000000 R09: 0000000000000000 [ 30.501241][ T298] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f6fead1adf0 [ 30.509294][ T298] R13: 00007f6fead1908e R14: 00007f6fead44bc0 R15: 0000000000000002 [ 30.517260][ T298] [ 30.519587][ T298] Allocated by task 298: [ 30.523845][ T298] __kasan_kmalloc+0xd4/0x100 [ 30.528518][ T298] __kmalloc+0x19f/0x330 [ 30.532756][ T298] l2tp_session_create+0x39/0xb60 [ 30.537775][ T298] pppol2tp_connect+0xbf5/0x1640 [ 30.542696][ T298] __sys_connect+0x3ce/0x450 [ 30.547277][ T298] __x64_sys_connect+0x7a/0x90 [ 30.552031][ T298] do_syscall_64+0x31/0x40 [ 30.556442][ T298] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 30.562318][ T298] [ 30.564639][ T298] Freed by task 298: [ 30.568528][ T298] kasan_set_track+0x4a/0x70 [ 30.573119][ T298] kasan_set_free_info+0x23/0x40 [ 30.578046][ T298] ____kasan_slab_free+0x125/0x160 [ 30.583159][ T298] __kasan_slab_free+0x11/0x20 [ 30.587925][ T298] slab_free_freelist_hook+0xc5/0x190 [ 30.593299][ T298] kfree+0xc0/0x270 [ 30.597105][ T298] l2tp_session_put+0xb2/0x1a0 [ 30.601857][ T298] l2tp_session_delete+0x3a9/0x4a0 [ 30.606957][ T298] pppol2tp_release+0x169/0x2b0 [ 30.611803][ T298] sock_close+0xb8/0x200 [ 30.616050][ T298] __fput+0x2dc/0x730 [ 30.620024][ T298] ____fput+0x15/0x20 [ 30.623992][ T298] task_work_run+0x127/0x190 [ 30.628570][ T298] ptrace_notify+0x230/0x270 [ 30.633158][ T298] syscall_exit_work+0x6e/0x140 [ 30.638011][ T298] syscall_exit_to_user_mode+0x2f/0x40 [ 30.643454][ T298] do_syscall_64+0x3d/0x40 [ 30.647859][ T298] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 30.653738][ T298] [ 30.656225][ T298] Last potentially related work creation: [ 30.661930][ T298] kasan_save_stack+0x3a/0x60 [ 30.666596][ T298] __kasan_record_aux_stack+0xd2/0x100 [ 30.672052][ T298] kasan_record_aux_stack_noalloc+0xb/0x10 [ 30.677875][ T298] call_rcu+0x11a/0x1090 [ 30.682111][ T298] blkg_release+0x23/0x30 [ 30.686450][ T298] percpu_ref_switch_to_atomic_rcu+0x5a3/0x5b0 [ 30.692596][ T298] rcu_do_batch+0x488/0xaf0 [ 30.697113][ T298] rcu_core+0x50a/0xca0 [ 30.701274][ T298] rcu_core_si+0x9/0x10 [ 30.705420][ T298] __do_softirq+0x255/0x563 [ 30.709904][ T298] [ 30.712222][ T298] The buggy address belongs to the object at ffff88810b053400 [ 30.712222][ T298] which belongs to the cache kmalloc-512 of size 512 [ 30.726264][ T298] The buggy address is located 336 bytes inside of [ 30.726264][ T298] 512-byte region [ffff88810b053400, ffff88810b053600) [ 30.739518][ T298] The buggy address belongs to the page: [ 30.745154][ T298] page:ffffea00042c1400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10b050 [ 30.755376][ T298] head:ffffea00042c1400 order:2 compound_mapcount:0 compound_pincount:0 [ 30.763697][ T298] flags: 0x4000000000010200(slab|head) [ 30.769145][ T298] raw: 4000000000010200 ffffea00042bef00 0000000300000003 ffff888100043080 [ 30.777723][ T298] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 30.786289][ T298] page dumped because: kasan: bad access detected [ 30.792692][ T298] page_owner tracks the page as allocated [ 30.798412][ 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 1, ts 2440051157, free_ts 0 [ 30.816283][ T298] prep_new_page+0x176/0x190 [ 30.820866][ T298] get_page_from_freelist+0x225f/0x23f0 [ 30.826398][ T298] __alloc_pages_nodemask+0x29a/0x640 [ 30.831760][ T298] new_slab+0x84/0x3f0 [ 30.835822][ T298] ___slab_alloc+0x2f8/0x4c0 [ 30.840398][ T298] __slab_alloc+0x63/0xa0 [ 30.844721][ T298] kmem_cache_alloc_trace+0x1a8/0x2e0 [ 30.850085][ T298] blkg_alloc+0x6d/0x570 [ 30.854315][ T298] blkcg_init_queue+0x2d/0x330 [ 30.859069][ T298] blk_alloc_queue+0x444/0x5f0 [ 30.863819][ T298] blk_mq_init_queue+0x37/0xd0 [ 30.868591][ T298] scsi_mq_alloc_queue+0x42/0x140 [ 30.873599][ T298] scsi_alloc_sdev+0x611/0x920 [ 30.878353][ T298] scsi_probe_and_add_lun+0x17d/0x3370 [ 30.883803][ T298] __scsi_scan_target+0x1d2/0xbf0 [ 30.888813][ T298] scsi_scan_host_selected+0x34e/0x600 [ 30.894251][ T298] page_owner free stack trace missing [ 30.899626][ T298] [ 30.901940][ T298] Memory state around the buggy address: [ 30.907569][ T298] ffff88810b053400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.915651][ T298] ffff88810b053480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [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=4 /* 0.04 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 30.923718][ T298] >ffff88810b053500: fb fb fb