ci2-android-6-1/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-1/syz-executor3638942209 <...> syzkaller syzkaller login: [ 15.249102][ T28] kauditd_printk_skb: 31 callbacks suppressed [ 15.249117][ T28] audit: type=1400 audit(1785807227.779:59): avc: denied { transition } for pid=224 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.253780][ T28] audit: type=1400 audit(1785807227.779:60): avc: denied { noatsecure } for pid=224 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 15.257660][ T28] audit: type=1400 audit(1785807227.789:61): avc: denied { write } for pid=224 comm="sh" path="pipe:[12859]" dev="pipefs" ino=12859 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 15.261132][ T28] audit: type=1400 audit(1785807227.789:62): avc: denied { rlimitinh } for pid=224 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 15.264182][ T28] audit: type=1400 audit(1785807227.789:63): avc: denied { siginh } for pid=224 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 17.218963][ T232] scp (232) used greatest stack depth: 21024 bytes left Warning: Permanently added '10.128.0.16' (ED25519) to the list of known hosts. execve("ci2-android-6-1/syz-executor3638942209", ["ci2-android-6-1/syz-executor3638942209"], 0x7ffddc5369e0 /* 10 vars */) = 0 brk(NULL) = 0x55556a4e4000 brk(0x55556a4e4d40) = 0x55556a4e4d40 arch_prctl(ARCH_SET_FS, 0x55556a4e43c0) = 0 set_tid_address(0x55556a4e4690) = 304 set_robust_list(0x55556a4e46a0, 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-executor3638942209", 4096) = 44 getrandom("\xd6\x73\x16\x3e\xce\x2c\x1a\xd0", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556a4e4d40 brk(0x55556a505d40) = 0x55556a505d40 brk(0x55556a506000) = 0x55556a506000 mprotect(0x7f7eea0a8000, 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=0x55556a4e4690) = 305 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 305 attached [pid 305] set_robust_list(0x55556a4e46a0, 24) = 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< [ 25.474360][ T305] __dump_stack+0x21/0x24 [ 25.474392][ T305] dump_stack_lvl+0x110/0x170 [ 25.477751][ T28] audit: type=1400 audit(1785807237.859:73): avc: denied { mounton } for pid=305 comm="syz-executor363" path="/dev/gadgetfs" dev="devtmpfs" ino=570 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:device_t tclass=dir permissive=1 [ 25.484454][ T305] ? __cfi_dump_stack_lvl+0x8/0x8 [ 25.557208][ T305] ? mutex_lock+0x86/0x1b0 [ 25.561651][ T305] print_address_description+0x71/0x200 [ 25.567219][ T305] print_report+0x4a/0x60 [ 25.571565][ T305] kasan_report+0x122/0x150 [ 25.576070][ T305] ? mutex_lock+0x86/0x1b0 [ 25.580493][ T305] kasan_check_range+0x249/0x2a0 [ 25.585433][ T305] __kasan_check_write+0x14/0x20 [ 25.590380][ T305] mutex_lock+0x86/0x1b0 [ 25.594640][ T305] ? __cfi_mutex_lock+0x10/0x10 [ 25.599524][ T305] ? kfree+0x6f/0xf0 [ 25.603466][ T305] ? l2tp_session_put+0xaf/0x1a0 [ 25.608426][ T305] ? l2tp_session_delete+0x3df/0x4d0 [ 25.613771][ T305] pppol2tp_release+0x178/0x2b0 [ 25.618659][ T305] sock_close+0xc9/0x220 [ 25.622928][ T305] ? __cfi_sock_close+0x10/0x10 [ 25.627806][ T305] __fput+0x1fd/0x8f0 [ 25.631804][ T305] ____fput+0x15/0x20 [ 25.635794][ T305] task_work_run+0x1e1/0x250 [ 25.640405][ T305] ? __cfi_task_work_run+0x10/0x10 [ 25.645561][ T305] ptrace_notify+0x23f/0x270 [ 25.650186][ T305] ? __cfi_task_work_add+0x10/0x10 [ 25.655312][ T305] ? __cfi_ptrace_notify+0x10/0x10 [ 25.660445][ T305] ? fput+0x15b/0x1a0 [ 25.664450][ T305] ? filp_close+0x111/0x160 [ 25.669005][ T305] syscall_exit_work+0x84/0x140 [ 25.673902][ T305] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 25.680090][ T305] syscall_exit_to_user_mode+0xd/0x30 [ 25.685512][ T305] do_syscall_64+0x58/0xa0 [ 25.689971][ T305] ? clear_bhb_loop+0x30/0x80 [ 25.694660][ T305] ? clear_bhb_loop+0x30/0x80 [ 25.699351][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 25.705271][ T305] RIP: 0033:0x7f7eea027557 [ 25.709715][ 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 [ 25.729329][ T305] RSP: 002b:00007fffc698bea0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 25.737847][ T305] RAX: 0000000000000000 RBX: 000055556a4e43c0 RCX: 00007f7eea027557 [ 25.745832][ T305] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 25.753833][ T305] RBP: 00007f7eea07d126 R08: 0000000000000000 R09: 0000000000000000 [ 25.761813][ T305] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f7eea07edf0 [ 25.769797][ T305] R13: 00007f7eea07d08e R14: 00007f7eea0a8bc0 R15: 0000000000000002 [ 25.777788][ T305] [ 25.780812][ T305] [ 25.783140][ T305] Allocated by task 305: [ 25.787382][ T305] kasan_set_track+0x4b/0x70 [ 25.791985][ T305] kasan_save_alloc_info+0x1f/0x30 [ 25.797123][ T305] __kasan_kmalloc+0x95/0xb0 [ 25.801726][ T305] __kmalloc+0xb4/0x1e0 [ 25.805924][ T305] l2tp_session_create+0x38/0xbd0 [ 25.810956][ T305] pppol2tp_connect+0xbf5/0x1640 [ 25.815908][ T305] __sys_connect+0x3da/0x460 [ 25.820520][ T305] __x64_sys_connect+0x7a/0x90 [ 25.825320][ T305] x64_sys_call+0x88d/0x9a0 [ 25.829834][ T305] do_syscall_64+0x4c/0xa0 [ 25.834264][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 25.840176][ T305] [ 25.842505][ T305] Freed by task 305: [ 25.846398][ T305] kasan_set_track+0x4b/0x70 [ 25.850995][ T305] kasan_save_free_info+0x2b/0x40 [ 25.856023][ T305] ____kasan_slab_free+0x132/0x180 [ 25.861142][ T305] __kasan_slab_free+0x11/0x20 [ 25.865938][ T305] slab_free_freelist_hook+0xc2/0x190 [ 25.871320][ T305] __kmem_cache_free+0xb7/0x1b0 [ 25.876181][ T305] kfree+0x6f/0xf0 [ 25.879911][ T305] l2tp_session_put+0xaf/0x1a0 [ 25.884681][ T305] l2tp_session_delete+0x3df/0x4d0 [ 25.889806][ T305] pppol2tp_release+0x169/0x2b0 [ 25.894669][ T305] sock_close+0xc9/0x220 [ 25.898958][ T305] __fput+0x1fd/0x8f0 [ 25.902955][ T305] ____fput+0x15/0x20 [ 25.906944][ T305] task_work_run+0x1e1/0x250 [ 25.911561][ T305] ptrace_notify+0x23f/0x270 [ 25.916165][ T305] syscall_exit_work+0x84/0x140 [ 25.921028][ T305] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 25.927209][ T305] syscall_exit_to_user_mode+0xd/0x30 [ 25.932593][ T305] do_syscall_64+0x58/0xa0 [ 25.937023][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 25.942930][ T305] [ 25.945258][ T305] The buggy address belongs to the object at ffff8881103cfc00 [ 25.945258][ T305] which belongs to the cache kmalloc-512 of size 512 [ 25.959457][ T305] The buggy address is located 336 bytes inside of [ 25.959457][ T305] 512-byte region [ffff8881103cfc00, ffff8881103cfe00) [ 25.972742][ T305] [ 25.975081][ T305] The buggy address belongs to the physical page: [ 25.981600][ T305] page:ffffea000440f300 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1103cc [ 25.991847][ T305] head:ffffea000440f300 order:2 compound_mapcount:0 compound_pincount:0 [ 26.000177][ T305] flags: 0x4000000000010200(slab|head|zone=1) [ 26.006263][ T305] raw: 4000000000010200 0000000000000000 dead000000000122 ffff888100042f00 [ 26.014854][ T305] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 26.023476][ T305] page dumped because: kasan: bad access detected [ 26.029885][ T305] page_owner tracks the page as allocated [ 26.035614][ 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 305, tgid 305 (syz-executor363), ts 25297967301, free_ts 25176391959 [ 26.057093][ T305] post_alloc_hook+0x1f5/0x210 [ 26.061878][ T305] prep_new_page+0x1c/0x110 [ 26.066395][ T305] get_page_from_freelist+0x2ca9/0x2d20 [ 26.072733][ T305] __alloc_pages+0x1fa/0x610 [ 26.077332][ T305] alloc_slab_page+0x6e/0xf0 [ 26.082015][ T305] new_slab+0x98/0x3e0 [ 26.086097][ T305] ___slab_alloc+0x70f/0xb70 [ 26.090784][ T305] __slab_alloc+0x5e/0xa0 [ 26.095125][ T305] __kmem_cache_alloc_node+0x204/0x2d0 [ 26.100590][ T305] __kmalloc+0xa4/0x1e0 [ 26.104741][ T305] alloc_workqueue+0x15b/0x13b0 [ 26.109595][ T305] tipc_topsrv_init_net+0x35f/0x840 [ 26.114822][ T305] ops_init+0x2ce/0x470 [ 26.119000][ T305] setup_net+0x4b4/0xcd0 [ 26.123247][ T305] copy_net_ns+0x355/0x5c0 [ 26.127689][ T305] create_new_namespaces+0x3a8/0x660 [ 26.133076][ T305] page last free stack trace: [ 26.137753][ T305] free_unref_page_prepare+0x80c/0x820 [ 26.143221][ T305] free_unref_page+0x93/0x530 [ 26.147929][ T305] __free_pages+0x67/0x100 [ 26.152363][ T305] __free_slab+0xc7/0x1a0 [ 26.156697][ T305] __unfreeze_partials+0x15a/0x190 [ 26.161813][ T305] put_cpu_partial+0xa9/0x100 [ 26.166507][ T305] __slab_free+0x1c4/0x280 [ 26.170937][ T305] ___cache_free+0xbf/0xd0 [ 26.175456][ T305] qlist_free_all+0xc6/0x140 [ 26.180064][ T305] kasan_quarantine_reduce+0x14a/0x170 [ 26.185539][ T305] __kasan_slab_alloc+0x24/0x80 [ 26.190403][ T305] slab_post_alloc_hook+0x4f/0x2d0 [ 26.195522][ T305] kmem_cache_alloc_node+0x179/0x330 [ 26.200812][ T305] __alloc_skb+0xe8/0x4a0 [ 26.205144][ T305] tcp_stream_alloc_skb+0x47/0x360 [ 26.210265][ T305] tcp_sendmsg_locked+0xcb7/0x39f0 [ 26.215385][ T305] [ 26.217717][ T305] Memory state around the buggy address: [ 26.223358][ T305] ffff8881103cfc00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.231425][ T305] ffff8881103cfc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.239491][ T305] >ffff8881103cfd00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.247551][ T305] ^ [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=9 /* 0.09 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 26.254227][ T305] ffff8881103cfd80: fb