ci2-android-6-1/strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ci2-android-6-1/syz-executor2279003523 <...> Warning: Permanently added '10.128.0.3' (ED25519) to the list of known hosts. execve("ci2-android-6-1/syz-executor2279003523", ["ci2-android-6-1/syz-executor2279003523"], 0x7ffeee2876c0 /* 10 vars */) = 0 brk(NULL) = 0x555587bf7000 brk(0x555587bf7d40) = 0x555587bf7d40 arch_prctl(ARCH_SET_FS, 0x555587bf73c0) = 0 set_tid_address(0x555587bf7690) = 305 set_robust_list(0x555587bf76a0, 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-executor2279003523", 4096) = 44 getrandom("\xc5\x7c\xe6\xa0\xb7\x67\x46\x4d", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555587bf7d40 brk(0x555587c18d40) = 0x555587c18d40 brk(0x555587c19000) = 0x555587c19000 mprotect(0x7f671164e000, 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=0x555587bf7690) = 306 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ci2-android-6-1/strace-static-x86_64: Process 306 attached [pid 306] set_robust_list(0x555587bf76a0, 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< [ 25.871396][ T306] __dump_stack+0x21/0x24 [ 25.880354][ T28] audit: type=1400 audit(1791141570.096:72): avc: denied { unmount } for pid=306 comm="syz-executor227" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 25.882085][ T306] dump_stack_lvl+0x110/0x170 [ 25.890428][ T28] audit: type=1400 audit(1791141570.126:73): avc: denied { mounton } for pid=306 comm="syz-executor227" path="/dev/gadgetfs" dev="devtmpfs" ino=570 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:device_t tclass=dir permissive=1 [ 25.916448][ T306] ? __cfi_dump_stack_lvl+0x8/0x8 [ 25.916491][ T306] ? mutex_lock+0x86/0x1b0 [ 25.994174][ T306] print_address_description+0x71/0x200 [ 25.999736][ T306] print_report+0x4a/0x60 [ 26.004073][ T306] kasan_report+0x122/0x150 [ 26.008582][ T306] ? mutex_lock+0x86/0x1b0 [ 26.013023][ T306] kasan_check_range+0x249/0x2a0 [ 26.018506][ T306] __kasan_check_write+0x14/0x20 [ 26.023444][ T306] mutex_lock+0x86/0x1b0 [ 26.027686][ T306] ? __cfi_mutex_lock+0x10/0x10 [ 26.032537][ T306] ? kfree+0x6f/0xf0 [ 26.036459][ T306] ? l2tp_session_put+0xaf/0x1a0 [ 26.041415][ T306] ? l2tp_session_delete+0x3df/0x4d0 [ 26.046732][ T306] pppol2tp_release+0x178/0x2b0 [ 26.051603][ T306] sock_close+0xc9/0x220 [ 26.055855][ T306] ? __cfi_sock_close+0x10/0x10 [ 26.060726][ T306] __fput+0x1fd/0x8f0 [ 26.064728][ T306] ____fput+0x15/0x20 [ 26.068737][ T306] task_work_run+0x1e1/0x250 [ 26.073353][ T306] ? __cfi_task_work_run+0x10/0x10 [ 26.078473][ T306] ptrace_notify+0x23f/0x270 [ 26.083090][ T306] ? __cfi_task_work_add+0x10/0x10 [ 26.088206][ T306] ? __cfi_ptrace_notify+0x10/0x10 [ 26.093352][ T306] ? fput+0x15b/0x1a0 [ 26.097366][ T306] ? filp_close+0x111/0x160 [ 26.101880][ T306] syscall_exit_work+0x84/0x140 [ 26.106743][ T306] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 26.112915][ T306] syscall_exit_to_user_mode+0xd/0x30 [ 26.118310][ T306] do_syscall_64+0x58/0xa0 [ 26.122755][ T306] ? clear_bhb_loop+0x30/0x80 [ 26.127458][ T306] ? clear_bhb_loop+0x30/0x80 [ 26.132138][ T306] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 26.138048][ T306] RIP: 0033:0x7f67115cd557 [ 26.142490][ 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 [ 26.162103][ T306] RSP: 002b:00007ffff9418bb0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 26.170516][ T306] RAX: 0000000000000000 RBX: 0000555587bf73c0 RCX: 00007f67115cd557 [ 26.178506][ T306] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 26.186482][ T306] RBP: 00007f6711623126 R08: 0000000000000000 R09: 0000000000000000 [ 26.194461][ T306] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f6711624df0 [ 26.202438][ T306] R13: 00007f671162308e R14: 00007f671164ebc0 R15: 0000000000000002 [ 26.210441][ T306] [ 26.213463][ T306] [ 26.215804][ T306] Allocated by task 306: [ 26.220054][ T306] kasan_set_track+0x4b/0x70 [ 26.224671][ T306] kasan_save_alloc_info+0x1f/0x30 [ 26.229778][ T306] __kasan_kmalloc+0x95/0xb0 [ 26.234369][ T306] __kmalloc+0xb4/0x1e0 [ 26.238517][ T306] l2tp_session_create+0x38/0xbd0 [ 26.243559][ T306] pppol2tp_connect+0xbf5/0x1640 [ 26.248513][ T306] __sys_connect+0x3da/0x460 [ 26.253111][ T306] __x64_sys_connect+0x7a/0x90 [ 26.257894][ T306] x64_sys_call+0x88d/0x9a0 [ 26.262396][ T306] do_syscall_64+0x4c/0xa0 [ 26.266916][ T306] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 26.272804][ T306] [ 26.275122][ T306] Freed by task 306: [ 26.279003][ T306] kasan_set_track+0x4b/0x70 [ 26.283678][ T306] kasan_save_free_info+0x2b/0x40 [ 26.288702][ T306] ____kasan_slab_free+0x132/0x180 [ 26.293815][ T306] __kasan_slab_free+0x11/0x20 [ 26.298596][ T306] slab_free_freelist_hook+0xc2/0x190 [ 26.303962][ T306] __kmem_cache_free+0xb7/0x1b0 [ 26.308809][ T306] kfree+0x6f/0xf0 [ 26.312522][ T306] l2tp_session_put+0xaf/0x1a0 [ 26.317313][ T306] l2tp_session_delete+0x3df/0x4d0 [ 26.322421][ T306] pppol2tp_release+0x169/0x2b0 [ 26.327322][ T306] sock_close+0xc9/0x220 [ 26.331560][ T306] __fput+0x1fd/0x8f0 [ 26.335541][ T306] ____fput+0x15/0x20 [ 26.339522][ T306] task_work_run+0x1e1/0x250 [ 26.344107][ T306] ptrace_notify+0x23f/0x270 [ 26.348700][ T306] syscall_exit_work+0x84/0x140 [ 26.353547][ T306] syscall_exit_to_user_mode_prepare+0x1c/0x20 [ 26.359716][ T306] syscall_exit_to_user_mode+0xd/0x30 [ 26.365087][ T306] do_syscall_64+0x58/0xa0 [ 26.369509][ T306] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 26.375399][ T306] [ 26.377717][ T306] The buggy address belongs to the object at ffff8881107ce000 [ 26.377717][ T306] which belongs to the cache kmalloc-512 of size 512 [ 26.391762][ T306] The buggy address is located 336 bytes inside of [ 26.391762][ T306] 512-byte region [ffff8881107ce000, ffff8881107ce200) [ 26.405052][ T306] [ 26.407385][ T306] The buggy address belongs to the physical page: [ 26.413800][ T306] page:ffffea000441f300 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1107cc [ 26.424147][ T306] head:ffffea000441f300 order:2 compound_mapcount:0 compound_pincount:0 [ 26.432470][ T306] flags: 0x4000000000010200(slab|head|zone=1) [ 26.438564][ T306] raw: 4000000000010200 0000000000000000 dead000000000122 ffff888100042f00 [ 26.447161][ T306] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 26.455751][ T306] page dumped because: kasan: bad access detected [ 26.462179][ T306] page_owner tracks the page as allocated [ 26.467898][ T306] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd60c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_RETRY_MAYFAIL|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 306, tgid 306 (syz-executor227), ts 25727101720, free_ts 25726778394 [ 26.491095][ T306] post_alloc_hook+0x1f5/0x210 [ 26.495905][ T306] prep_new_page+0x1c/0x110 [ 26.500455][ T306] get_page_from_freelist+0x2ca9/0x2d20 [ 26.506041][ T306] __alloc_pages+0x1fa/0x610 [ 26.510648][ T306] alloc_slab_page+0x6e/0xf0 [ 26.515253][ T306] new_slab+0x98/0x3e0 [ 26.519331][ T306] ___slab_alloc+0x70f/0xb70 [ 26.523944][ T306] __slab_alloc+0x5e/0xa0 [ 26.528300][ T306] __kmem_cache_alloc_node+0x204/0x2d0 [ 26.533792][ T306] __kmalloc_node+0xa2/0x1e0 [ 26.538390][ T306] kvmalloc_node+0x28a/0x460 [ 26.542989][ T306] alloc_netdev_mqs+0x795/0xfb0 [ 26.547867][ T306] ip6_tnl_init_net+0x15d/0x430 [ 26.552820][ T306] ops_init+0x2ce/0x470 [ 26.557010][ T306] setup_net+0x4b4/0xcd0 [ 26.561274][ T306] copy_net_ns+0x355/0x5c0 [ 26.565710][ T306] page last free stack trace: [ 26.570389][ T306] free_unref_page_prepare+0x81b/0x820 [ 26.575871][ T306] free_unref_page+0x93/0x530 [ 26.580570][ T306] __free_pages+0x67/0x100 [ 26.585006][ T306] free_pages+0x82/0x90 [ 26.589197][ T306] __stack_depot_save+0x45f/0x490 [ 26.594235][ T306] kasan_set_track+0x60/0x70 [ 26.598858][ T306] kasan_save_alloc_info+0x1f/0x30 [ 26.603982][ T306] __kasan_slab_alloc+0x72/0x80 [ 26.608868][ T306] slab_post_alloc_hook+0x4f/0x2d0 [ 26.614000][ T306] kmem_cache_alloc_node+0x179/0x330 [ 26.619304][ T306] __alloc_skb+0xe8/0x4a0 [ 26.623648][ T306] alloc_uevent_skb+0x85/0x240 [ 26.628424][ T306] kobject_uevent_net_broadcast+0x1b4/0x5b0 [ 26.634324][ T306] kobject_uevent_env+0x541/0x720 [ 26.639364][ T306] kobject_uevent+0x1d/0x30 [ 26.643881][ T306] netdev_queue_update_kobjects+0x22c/0x470 [ 26.649795][ T306] [ 26.652134][ T306] Memory state around the buggy address: [ 26.657771][ T306] ffff8881107ce000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.665839][ T306] ffff8881107ce080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.673907][ T306] >ffff8881107ce100: 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=11 /* 0.11 s */} --- exit_group(0) = ? +++ exited with 0 +++ [ 26.681972][ T306]