ci2-android-5-15/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-5-15/syz-executor3084162625 <...> syzkaller syzkaller login: [ 15.722554][ T30] kauditd_printk_skb: 48 callbacks suppressed [ 15.722567][ T30] audit: type=1400 audit(1795101619.153:59): avc: denied { transition } for pid=226 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 [ 15.729748][ T30] audit: type=1400 audit(1795101619.153:60): avc: denied { noatsecure } for pid=226 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 15.734476][ T30] audit: type=1400 audit(1795101619.153:61): avc: denied { write } for pid=226 comm="sh" path="pipe:[14027]" dev="pipefs" ino=14027 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 15.739910][ T30] audit: type=1400 audit(1795101619.153:62): avc: denied { rlimitinh } for pid=226 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 15.749609][ T30] audit: type=1400 audit(1795101619.153:63): avc: denied { siginh } for pid=226 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 Warning: Permanently added '10.128.1.53' (ED25519) to the list of known hosts. execve("ci2-android-5-15/syz-executor3084162625", ["ci2-android-5-15/syz-executor3084162625"], 0x7ffd7ce2e900 /* 10 vars */) = 0 brk(NULL) = 0x55555899d000 brk(0x55555899dd40) = 0x55555899dd40 arch_prctl(ARCH_SET_FS, 0x55555899d3c0) = 0 set_tid_address(0x55555899d690) = 306 set_robust_list(0x55555899d6a0, 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-executor3084162625", 4096) = 45 getrandom("\xab\xb8\x0f\x0b\x43\x8d\x3f\x95", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555899dd40 brk(0x5555589bed40) = 0x5555589bed40 brk(0x5555589bf000) = 0x5555589bf000 mprotect(0x7efe541db000, 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=0x55555899d690) = 307 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-5-15/strace-static-x86_64: Process 307 attached [pid 307] set_robust_list(0x55555899d6a0, 24) = 0 [pid 307] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 307] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 307] getppid() = 0 [pid 307] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 307] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 307] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 307] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 307] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 307] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 307] unshare(CLONE_NEWNS) = 0 [pid 307] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 307] unshare(CLONE_NEWIPC) = -1 EINVAL (Invalid argument) [pid 307] unshare(CLONE_NEWCGROUP) = 0 [pid 307] unshare(CLONE_NEWUTS) = 0 [pid 307] unshare(CLONE_SYSVSEM) = 0 [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 307] getpid() = 1 [pid 307] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [ 26.146036][ T307] __dump_stack+0x21/0x30 [ 26.150349][ T307] dump_stack_lvl+0x110/0x170 [ 26.155025][ T307] ? show_regs_print_info+0x20/0x20 [ 26.160336][ T307] ? load_image+0x3f0/0x3f0 [ 26.164821][ T307] print_address_description+0x7f/0x2c0 [ 26.170352][ T307] ? mutex_lock+0x8e/0x1c0 [ 26.175049][ T307] kasan_report+0x10f/0x150 [ 26.179548][ T307] ? mutex_lock+0x8e/0x1c0 [ 26.183980][ T307] kasan_check_range+0x249/0x2a0 [ 26.188895][ T307] __kasan_check_write+0x14/0x20 [ 26.193850][ T307] mutex_lock+0x8e/0x1c0 [ 26.198087][ T307] ? wait_for_completion_killable_timeout+0x10/0x10 [ 26.204684][ T307] ? l2tp_session_put+0xaf/0x1a0 [ 26.209609][ T307] ? l2tp_session_delete+0x3a9/0x4a0 [ 26.214960][ T307] pppol2tp_release+0x178/0x2b0 [ 26.219789][ T307] sock_close+0xb8/0x200 [ 26.224017][ T307] ? sock_mmap+0xa0/0xa0 [ 26.228236][ T307] __fput+0x22b/0x900 [ 26.232208][ T307] ____fput+0x15/0x20 [ 26.236169][ T307] task_work_run+0x127/0x190 [ 26.240736][ T307] ptrace_notify+0x230/0x270 [ 26.245308][ T307] ? kick_process+0xdc/0x150 [ 26.249881][ T307] ? do_notify_parent+0x830/0x830 [ 26.254891][ T307] ? task_work_add+0x1b2/0x1e0 [ 26.259638][ T307] ? fput_many+0x161/0x1a0 [ 26.264071][ T307] ? fput+0x1a/0x20 [ 26.267875][ T307] ? filp_close+0x105/0x150 [ 26.272362][ T307] syscall_exit_work+0x87/0x160 [ 26.277195][ T307] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 26.283347][ T307] syscall_exit_to_user_mode+0xd/0x30 [ 26.288729][ T307] do_syscall_64+0x58/0xa0 [ 26.293138][ T307] ? clear_bhb_loop+0x50/0xa0 [ 26.297910][ T307] ? clear_bhb_loop+0x50/0xa0 [ 26.302584][ T307] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 26.308495][ T307] RIP: 0033:0x7efe5415a557 [ 26.312893][ T307] 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 [ 26.332485][ T307] RSP: 002b:00007ffc36cbc860 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 26.340899][ T307] RAX: 0000000000000000 RBX: 000055555899d3c0 RCX: 00007efe5415a557 [ 26.348852][ T307] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 26.356885][ T307] RBP: 00007efe541b0171 R08: 0000000000000000 R09: 0000000000000000 [ 26.364868][ T307] R10: 0000000000000000 R11: 0000000000000202 R12: 00007efe541b1dfd [ 26.373023][ T307] R13: 00007efe541b008e R14: 00007efe541dbbc0 R15: 0000000000000002 [ 26.381000][ T307] [ 26.384018][ T307] [ 26.386322][ T307] Allocated by task 307: [ 26.390539][ T307] __kasan_kmalloc+0xd4/0x100 [ 26.395221][ T307] __kmalloc+0x13d/0x2c0 [ 26.399449][ T307] l2tp_session_create+0x39/0xb60 [ 26.404475][ T307] pppol2tp_connect+0xbf5/0x1640 [ 26.409403][ T307] __sys_connect+0x3cb/0x450 [ 26.413973][ T307] __x64_sys_connect+0x7a/0x90 [ 26.418713][ T307] x64_sys_call+0x7c/0x9a0 [ 26.423125][ T307] do_syscall_64+0x4c/0xa0 [ 26.427564][ T307] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 26.433464][ T307] [ 26.435769][ T307] Freed by task 307: [ 26.439637][ T307] kasan_set_track+0x4a/0x70 [ 26.444207][ T307] kasan_set_free_info+0x23/0x40 [ 26.449222][ T307] ____kasan_slab_free+0x125/0x160 [ 26.454318][ T307] __kasan_slab_free+0x11/0x20 [ 26.459060][ T307] slab_free_freelist_hook+0xc2/0x190 [ 26.464408][ T307] kfree+0xc4/0x270 [ 26.468193][ T307] l2tp_session_put+0xaf/0x1a0 [ 26.472971][ T307] l2tp_session_delete+0x3a9/0x4a0 [ 26.478076][ T307] pppol2tp_release+0x169/0x2b0 [ 26.483059][ T307] sock_close+0xb8/0x200 [ 26.487303][ T307] __fput+0x22b/0x900 [ 26.491274][ T307] ____fput+0x15/0x20 [ 26.495287][ T307] task_work_run+0x127/0x190 [ 26.499869][ T307] ptrace_notify+0x230/0x270 [ 26.504440][ T307] syscall_exit_work+0x87/0x160 [ 26.509268][ T307] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 26.515427][ T307] syscall_exit_to_user_mode+0xd/0x30 [ 26.520784][ T307] do_syscall_64+0x58/0xa0 [ 26.525202][ T307] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 26.531121][ T307] [ 26.533428][ T307] The buggy address belongs to the object at ffff888122ec2400 [ 26.533428][ T307] which belongs to the cache kmalloc-512 of size 512 [ 26.547461][ T307] The buggy address is located 336 bytes inside of [ 26.547461][ T307] 512-byte region [ffff888122ec2400, ffff888122ec2600) [ 26.560716][ T307] The buggy address belongs to the page: [ 26.566327][ T307] page:ffffea00048bb000 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x122ec0 [ 26.576558][ T307] head:ffffea00048bb000 order:2 compound_mapcount:0 compound_pincount:0 [ 26.584861][ T307] flags: 0x4000000000010200(slab|head|zone=1) [ 26.590912][ T307] raw: 4000000000010200 0000000000000000 dead000000000122 ffff888100042f00 [ 26.599481][ T307] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 26.608044][ T307] page dumped because: kasan: bad access detected [ 26.614442][ T307] page_owner tracks the page as allocated [ 26.620146][ T307] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 307, ts 25895446532, free_ts 0 [ 26.638279][ T307] post_alloc_hook+0x192/0x1b0 [ 26.643054][ T307] prep_new_page+0x1c/0x110 [ 26.647770][ T307] get_page_from_freelist+0x2d42/0x2dd0 [ 26.653326][ T307] __alloc_pages+0x1a2/0x460 [ 26.657903][ T307] new_slab+0xa0/0x4d0 [ 26.661949][ T307] ___slab_alloc+0x3ac/0x840 [ 26.666519][ T307] __slab_alloc+0x49/0x90 [ 26.670825][ T307] __kmalloc+0x16a/0x2c0 [ 26.675043][ T307] alloc_workqueue+0x15e/0x1320 [ 26.679896][ T307] tipc_topsrv_init_net+0x36d/0x840 [ 26.685076][ T307] ops_init+0x2c0/0x470 [ 26.689211][ T307] setup_net+0x331/0xa30 [ 26.693433][ T307] copy_net_ns+0x355/0x5c0 [ 26.697828][ T307] create_new_namespaces+0x3a8/0x660 [ 26.703100][ T307] unshare_nsproxy_namespaces+0x120/0x170 [ 26.708942][ T307] ksys_unshare+0x4d7/0x810 [ 26.713440][ T307] page_owner free stack trace missing [ 26.718810][ T307] [ 26.721134][ T307] Memory state around the buggy address: [ 26.726737][ T307] ffff888122ec2400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.734775][ T307] ffff888122ec2480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.742840][ T307] >ffff888122ec2500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.750876][ T307] ^ [ 26.757531][ T307] ffff888122ec2580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [pid 307] close(3) = 0 [pid 307] close(4) = 0 [pid 307] close(5) = -1 EBADF (Bad file descriptor) [pid 307] close(6) = -1 EBADF (Bad file descriptor) [pid 307] close(7) = -1 EBADF (Bad file descriptor) [pid 307] close(8) = -1 EBADF (Bad file descriptor) [pid 307] close(9) = -1 EBADF (Bad file descriptor) [pid 307] close(10) = -1 EBADF (Bad file descriptor) [pid 307] close(11) = -1 EBADF (Bad file descriptor) [pid 307] close(12) = -1 EBADF (Bad file descriptor) [pid 307] close(13) = -1 EBADF (Bad file descriptor) [pid 307] close(14) = -1 EBADF (Bad file descriptor) [pid 307] close(15) = -1 EBADF (Bad file descriptor) [pid 307] close(16) = -1 EBADF (Bad file descriptor) [pid 307] close(17) = -1 EBADF (Bad file descriptor) [pid 307] close(18) = -1 EBADF (Bad file descriptor) [pid 307] close(19) = -1 EBADF (Bad file descriptor) [pid 307] close(20) = -1 EBADF (Bad file descriptor) [pid 307] close(21) = -1 EBADF (Bad file descriptor) [pid 307] close(22) = -1 EBADF (Bad file descriptor) [pid 307] close(23) = -1 EBADF (Bad file descriptor) [pid 307] close(24) = -1 EBADF (Bad file descriptor) [pid 307] close(25) = -1 EBADF (Bad file descriptor) [pid 307] close(26) = -1 EBADF (Bad file descriptor) [pid 307] close(27) = -1 EBADF (Bad file descriptor) [pid 307] close(28) = -1 EBADF (Bad file descriptor) [pid 307] close(29) = -1 EBADF (Bad file descriptor) [pid 307] exit_group(1) = ? [pid 307] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=307, si_uid=0, si_status=1, si_utime=0, si_stime=5 /* 0.05 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 26.765568