ci2-android-6-1/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-1/syz-executor3834782312 <...> syzkaller syzkaller login: [ 14.603336][ T28] kauditd_printk_skb: 31 callbacks suppressed [ 14.603352][ T28] audit: type=1400 audit(1785811298.715:59): avc: denied { transition } for pid=225 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 [ 14.607786][ T28] audit: type=1400 audit(1785811298.715:60): avc: denied { noatsecure } for pid=225 comm="sshd-session" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 14.611690][ T28] audit: type=1400 audit(1785811298.725:61): avc: denied { write } for pid=225 comm="sh" path="pipe:[14391]" dev="pipefs" ino=14391 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 14.615109][ T28] audit: type=1400 audit(1785811298.725:62): avc: denied { rlimitinh } for pid=225 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 14.617959][ T28] audit: type=1400 audit(1785811298.725:63): avc: denied { siginh } for pid=225 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.55' (ED25519) to the list of known hosts. execve("ci2-android-6-1/syz-executor3834782312", ["ci2-android-6-1/syz-executor3834782312"], 0x7ffc899e0900 /* 10 vars */) = 0 brk(NULL) = 0x555571614000 brk(0x555571614d40) = 0x555571614d40 arch_prctl(ARCH_SET_FS, 0x5555716143c0) = 0 set_tid_address(0x555571614690) = 305 set_robust_list(0x5555716146a0, 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-executor3834782312", 4096) = 44 getrandom("\x1b\x1c\xf0\xbb\x0e\x94\x1d\x6c", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555571614d40 brk(0x555571635d40) = 0x555571635d40 brk(0x555571636000) = 0x555571636000 mprotect(0x7ff1feb66000, 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=0x555571614690) = 306 ci2-android-6-1/strace-static-x86_64: Process 306 attached [pid 305] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] set_robust_list(0x5555716146a0, 24) = 0 [pid 306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 306] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 306] getppid() = 0 [pid 306] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 306] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 306] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 306] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 306] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 306] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 306] unshare(CLONE_NEWNS) = 0 [pid 306] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 306] unshare(CLONE_NEWIPC) = -1 EINVAL (Invalid argument) [pid 306] unshare(CLONE_NEWCGROUP) = 0 [pid 306] unshare(CLONE_NEWUTS) = 0 [pid 306] unshare(CLONE_SYSVSEM) = 0 [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 306] getpid() = 1 [pid 306] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [ 30.516660][ T306] __dump_stack+0x21/0x24 [ 30.516690][ T306] dump_stack_lvl+0x110/0x170 [ 30.584338][ T306] ? __cfi_dump_stack_lvl+0x8/0x8 [ 30.589382][ T306] ? mutex_lock+0x86/0x1b0 [ 30.593820][ T306] print_address_description+0x71/0x200 [ 30.599375][ T306] print_report+0x4a/0x60 [ 30.603717][ T306] kasan_report+0x122/0x150 [ 30.608240][ T306] ? mutex_lock+0x86/0x1b0 [ 30.612684][ T306] kasan_check_range+0x249/0x2a0 [ 30.617648][ T306] __kasan_check_write+0x14/0x20 [ 30.622600][ T306] mutex_lock+0x86/0x1b0 [ 30.626864][ T306] ? __cfi_mutex_lock+0x10/0x10 [ 30.633293][ T306] ? kfree+0x6f/0xf0 [ 30.637211][ T306] ? l2tp_session_put+0xaf/0x1a0 [ 30.642162][ T306] ? l2tp_session_delete+0x3df/0x4d0 [ 30.647461][ T306] pppol2tp_release+0x178/0x2b0 [ 30.652327][ T306] sock_close+0xc9/0x220 [ 30.656585][ T306] ? __cfi_sock_close+0x10/0x10 [ 30.661455][ T306] __fput+0x1fd/0x8f0 [ 30.665452][ T306] ____fput+0x15/0x20 [ 30.669470][ T306] task_work_run+0x1e1/0x250 [ 30.674077][ T306] ? __cfi_task_work_run+0x10/0x10 [ 30.679204][ T306] ptrace_notify+0x23f/0x270 [ 30.683818][ T306] ? __cfi_task_work_add+0x10/0x10 [ 30.688942][ T306] ? __cfi_ptrace_notify+0x10/0x10 [ 30.694073][ T306] ? fput+0x15b/0x1a0 [ 30.698082][ T306] ? filp_close+0x111/0x160 [ 30.702599][ T306] syscall_exit_work+0x84/0x140 [ 30.707462][ T306] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 30.713633][ T306] syscall_exit_to_user_mode+0xd/0x30 [ 30.719057][ T306] do_syscall_64+0x58/0xa0 [ 30.723509][ T306] ? clear_bhb_loop+0x30/0x80 [ 30.728209][ T306] ? clear_bhb_loop+0x30/0x80 [ 30.732904][ T306] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 30.738829][ T306] RIP: 0033:0x7ff1feae5557 [ 30.743279][ T306] 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 [ 30.762899][ T306] RSP: 002b:00007fffd57ae7c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 30.771332][ T306] RAX: 0000000000000000 RBX: 00005555716143c0 RCX: 00007ff1feae5557 [ 30.779318][ T306] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 30.787323][ T306] RBP: 00007ff1feb3b126 R08: 0000000000000000 R09: 0000000000000000 [ 30.795304][ T306] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ff1feb3cdf0 [ 30.803290][ T306] R13: 00007ff1feb3b08e R14: 00007ff1feb66bc0 R15: 0000000000000002 [ 30.811280][ T306] [ 30.814306][ T306] [ 30.816638][ T306] Allocated by task 306: [ 30.820892][ T306] kasan_set_track+0x4b/0x70 [ 30.825513][ T306] kasan_save_alloc_info+0x1f/0x30 [ 30.830636][ T306] __kasan_kmalloc+0x95/0xb0 [ 30.835243][ T306] __kmalloc+0xb4/0x1e0 [ 30.839411][ T306] l2tp_session_create+0x38/0xbd0 [ 30.844453][ T306] pppol2tp_connect+0xbf5/0x1640 [ 30.849409][ T306] __sys_connect+0x3da/0x460 [ 30.854013][ T306] __x64_sys_connect+0x7a/0x90 [ 30.858813][ T306] x64_sys_call+0x88d/0x9a0 [ 30.863332][ T306] do_syscall_64+0x4c/0xa0 [ 30.867849][ T306] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 30.873787][ T306] [ 30.876119][ T306] Freed by task 306: [ 30.880018][ T306] kasan_set_track+0x4b/0x70 [ 30.884628][ T306] kasan_save_free_info+0x2b/0x40 [ 30.889671][ T306] ____kasan_slab_free+0x132/0x180 [ 30.894810][ T306] __kasan_slab_free+0x11/0x20 [ 30.899606][ T306] slab_free_freelist_hook+0xc2/0x190 [ 30.904992][ T306] __kmem_cache_free+0xb7/0x1b0 [ 30.909862][ T306] kfree+0x6f/0xf0 [ 30.913594][ T306] l2tp_session_put+0xaf/0x1a0 [ 30.918367][ T306] l2tp_session_delete+0x3df/0x4d0 [ 30.923486][ T306] pppol2tp_release+0x169/0x2b0 [ 30.928349][ T306] sock_close+0xc9/0x220 [ 30.932610][ T306] __fput+0x1fd/0x8f0 [ 30.936612][ T306] ____fput+0x15/0x20 [ 30.940605][ T306] task_work_run+0x1e1/0x250 [ 30.945209][ T306] ptrace_notify+0x23f/0x270 [ 30.949818][ T306] syscall_exit_work+0x84/0x140 [ 30.954683][ T306] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 30.960851][ T306] syscall_exit_to_user_mode+0xd/0x30 [ 30.966255][ T306] do_syscall_64+0x58/0xa0 [ 30.970691][ T306] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 30.976610][ T306] [ 30.978952][ T306] The buggy address belongs to the object at ffff8881103a7000 [ 30.978952][ T306] which belongs to the cache kmalloc-512 of size 512 [ 30.993011][ T306] The buggy address is located 336 bytes inside of [ 30.993011][ T306] 512-byte region [ffff8881103a7000, ffff8881103a7200) [ 31.006297][ T306] [ 31.008630][ T306] The buggy address belongs to the physical page: [ 31.015067][ T306] page:ffffea000440e900 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1103a4 [ 31.025591][ T306] head:ffffea000440e900 order:2 compound_mapcount:0 compound_pincount:0 [ 31.033938][ T306] flags: 0x4000000000010200(slab|head|zone=1) [ 31.040047][ T306] raw: 4000000000010200 0000000000000000 dead000000000122 ffff888100042f00 [ 31.048641][ T306] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 31.057234][ T306] page dumped because: kasan: bad access detected [ 31.064350][ T306] page_owner tracks the page as allocated [ 31.070088][ T306] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 306, tgid 306 (syz-executor383), ts 30329476974, free_ts 24751721459 [ 31.091546][ T306] post_alloc_hook+0x1f5/0x210 [ 31.096333][ T306] prep_new_page+0x1c/0x110 [ 31.100852][ T306] get_page_from_freelist+0x2ca9/0x2d20 [ 31.106415][ T306] __alloc_pages+0x1fa/0x610 [ 31.111022][ T306] alloc_slab_page+0x6e/0xf0 [ 31.115624][ T306] new_slab+0x98/0x3e0 [ 31.119703][ T306] ___slab_alloc+0x70f/0xb70 [ 31.124308][ T306] __slab_alloc+0x5e/0xa0 [ 31.128673][ T306] __kmem_cache_alloc_node+0x204/0x2d0 [ 31.134164][ T306] kmalloc_trace+0x29/0xb0 [ 31.138592][ T306] inetdev_init+0x81/0x510 [ 31.143036][ T306] inetdev_event+0x1f4/0x10a0 [ 31.147726][ T306] raw_notifier_call_chain+0xa1/0x110 [ 31.153105][ T306] call_netdevice_notifiers+0x119/0x190 [ 31.158662][ T306] register_netdevice+0x1186/0x1550 [ 31.163873][ T306] register_netdev+0x3e/0x50 [ 31.168484][ T306] page last free stack trace: [ 31.173164][ T306] free_unref_page_prepare+0x80c/0x820 [ 31.178638][ T306] free_unref_page+0x93/0x530 [ 31.183335][ T306] __free_pages+0x67/0x100 [ 31.187779][ T306] __free_slab+0xc7/0x1a0 [ 31.192125][ T306] __unfreeze_partials+0x15a/0x190 [ 31.197259][ T306] put_cpu_partial+0xa9/0x100 [ 31.201967][ T306] __slab_free+0x1c4/0x280 [ 31.206415][ T306] ___cache_free+0xbf/0xd0 [ 31.210857][ T306] qlist_free_all+0xc6/0x140 [ 31.215464][ T306] kasan_quarantine_reduce+0x14a/0x170 [ 31.220941][ T306] __kasan_slab_alloc+0x24/0x80 [ 31.225803][ T306] slab_post_alloc_hook+0x4f/0x2d0 [ 31.230955][ T306] kmem_cache_alloc+0x166/0x320 [ 31.235833][ T306] jbd2__journal_start+0x13d/0x6e0 [ 31.240989][ T306] __ext4_journal_start_sb+0x242/0x4a0 [ 31.246462][ T306] ext4_dirty_inode+0x8f/0x100 [ 31.251331][ T306] [ 31.253666][ T306] Memory state around the buggy address: [ 31.259307][ T306] ffff8881103a7000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.267380][ T306] ffff8881103a7080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.275449][ T306] >ffff8881103a7100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [pid 306] close(3) = 0 [pid 306] close(4) = 0 [pid 306] close(5) = -1 EBADF (Bad file descriptor) [pid 306] close(6) = -1 EBADF (Bad file descriptor) [pid 306] close(7) = -1 EBADF (Bad file descriptor) [pid 306] close(8) = -1 EBADF (Bad file descriptor) [pid 306] close(9) = -1 EBADF (Bad file descriptor) [pid 306] close(10) = -1 EBADF (Bad file descriptor) [pid 306] close(11) = -1 EBADF (Bad file descriptor) [pid 306] close(12) = -1 EBADF (Bad file descriptor) [pid 306] close(13) = -1 EBADF (Bad file descriptor) [pid 306] close(14) = -1 EBADF (Bad file descriptor) [pid 306] close(15) = -1 EBADF (Bad file descriptor) [pid 306] close(16) = -1 EBADF (Bad file descriptor) [pid 306] close(17) = -1 EBADF (Bad file descriptor) [pid 306] close(18) = -1 EBADF (Bad file descriptor) [pid 306] close(19) = -1 EBADF (Bad file descriptor) [pid 306] close(20) = -1 EBADF (Bad file descriptor) [pid 306] close(21) = -1 EBADF (Bad file descriptor) [pid 306] close(22) = -1 EBADF (Bad file descriptor) [pid 306] close(23) = -1 EBADF (Bad file descriptor) [pid 306] close(24) = -1 EBADF (Bad file descriptor) [pid 306] close(25) = -1 EBADF (Bad file descriptor) [pid 306] close(26) = -1 EBADF (Bad file descriptor) [pid 306] close(27) = -1 EBADF (Bad file descriptor) [pid 306] close(28) = -1 EBADF (Bad file descriptor) [pid 306] close(29) = -1 EBADF (Bad file descriptor) [pid 306] exit_group(1) = ? [pid 306] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=306, si_uid=0, si_status=1, si_utime=0, si_stime=7 /* 0.07 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 31.283519][ T306]