ci2-android-5-10/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-5-10/syz-executor2846304434 <...> [ 6.342027][ T24] audit: type=1400 audit(1789169381.240:58): avc: denied { read } for pid=186 comm="getty" name="log" dev="sda1" ino=2010 scontext=system_u:system_r:getty_t tcontext=system_u:object_r:var_t tclass=lnk_file permissive=1 syzkaller syzkaller login: [ 16.033956][ T24] audit: type=1400 audit(1789169390.960:59): avc: denied { transition } for pid=217 comm="sshd-session" path="/bin/sh" dev="sda1" ino=90 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 16.044176][ T24] audit: type=1400 audit(1789169390.960:60): avc: denied { noatsecure } for pid=217 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 16.052679][ T24] audit: type=1400 audit(1789169390.960:61): avc: denied { write } for pid=217 comm="sh" path="pipe:[13683]" dev="pipefs" ino=13683 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 16.073548][ T24] audit: type=1400 audit(1789169390.960:62): avc: denied { rlimitinh } for pid=217 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 16.092680][ T24] audit: type=1400 audit(1789169390.960:63): avc: denied { siginh } for pid=217 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 Warning: Permanently added '10.128.0.17' (ED25519) to the list of known hosts. execve("ci2-android-5-10/syz-executor2846304434", ["ci2-android-5-10/syz-executor2846304434"], 0x7ffe08e94760 /* 10 vars */) = 0 brk(NULL) = 0x555568585000 brk(0x555568585d40) = 0x555568585d40 arch_prctl(ARCH_SET_FS, 0x5555685853c0) = 0 set_tid_address(0x555568585690) = 297 set_robust_list(0x5555685856a0, 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-executor2846304434", 4096) = 45 getrandom("\x82\x06\x55\x2e\xe6\x54\xbf\xf2", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555568585d40 brk(0x5555685a6d40) = 0x5555685a6d40 brk(0x5555685a7000) = 0x5555685a7000 mprotect(0x7f30c1768000, 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=0x555568585690) = 298 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-5-10/strace-static-x86_64: Process 298 attached [pid 298] set_robust_list(0x5555685856a0, 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 [ 26.456644][ T298] RSP: 002b:00007ffdd04735a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 26.465044][ T298] RAX: 0000000000000000 RBX: 00005555685853c0 RCX: 00007f30c16e7557 [ 26.473009][ T298] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 26.480977][ T298] RBP: 00007f30c173d126 R08: 0000000000000000 R09: 0000000000000000 [ 26.488964][ T298] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f30c173edf0 [ 26.496927][ T298] R13: 00007f30c173d08e R14: 00007f30c1768bc0 R15: 0000000000000002 [ 26.504885][ T298] [ 26.507204][ T298] Allocated by task 298: [ 26.511472][ T298] __kasan_kmalloc+0xd4/0x100 [ 26.516139][ T298] __kmalloc+0x19f/0x330 [ 26.520371][ T298] l2tp_session_create+0x39/0xb60 [ 26.525379][ T298] pppol2tp_connect+0xbf5/0x1640 [ 26.530316][ T298] __sys_connect+0x3ce/0x450 [ 26.534912][ T298] __x64_sys_connect+0x7a/0x90 [ 26.539673][ T298] do_syscall_64+0x31/0x40 [ 26.544091][ T298] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 26.549965][ T298] [ 26.552296][ T298] Freed by task 298: [ 26.556183][ T298] kasan_set_track+0x4a/0x70 [ 26.560765][ T298] kasan_set_free_info+0x23/0x40 [ 26.565688][ T298] ____kasan_slab_free+0x125/0x160 [ 26.570784][ T298] __kasan_slab_free+0x11/0x20 [ 26.575553][ T298] slab_free_freelist_hook+0xc5/0x190 [ 26.581069][ T298] kfree+0xc0/0x270 [ 26.584893][ T298] l2tp_session_put+0xb2/0x1a0 [ 26.589653][ T298] l2tp_session_delete+0x3a9/0x4a0 [ 26.594766][ T298] pppol2tp_release+0x169/0x2b0 [ 26.599624][ T298] sock_close+0xb8/0x200 [ 26.603856][ T298] __fput+0x2dc/0x730 [ 26.607826][ T298] ____fput+0x15/0x20 [ 26.611798][ T298] task_work_run+0x127/0x190 [ 26.616376][ T298] ptrace_notify+0x230/0x270 [ 26.620966][ T298] syscall_exit_work+0x6e/0x140 [ 26.625803][ T298] syscall_exit_to_user_mode+0x2f/0x40 [ 26.631252][ T298] do_syscall_64+0x3d/0x40 [ 26.635656][ T298] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 26.641534][ T298] [ 26.643856][ T298] Last potentially related work creation: [ 26.649561][ T298] kasan_save_stack+0x3a/0x60 [ 26.654244][ T298] __kasan_record_aux_stack+0xd2/0x100 [ 26.659693][ T298] kasan_record_aux_stack_noalloc+0xb/0x10 [ 26.665505][ T298] call_rcu+0x11a/0x1090 [ 26.669763][ T298] blkg_release+0x23/0x30 [ 26.674108][ T298] percpu_ref_switch_to_atomic_rcu+0x5a3/0x5b0 [ 26.680253][ T298] rcu_do_batch+0x488/0xaf0 [ 26.684746][ T298] rcu_core+0x50a/0xca0 [ 26.688914][ T298] rcu_core_si+0x9/0x10 [ 26.693063][ T298] __do_softirq+0x255/0x563 [ 26.697558][ T298] [ 26.699899][ T298] The buggy address belongs to the object at ffff88810ae9b000 [ 26.699899][ T298] which belongs to the cache kmalloc-512 of size 512 [ 26.713938][ T298] The buggy address is located 336 bytes inside of [ 26.713938][ T298] 512-byte region [ffff88810ae9b000, ffff88810ae9b200) [ 26.727191][ T298] The buggy address belongs to the page: [ 26.732832][ T298] page:ffffea00042ba600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10ae98 [ 26.743054][ T298] head:ffffea00042ba600 order:2 compound_mapcount:0 compound_pincount:0 [ 26.751370][ T298] flags: 0x4000000000010200(slab|head) [ 26.756825][ T298] raw: 4000000000010200 ffffea00042b8200 0000000200000002 ffff888100043080 [ 26.765400][ T298] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 26.773969][ T298] page dumped because: kasan: bad access detected [ 26.780389][ T298] page_owner tracks the page as allocated [ 26.786122][ 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 2343453260, free_ts 0 [ 26.804001][ T298] prep_new_page+0x176/0x190 [ 26.808582][ T298] get_page_from_freelist+0x225f/0x23f0 [ 26.814114][ T298] __alloc_pages_nodemask+0x29a/0x640 [ 26.819489][ T298] new_slab+0x84/0x3f0 [ 26.823546][ T298] ___slab_alloc+0x2f8/0x4c0 [ 26.828126][ T298] __slab_alloc+0x63/0xa0 [ 26.832463][ T298] kmem_cache_alloc_trace+0x1a8/0x2e0 [ 26.837827][ T298] blkg_alloc+0x6d/0x570 [ 26.842058][ T298] blkcg_init_queue+0x2d/0x330 [ 26.846812][ T298] blk_alloc_queue+0x444/0x5f0 [ 26.851568][ T298] blk_mq_init_queue+0x37/0xd0 [ 26.856325][ T298] scsi_mq_alloc_queue+0x42/0x140 [ 26.861350][ T298] scsi_alloc_sdev+0x611/0x920 [ 26.866099][ T298] scsi_probe_and_add_lun+0x17d/0x3370 [ 26.871542][ T298] __scsi_scan_target+0x1d2/0xbf0 [ 26.876552][ T298] scsi_scan_host_selected+0x34e/0x600 [ 26.881996][ T298] page_owner free stack trace missing [ 26.887353][ T298] [ 26.889681][ T298] Memory state around the buggy address: [ 26.895299][ T298] ffff88810ae9b000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.903366][ T298] ffff88810ae9b080: 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=5 /* 0.05 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 26.911428][ T298] >ffff88810ae9b100: fb fb fb fb fb fb