ci2-android-6-1/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-1/syz-executor1382891104 <...> syzkaller syzkaller login: [ 9.104660][ T116] udevd (116) used greatest stack depth: 22592 bytes left [ 13.612079][ T28] kauditd_printk_skb: 29 callbacks suppressed [ 13.612095][ T28] audit: type=1400 audit(1785760163.974: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 [ 13.617757][ T28] audit: type=1400 audit(1785760163.974: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 [ 13.621081][ T28] audit: type=1400 audit(1785760163.974:61): avc: denied { write } for pid=224 comm="sh" path="pipe:[14156]" dev="pipefs" ino=14156 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 13.625509][ T28] audit: type=1400 audit(1785760163.974: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 [ 13.629200][ T28] audit: type=1400 audit(1785760163.974: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 [ 19.242409][ T245] sshd-session (245) used greatest stack depth: 21792 bytes left Warning: Permanently added '10.128.1.187' (ED25519) to the list of known hosts. execve("ci2-android-6-1/syz-executor1382891104", ["ci2-android-6-1/syz-executor1382891104"], 0x7fff8cdb0230 /* 10 vars */) = 0 brk(NULL) = 0x555581097000 brk(0x555581097d40) = 0x555581097d40 arch_prctl(ARCH_SET_FS, 0x5555810973c0) = 0 set_tid_address(0x555581097690) = 304 set_robust_list(0x5555810976a0, 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-executor1382891104", 4096) = 44 getrandom("\x47\x76\xbe\x4a\xd2\xf8\x87\xd1", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555581097d40 brk(0x5555810b8d40) = 0x5555810b8d40 brk(0x5555810b9000) = 0x5555810b9000 mprotect(0x7fd1fb384000, 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=0x555581097690) = 305 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 305 attached [pid 305] set_robust_list(0x5555810976a0, 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< [ 27.828110][ T305] __dump_stack+0x21/0x24 [ 27.828142][ T305] dump_stack_lvl+0x110/0x170 [ 27.830474][ T28] audit: type=1400 audit(1785760178.014:73): avc: denied { mounton } for pid=305 comm="syz-executor138" path="/dev/gadgetfs" dev="devtmpfs" ino=570 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:device_t tclass=dir permissive=1 [ 27.838179][ T305] ? __cfi_dump_stack_lvl+0x8/0x8 [ 27.838204][ T305] ? mutex_lock+0x86/0x1b0 [ 27.916404][ T305] print_address_description+0x71/0x200 [ 27.921972][ T305] print_report+0x4a/0x60 [ 27.926331][ T305] kasan_report+0x122/0x150 [ 27.930854][ T305] ? mutex_lock+0x86/0x1b0 [ 27.935358][ T305] kasan_check_range+0x249/0x2a0 [ 27.940398][ T305] __kasan_check_write+0x14/0x20 [ 27.945330][ T305] mutex_lock+0x86/0x1b0 [ 27.949668][ T305] ? __cfi_mutex_lock+0x10/0x10 [ 27.954512][ T305] ? kfree+0x6f/0xf0 [ 27.958594][ T305] ? l2tp_session_put+0xaf/0x1a0 [ 27.963549][ T305] ? l2tp_session_delete+0x3df/0x4d0 [ 27.969197][ T305] pppol2tp_release+0x178/0x2b0 [ 27.974447][ T305] sock_close+0xc9/0x220 [ 27.978753][ T305] ? __cfi_sock_close+0x10/0x10 [ 27.983646][ T305] __fput+0x1fd/0x8f0 [ 27.987633][ T305] ____fput+0x15/0x20 [ 27.991628][ T305] task_work_run+0x1e1/0x250 [ 27.996234][ T305] ? __cfi_task_work_run+0x10/0x10 [ 28.001376][ T305] ptrace_notify+0x23f/0x270 [ 28.006005][ T305] ? __cfi_task_work_add+0x10/0x10 [ 28.011241][ T305] ? __cfi_ptrace_notify+0x10/0x10 [ 28.016359][ T305] ? fput+0x15b/0x1a0 [ 28.020342][ T305] ? filp_close+0x111/0x160 [ 28.024849][ T305] syscall_exit_work+0x84/0x140 [ 28.029728][ T305] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 28.036168][ T305] syscall_exit_to_user_mode+0xd/0x30 [ 28.041570][ T305] do_syscall_64+0x58/0xa0 [ 28.045997][ T305] ? clear_bhb_loop+0x30/0x80 [ 28.050700][ T305] ? clear_bhb_loop+0x30/0x80 [ 28.055486][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 28.061421][ T305] RIP: 0033:0x7fd1fb303557 [ 28.065853][ 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 [ 28.085564][ T305] RSP: 002b:00007ffc18fcbc00 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 28.094086][ T305] RAX: 0000000000000000 RBX: 00005555810973c0 RCX: 00007fd1fb303557 [ 28.102061][ T305] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 28.110032][ T305] RBP: 00007fd1fb359126 R08: 0000000000000000 R09: 0000000000000000 [ 28.118000][ T305] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fd1fb35adf0 [ 28.125989][ T305] R13: 00007fd1fb35908e R14: 00007fd1fb384bc0 R15: 0000000000000002 [ 28.134251][ T305] [ 28.137365][ T305] [ 28.139685][ T305] Allocated by task 305: [ 28.143920][ T305] kasan_set_track+0x4b/0x70 [ 28.148702][ T305] kasan_save_alloc_info+0x1f/0x30 [ 28.153813][ T305] __kasan_kmalloc+0x95/0xb0 [ 28.158486][ T305] __kmalloc+0xb4/0x1e0 [ 28.162636][ T305] l2tp_session_create+0x38/0xbd0 [ 28.167748][ T305] pppol2tp_connect+0xbf5/0x1640 [ 28.172697][ T305] __sys_connect+0x3da/0x460 [ 28.177300][ T305] __x64_sys_connect+0x7a/0x90 [ 28.182271][ T305] x64_sys_call+0x88d/0x9a0 [ 28.186789][ T305] do_syscall_64+0x4c/0xa0 [ 28.191237][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 28.197158][ T305] [ 28.199517][ T305] Freed by task 305: [ 28.203440][ T305] kasan_set_track+0x4b/0x70 [ 28.208093][ T305] kasan_save_free_info+0x2b/0x40 [ 28.213313][ T305] ____kasan_slab_free+0x132/0x180 [ 28.218644][ T305] __kasan_slab_free+0x11/0x20 [ 28.223429][ T305] slab_free_freelist_hook+0xc2/0x190 [ 28.228932][ T305] __kmem_cache_free+0xb7/0x1b0 [ 28.234004][ T305] kfree+0x6f/0xf0 [ 28.237853][ T305] l2tp_session_put+0xaf/0x1a0 [ 28.242650][ T305] l2tp_session_delete+0x3df/0x4d0 [ 28.247867][ T305] pppol2tp_release+0x169/0x2b0 [ 28.252838][ T305] sock_close+0xc9/0x220 [ 28.257103][ T305] __fput+0x1fd/0x8f0 [ 28.261117][ T305] ____fput+0x15/0x20 [ 28.265106][ T305] task_work_run+0x1e1/0x250 [ 28.269714][ T305] ptrace_notify+0x23f/0x270 [ 28.274340][ T305] syscall_exit_work+0x84/0x140 [ 28.279290][ T305] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 28.285654][ T305] syscall_exit_to_user_mode+0xd/0x30 [ 28.291139][ T305] do_syscall_64+0x58/0xa0 [ 28.295757][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 28.301704][ T305] [ 28.304147][ T305] The buggy address belongs to the object at ffff888122daac00 [ 28.304147][ T305] which belongs to the cache kmalloc-512 of size 512 [ 28.318418][ T305] The buggy address is located 336 bytes inside of [ 28.318418][ T305] 512-byte region [ffff888122daac00, ffff888122daae00) [ 28.331823][ T305] [ 28.334193][ T305] The buggy address belongs to the physical page: [ 28.340699][ T305] page:ffffea00048b6a00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x122da8 [ 28.351233][ T305] head:ffffea00048b6a00 order:2 compound_mapcount:0 compound_pincount:0 [ 28.359592][ T305] flags: 0x4000000000010200(slab|head|zone=1) [ 28.365689][ T305] raw: 4000000000010200 0000000000000000 dead000000000122 ffff888100042f00 [ 28.374277][ T305] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 28.382863][ T305] page dumped because: kasan: bad access detected [ 28.389294][ T305] page_owner tracks the page as allocated [ 28.395003][ 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-executor138), ts 27633999845, free_ts 18923407393 [ 28.416461][ T305] post_alloc_hook+0x1f5/0x210 [ 28.421253][ T305] prep_new_page+0x1c/0x110 [ 28.425757][ T305] get_page_from_freelist+0x2ca9/0x2d20 [ 28.431311][ T305] __alloc_pages+0x1fa/0x610 [ 28.435920][ T305] alloc_slab_page+0x6e/0xf0 [ 28.440524][ T305] new_slab+0x98/0x3e0 [ 28.444691][ T305] ___slab_alloc+0x70f/0xb70 [ 28.449409][ T305] __slab_alloc+0x5e/0xa0 [ 28.453755][ T305] __kmem_cache_alloc_node+0x204/0x2d0 [ 28.459229][ T305] __kmalloc+0xa4/0x1e0 [ 28.463643][ T305] alloc_workqueue+0x15b/0x13b0 [ 28.468502][ T305] tipc_topsrv_init_net+0x3a4/0x840 [ 28.473819][ T305] ops_init+0x2ce/0x470 [ 28.477978][ T305] setup_net+0x4b4/0xcd0 [ 28.482318][ T305] copy_net_ns+0x355/0x5c0 [ 28.486738][ T305] create_new_namespaces+0x3a8/0x660 [ 28.492027][ T305] page last free stack trace: [ 28.496725][ T305] free_unref_page_prepare+0x80c/0x820 [ 28.502273][ T305] free_unref_page+0x93/0x530 [ 28.507081][ T305] __folio_put+0xac/0xe0 [ 28.511376][ T305] anon_pipe_buf_release+0x15f/0x1d0 [ 28.516735][ T305] pipe_read+0x582/0x1070 [ 28.521266][ T305] vfs_read+0x46e/0x930 [ 28.525450][ T305] ksys_read+0x14a/0x260 [ 28.529726][ T305] __x64_sys_read+0x7b/0x90 [ 28.534249][ T305] x64_sys_call+0x2f/0x9a0 [ 28.538680][ T305] do_syscall_64+0x4c/0xa0 [ 28.543103][ T305] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 28.549012][ T305] [ 28.551359][ T305] Memory state around the buggy address: [ 28.556995][ T305] ffff888122daac00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.565171][ T305] ffff888122daac80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.573338][ T305] >ffff888122daad00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.581392][ T305] ^ [ 28.588062][ T305] ffff888122daad80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.596508][ T305] ffff888122daae00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 28.604581][ 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=7 /* 0.07 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 28.612814][ T305] Disabli