./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2764222905 <...> Warning: Permanently added '10.128.1.38' (ECDSA) to the list of known hosts. execve("./syz-executor2764222905", ["./syz-executor2764222905"], 0x7ffc30b8d0e0 /* 10 vars */) = 0 brk(NULL) = 0x55555659a000 brk(0x55555659ac40) = 0x55555659ac40 arch_prctl(ARCH_SET_FS, 0x55555659a300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 set_tid_address(0x55555659a5d0) = 5004 set_robust_list(0x55555659a5e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f5425c354b0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f5425c35b80}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f5425c35550, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f5425c35b80}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2764222905", 4096) = 28 brk(0x5555565bbc40) = 0x5555565bbc40 brk(0x5555565bc000) = 0x5555565bc000 mprotect(0x7f5425cf7000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 mkdir("/syzcgroup", 0777) = 0 mkdir("/syzcgroup/unified", 0777) = 0 mount("none", "/syzcgroup/unified", "cgroup2", 0, NULL) = 0 chmod("/syzcgroup/unified", 0777) = 0 openat(AT_FDCWD, "/syzcgroup/unified/cgroup.subtree_control", O_WRONLY) = 3 write(3, "+cpu", 4) = 4 write(3, "+memory", 7) = 7 write(3, "+io", 3) = 3 write(3, "+pids", 5) = 5 close(3) = 0 mkdir("/syzcgroup/net", 0777) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "net") = -1 EINVAL (Invalid argument) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio") = 0 umount2("/syzcgroup/net", 0) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "devices") = 0 umount2("/syzcgroup/net", 0) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "blkio") = 0 umount2("/syzcgroup/net", 0) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "freezer") = 0 umount2("/syzcgroup/net", 0) = 0 syzkaller login: [ 80.187767][ T5004] cgroup: Unknown subsys name 'net' mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = 0 chmod("/syzcgroup/net", 0777) = 0 mkdir("/syzcgroup/cpu", 0777) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset") = 0 umount2("/syzcgroup/cpu", 0) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuacct") = 0 umount2("/syzcgroup/cpu", 0) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "hugetlb") = 0 umount2("/syzcgroup/cpu", 0) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "rlimit") = -1 EINVAL (Invalid argument) mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset,cpuacct,hugetlb") = ? ERESTARTNOINTR (To be restarted) [ 80.342510][ T5004] cgroup: Unknown subsys name 'rlimit' mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset,cpuacct,hugetlb") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset,cpuacct,hugetlb") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset,cpuacct,hugetlb") = 0 chmod("/syzcgroup/cpu", 0777) = 0 openat(AT_FDCWD, "/syzcgroup/cpu/cgroup.clone_children", O_WRONLY|O_CLOEXEC) = 3 write(3, "1", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/syzcgroup/cpu/cpuset.memory_pressure_enabled", O_WRONLY|O_CLOEXEC) = 3 write(3, "1", 1) = 1 close(3) = 0 getpid() = 5004 mkdir("./syzkaller.AuedIx", 0700) = 0 chmod("./syzkaller.AuedIx", 0777) = 0 chdir("./syzkaller.AuedIx") = 0 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5005 attached , child_tidptr=0x55555659a5d0) = 5005 [pid 5005] set_robust_list(0x55555659a5e0, 24) = 0 [pid 5005] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 5005] socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI) = 3 [pid 5005] openat(AT_FDCWD, "/dev/vhci", O_RDWR) = 4 [pid 5005] dup2(4, 202) = 202 [pid 5005] close(4) = 0 [pid 5005] write(202, "\xff\x00", 2) = 2 [pid 5005] read(202, "\xff\x00\x00\x00", 4) = 4 [pid 5005] mmap(NULL, 8392704, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f5425424000 [pid 5005] mprotect(0x7f5425425000, 8388608, PROT_READ|PROT_WRITE) = 0 [pid 5005] clone(child_stack=0x7f5425c243f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[2], tls=0x7f5425c24700, child_tidptr=0x7f5425c249d0) = 2 ./strace-static-x86_64: Process 5008 attached [pid 5005] ioctl(3, HCIDEVUP [pid 5008] set_robust_list(0x7f5425c249e0, 24) = 0 [pid 5008] read(202, "\x01\x03\x0c\x00", 1024) = 4 [pid 5008] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x0e\xfc", iov_len=2}, {iov_base="\x01\x03\x0c", iov_len=3}, {iov_base="\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., iov_len=249}], 4) = 255 [pid 5008] read(202, "\x01\x03\x10\x00", 1024) = 4 [pid 5008] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x0e\xfc", iov_len=2}, {iov_base="\x01\x03\x10", iov_len=3}, {iov_base="\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., iov_len=249}], 4) = 255 [pid 5008] read(202, "\x01\x01\x10\x00", 1024) = 4 [pid 5008] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x0e\xfc", iov_len=2}, {iov_base="\x01\x01\x10", iov_len=3}, {iov_base="\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., iov_len=249}], 4) = 255 [pid 5008] read(202, "\x01\x09\x10\x00", 1024) = 4 [pid 5008] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x0e\x0a", iov_len=2}, {iov_base="\x01\x09\x10", iov_len=3}, {iov_base="\x00\xaa\xaa\xaa\xaa\xaa\xaa", iov_len=7}], 4) = 13 [pid 5008] read(202, "\x01\x05\x10\x00", 1024) = 4 [pid 5008] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x0e\x0b", iov_len=2}, {iov_base="\x01\x05\x10", iov_len=3}, {iov_base="\x00\xfd\x03\x60\x04\x00\x06\x00", iov_len=8}], 4) = 14 [pid 5008] read(202, "\x01\x23\x0c\x00", 1024) = 4 [pid 5008] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x0e\xfc", iov_len=2}, {iov_base="\x01\x23\x0c", iov_len=3}, {iov_base="\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., iov_len=249}], 4) = 255 [pid 5008] read(202, "\x01\x14\x0c\x00", 1024) = 4 [pid 5008] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x0e\xfc", iov_len=2}, {iov_base="\x01\x14\x0c", iov_len=3}, {iov_base="\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., iov_len=249}], 4) = 255 [pid 5008] read(202, "\x01\x25\x0c\x00", 1024) = 4 [pid 5008] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x0e\xfc", iov_len=2}, {iov_base="\x01\x25\x0c", iov_len=3}, {iov_base="\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., iov_len=249}], 4) = 255 [pid 5008] read(202, "\x01\x38\x0c\x00", 1024) = 4 [pid 5008] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x0e\xfc", iov_len=2}, {iov_base="\x01\x38\x0c", iov_len=3}, {iov_base="\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., iov_len=249}], 4) = 255 [ 80.482278][ T5007] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 80.491644][ T5007] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 80.500810][ T5007] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 80.510466][ T5007] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 80.519439][ T5007] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [pid 5008] read(202, "\x01\x39\x0c\x00", 1024) = 4 [pid 5008] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x0e\xfc", iov_len=2}, {iov_base="\x01\x39\x0c", iov_len=3}, {iov_base="\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., iov_len=249}], 4) = 255 [pid 5008] read(202, "\x01\x16\x0c\x02\x00\x7d", 1024) = 6 [pid 5008] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x0e\xfc", iov_len=2}, {iov_base="\x01\x16\x0c", iov_len=3}, {iov_base="\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., iov_len=249}], 4) = 255 [pid 5008] read(202, [pid 5005] <... ioctl resumed>, 0) = -1 EALREADY (Operation already in progress) [pid 5005] ioctl(3, HCISETSCAN [pid 5008] <... read resumed>"\x01\x1a\x0c\x01\x02", 1024) = 5 [pid 5008] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x0e\x04", iov_len=2}, {iov_base="\x01\x1a\x0c", iov_len=3}, {iov_base="\x00", iov_len=1}], 4) = 7 [pid 5008] madvise(0x7f5425424000, 8372224, MADV_DONTNEED [pid 5005] <... ioctl resumed>, 0x7ffeac2d57e0) = 0 [pid 5005] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x04\x0a", iov_len=2}, {iov_base="\xaa\xaa\xaa\xaa\xaa\x10\x00\x00\x00\x01", iov_len=10}], 3 [pid 5008] <... madvise resumed>) = 0 [pid 5005] <... writev resumed>) = 13 [pid 5008] exit(0) = ? [pid 5005] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x03\x0b", iov_len=2}, {iov_base="\x00\xc8\x00\xaa\xaa\xaa\xaa\xaa\x10\x01\x00", iov_len=11}], 3) = 14 [pid 5005] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\v\v", iov_len=2}, {iov_base="\x00\xc8\x00\x00\x00\x00\x00\x00\x00\x00\x00", iov_len=11}], 3 [pid 5008] +++ exited with 0 +++ [pid 5005] <... writev resumed>) = 14 [pid 5005] writev(202, [{iov_base="\x04", iov_len=1}, {iov_base="\x3e\x13", iov_len=2}, {iov_base="\x01\x00\xc9\x00\x01\x00\xaa\xaa\xaa\xaa\xaa\x11\x00\x00\x00\x00\x00\x00\x00", iov_len=19}], 3) = 22 [pid 5005] close(3) = 0 [pid 5005] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5005] setsid() = 1 [pid 5005] openat(AT_FDCWD, "/proc/self/ns/net", O_RDONLY) = 3 [pid 5005] dup2(3, 201) = 201 [pid 5005] close(3) = 0 [pid 5005] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5005] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5005] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5005] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5005] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5005] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5005] unshare(CLONE_NEWNS) = 0 [pid 5005] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5005] unshare(CLONE_NEWIPC) = 0 [pid 5005] unshare(CLONE_NEWCGROUP) = 0 [pid 5005] unshare(CLONE_NEWUTS) = 0 [pid 5005] unshare(CLONE_SYSVSEM) = 0 [pid 5005] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "16777216", 8) = 8 [pid 5005] close(3) = 0 [pid 5005] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "536870912", 9) = 9 [pid 5005] close(3) = 0 [pid 5005] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "1024", 4) = 4 [pid 5005] close(3) = 0 [pid 5005] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "8192", 4) = 4 [pid 5005] close(3) = 0 [pid 5005] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "1024", 4) = 4 [pid 5005] close(3) = 0 [pid 5005] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "1024", 4) = 4 [pid 5005] close(3) = 0 [pid 5005] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5005] close(3) = 0 [pid 5005] getpid() = 1 [pid 5005] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< 2 [pid 5005] unshare(CLONE_NEWNET) = 0 [pid 5005] openat(AT_FDCWD, "/proc/sys/net/ipv4/ping_group_range", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "0 65535", 7) = 7 [pid 5005] close(3) = 0 [pid 5005] mkdir("/dev/binderfs", 0777) = 0 [pid 5005] mount("binder", "/dev/binderfs", "binder", 0, NULL) = 0 [pid 5005] getpid() = 1 [pid 5005] mkdir("/syzcgroup/unified/syz0", 0777) = 0 [pid 5005] openat(AT_FDCWD, "/syzcgroup/unified/syz0/pids.max", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "32", 2) = 2 [pid 5005] close(3) = 0 [pid 5005] openat(AT_FDCWD, "/syzcgroup/unified/syz0/memory.low", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "312475648", 9) = 9 [pid 5005] close(3) = 0 [pid 5005] openat(AT_FDCWD, "/syzcgroup/unified/syz0/memory.high", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "313524224", 9) = 9 [pid 5005] close(3) = 0 [pid 5005] openat(AT_FDCWD, "/syzcgroup/unified/syz0/memory.max", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "314572800", 9) = 9 [pid 5005] close(3) = 0 [pid 5005] openat(AT_FDCWD, "/syzcgroup/unified/syz0/cgroup.procs", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "1", 1) = 1 [pid 5005] close(3) = 0 [pid 5005] mkdir("/syzcgroup/cpu/syz0", 0777) = 0 [pid 5005] openat(AT_FDCWD, "/syzcgroup/cpu/syz0/cgroup.procs", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "1", 1) = 1 [pid 5005] close(3) = 0 [pid 5005] mkdir("/syzcgroup/net/syz0", 0777) = 0 [pid 5005] openat(AT_FDCWD, "/syzcgroup/net/syz0/cgroup.procs", O_WRONLY|O_CLOEXEC) = 3 [pid 5005] write(3, "1", 1) = 1 [pid 5005] close(3) = 0 [pid 5005] mkdir("./0", 0777) = 0 [pid 5005] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5010 attached , child_tidptr=0x55555659a5d0) = 3 [pid 5010] set_robust_list(0x55555659a5e0, 24) = 0 [pid 5010] chdir("./0") = 0 [pid 5010] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5010] setpgid(0, 0) = 0 [pid 5010] symlink("/syzcgroup/unified/syz0", "./cgroup") = 0 [pid 5010] symlink("/syzcgroup/cpu/syz0", "./cgroup.cpu") = 0 [pid 5010] symlink("/syzcgroup/net/syz0", "./cgroup.net") = 0 [pid 5010] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5010] write(3, "1000", 4) = 4 [pid 5010] close(3) = 0 [pid 5010] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5010] bpf(BPF_TASK_FD_QUERY, {task_fd_query={pid=0, fd=-1, flags=0, buf_len=7, buf="cgroup", prog_id=0, fd_type=BPF_FD_TYPE_RAW_TRACEPOINT, probe_offset=0, probe_addr=0}}, 48) = -1 ENOENT (No such file or directory) [pid 5010] openat(AT_FDCWD, "cgroup", O_RDWR|O_PATH) = 3 [pid 5010] openat(3, "pids.max", O_RDWR) = 4 [pid 5010] write(4, "0x0000000000000000", 18) = 18 [pid 5010] openat(AT_FDCWD, "/proc/self/ns/net", O_RDONLY) = 5 [pid 5010] setns(201, 0) = 0 [pid 5010] socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO) = 6 [pid 5010] setns(5, 0) = 0 [pid 5010] close(5) = 0 [ 82.587265][ T5007] Bluetooth: hci0: command 0x0409 tx timeout [ 84.666602][ T5007] Bluetooth: hci0: command 0x041b tx timeout [pid 5010] connect(6, {sa_family=AF_BLUETOOTH, sco_bdaddr=aa:aa:aa:aa:aa:00}, 8 [pid 5005] kill(-3, SIGKILL [pid 5010] <... connect resumed>) = ? [pid 5005] <... kill resumed>) = 0 [pid 5005] kill(3, SIGKILL) = 0 [pid 5010] +++ killed by SIGKILL +++ [pid 5005] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=3, si_uid=0, si_status=SIGKILL, si_utime=0, si_stime=0} --- [pid 5005] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5005] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5005] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 5005] getdents64(3, 0x55555659b740 /* 6 entries */, 32768) = 176 [pid 5005] umount2("./0/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5005] lstat("./0/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}) = 0 [pid 5005] unlink("./0/cgroup.cpu") = 0 [pid 5005] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5005] lstat("./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}) = 0 [pid 5005] unlink("./0/binderfs") = 0 [pid 5005] umount2("./0/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5005] lstat("./0/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}) = 0 [pid 5005] unlink("./0/cgroup") = 0 [pid 5005] umount2("./0/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5005] lstat("./0/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}) = 0 [pid 5005] unlink("./0/cgroup.net") = 0 [pid 5005] getdents64(3, 0x55555659b740 /* 0 entries */, 32768) = 0 [pid 5005] close(3) = 0 [pid 5005] rmdir("./0") = 0 [pid 5005] mkdir("./1", 0777) = 0 [pid 5005] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55555659a5d0) = -1 EAGAIN (Resource temporarily unavailable) [pid 5005] exit_group(1) = ? [ 85.691392][ T5005] cgroup: fork rejected by pids controller in /syz0 [ 85.733242][ T5005] ================================================================== [ 85.741473][ T5005] BUG: KASAN: slab-use-after-free in hci_conn_hash_flush+0x244/0x270 [ 85.749630][ T5005] Read of size 8 at addr ffff88807e65e000 by task syz-executor276/5005 [ 85.757919][ T5005] [ 85.760293][ T5005] CPU: 0 PID: 5005 Comm: syz-executor276 Not tainted 6.3.0-syzkaller-13382-g162bd18eb55a #0 [ 85.770391][ T5005] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 85.780469][ T5005] Call Trace: [ 85.783765][ T5005] [ 85.786712][ T5005] dump_stack_lvl+0xd9/0x150 [ 85.791351][ T5005] print_address_description.constprop.0+0x2c/0x3c0 [ 85.797982][ T5005] ? hci_conn_hash_flush+0x244/0x270 [ 85.803301][ T5005] kasan_report+0x11c/0x130 [ 85.807940][ T5005] ? hci_conn_hash_flush+0x244/0x270 [ 85.813460][ T5005] hci_conn_hash_flush+0x244/0x270 [ 85.818695][ T5005] hci_dev_close_sync+0x5fb/0x1200 [ 85.823840][ T5005] ? hci_reset_sync+0x50/0x50 [ 85.828546][ T5005] ? __kmem_cache_free+0xaf/0x2d0 [ 85.833959][ T5005] hci_dev_do_close+0x31/0x70 [ 85.838769][ T5005] hci_unregister_dev+0x1ce/0x580 [ 85.843847][ T5005] vhci_release+0x80/0xf0 [ 85.848229][ T5005] __fput+0x27c/0xa90 [ 85.852248][ T5005] ? vhci_close_dev+0x50/0x50 [ 85.856991][ T5005] task_work_run+0x16f/0x270 [ 85.861621][ T5005] ? task_work_cancel+0x30/0x30 [ 85.866768][ T5005] do_exit+0xad3/0x2960 [ 85.870949][ T5005] ? lock_downgrade+0x690/0x690 [ 85.875838][ T5005] ? do_raw_spin_lock+0x124/0x2b0 [ 85.880909][ T5005] ? mm_update_next_owner+0x7b0/0x7b0 [ 85.886303][ T5005] ? spin_bug+0x1c0/0x1c0 [ 85.890675][ T5005] ? _raw_spin_unlock_irq+0x23/0x50 [ 85.895911][ T5005] do_group_exit+0xd4/0x2a0 [ 85.900440][ T5005] __x64_sys_exit_group+0x3e/0x50 [ 85.905574][ T5005] do_syscall_64+0x39/0xb0 [ 85.910031][ T5005] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 85.915967][ T5005] RIP: 0033:0x7f5425c72969 [ 85.920407][ T5005] Code: Unable to access opcode bytes at 0x7f5425c7293f. [ 85.927438][ T5005] RSP: 002b:00007ffeac2d5588 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 85.935963][ T5005] RAX: ffffffffffffffda RBX: 00007f5425cfd470 RCX: 00007f5425c72969 [ 85.943973][ T5005] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 85.952485][ T5005] RBP: 0000000000000001 R08: ffffffffffffffb8 R09: 0000000000000000 [ 85.960476][ T5005] R10: 000055555659a5d0 R11: 0000000000000246 R12: 00007f5425cfd470 [ 85.968465][ T5005] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 85.976549][ T5005] [ 85.979578][ T5005] [ 85.981909][ T5005] Allocated by task 5010: [ 85.986244][ T5005] kasan_save_stack+0x22/0x40 [ 85.990965][ T5005] kasan_set_track+0x25/0x30 [ 85.995675][ T5005] __kasan_kmalloc+0xa2/0xb0 [ 86.000312][ T5005] hci_conn_add+0xb8/0x16b0 [ 86.004872][ T5005] hci_connect_sco+0x3c7/0x1050 [ 86.009756][ T5005] sco_sock_connect+0x2d7/0xae0 [ 86.014632][ T5005] __sys_connect_file+0x153/0x1a0 [ 86.019682][ T5005] __sys_connect+0x165/0x1a0 [ 86.024304][ T5005] __x64_sys_connect+0x73/0xb0 [ 86.029094][ T5005] do_syscall_64+0x39/0xb0 [ 86.033549][ T5005] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 86.039476][ T5005] [ 86.041809][ T5005] Freed by task 5005: [ 86.045803][ T5005] kasan_save_stack+0x22/0x40 [ 86.050695][ T5005] kasan_set_track+0x25/0x30 [ 86.055323][ T5005] kasan_save_free_info+0x2e/0x40 [ 86.060367][ T5005] ____kasan_slab_free+0x160/0x1c0 [ 86.065513][ T5005] slab_free_freelist_hook+0x8b/0x1c0 [ 86.070936][ T5005] __kmem_cache_free+0xaf/0x2d0 [ 86.075824][ T5005] device_release+0xa3/0x240 [ 86.080437][ T5005] kobject_put+0x1c2/0x4d0 [ 86.084878][ T5005] put_device+0x1f/0x30 [ 86.089055][ T5005] hci_conn_del+0x1e5/0x950 [ 86.093587][ T5005] hci_conn_unlink+0x2ce/0x460 [ 86.098378][ T5005] hci_conn_unlink+0x362/0x460 [ 86.103180][ T5005] hci_conn_hash_flush+0x19b/0x270 [ 86.108330][ T5005] hci_dev_close_sync+0x5fb/0x1200 [ 86.113491][ T5005] hci_dev_do_close+0x31/0x70 [ 86.118207][ T5005] hci_unregister_dev+0x1ce/0x580 [ 86.123283][ T5005] vhci_release+0x80/0xf0 [ 86.127641][ T5005] __fput+0x27c/0xa90 [ 86.131659][ T5005] task_work_run+0x16f/0x270 [ 86.136306][ T5005] do_exit+0xad3/0x2960 [ 86.140485][ T5005] do_group_exit+0xd4/0x2a0 [ 86.145013][ T5005] __x64_sys_exit_group+0x3e/0x50 [ 86.150086][ T5005] do_syscall_64+0x39/0xb0 [ 86.154578][ T5005] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 86.160523][ T5005] [ 86.162872][ T5005] Last potentially related work creation: [ 86.168612][ T5005] kasan_save_stack+0x22/0x40 [ 86.173421][ T5005] __kasan_record_aux_stack+0xbc/0xd0 [ 86.178815][ T5005] insert_work+0x48/0x360 [ 86.183204][ T5005] __queue_work+0x625/0x1120 [ 86.187845][ T5005] __queue_delayed_work+0x1c8/0x270 [ 86.193111][ T5005] queue_delayed_work_on+0x109/0x120 [ 86.198463][ T5005] sco_chan_del+0x1f8/0x4f0 [ 86.203010][ T5005] __sco_sock_close+0x178/0x740 [ 86.207891][ T5005] sco_sock_release+0x81/0x360 [ 86.212692][ T5005] __sock_release+0xcd/0x290 [ 86.217327][ T5005] sock_close+0x1c/0x20 [ 86.221696][ T5005] __fput+0x27c/0xa90 [ 86.225699][ T5005] task_work_run+0x16f/0x270 [ 86.230309][ T5005] do_exit+0xad3/0x2960 [ 86.234494][ T5005] do_group_exit+0xd4/0x2a0 [ 86.239031][ T5005] get_signal+0x2315/0x25b0 [ 86.243581][ T5005] arch_do_signal_or_restart+0x79/0x5c0 [ 86.249163][ T5005] exit_to_user_mode_prepare+0x11f/0x240 [ 86.254858][ T5005] syscall_exit_to_user_mode+0x1d/0x50 [ 86.260357][ T5005] do_syscall_64+0x46/0xb0 [ 86.264815][ T5005] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 86.270786][ T5005] [ 86.273126][ T5005] The buggy address belongs to the object at ffff88807e65e000 [ 86.273126][ T5005] which belongs to the cache kmalloc-4k of size 4096 [ 86.287303][ T5005] The buggy address is located 0 bytes inside of [ 86.287303][ T5005] freed 4096-byte region [ffff88807e65e000, ffff88807e65f000) [ 86.301300][ T5005] [ 86.303637][ T5005] The buggy address belongs to the physical page: [ 86.310438][ T5005] page:ffffea0001f99600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7e658 [ 86.320714][ T5005] head:ffffea0001f99600 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 86.329949][ T5005] anon flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 86.338395][ T5005] page_type: 0xffffffff() [ 86.342773][ T5005] raw: 00fff00000010200 ffff888012442140 0000000000000000 dead000000000001 [ 86.351643][ T5005] raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 [ 86.360249][ T5005] page dumped because: kasan: bad access detected [ 86.366684][ T5005] page_owner tracks the page as allocated [ 86.372410][ T5005] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4469, tgid 4469 (udevd), ts 43982113037, free_ts 43349853399 [ 86.393192][ T5005] post_alloc_hook+0x2db/0x350 [ 86.398019][ T5005] get_page_from_freelist+0xf41/0x2c00 [ 86.403517][ T5005] __alloc_pages+0x1cb/0x4a0 [ 86.408166][ T5005] alloc_pages+0x1aa/0x270 [ 86.412617][ T5005] allocate_slab+0x25f/0x390 [ 86.417237][ T5005] ___slab_alloc+0xa91/0x1400 [ 86.422059][ T5005] __slab_alloc.constprop.0+0x56/0xa0 [ 86.427496][ T5005] __kmem_cache_alloc_node+0x136/0x320 [ 86.433095][ T5005] kmalloc_trace+0x26/0xe0 [ 86.437548][ T5005] kernfs_iop_get_link+0x6e/0x760 [ 86.442606][ T5005] vfs_readlink+0x1db/0x390 [ 86.447173][ T5005] do_readlinkat+0x27e/0x2f0 [ 86.451811][ T5005] __x64_sys_readlink+0x78/0xb0 [ 86.456695][ T5005] do_syscall_64+0x39/0xb0 [ 86.461151][ T5005] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 86.467100][ T5005] page last free stack trace: [ 86.471784][ T5005] free_unref_page_prepare+0x62e/0xcb0 [ 86.477276][ T5005] free_unref_page+0x33/0x370 [ 86.482007][ T5005] __unfreeze_partials+0x17c/0x1a0 [ 86.487172][ T5005] qlist_free_all+0x6a/0x170 [ 86.491806][ T5005] kasan_quarantine_reduce+0x195/0x220 [ 86.497322][ T5005] __kasan_slab_alloc+0x63/0x90 [ 86.502210][ T5005] kmem_cache_alloc+0x17c/0x3b0 [ 86.507114][ T5005] vm_area_alloc+0x20/0x230 [ 86.511647][ T5005] mmap_region+0x407/0x28d0 [ 86.516186][ T5005] do_mmap+0x831/0xf60 [ 86.520283][ T5005] vm_mmap_pgoff+0x1a2/0x3b0 [ 86.524916][ T5005] ksys_mmap_pgoff+0x41f/0x5a0 [ 86.529709][ T5005] do_syscall_64+0x39/0xb0 [ 86.534177][ T5005] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 86.540108][ T5005] [ 86.542443][ T5005] Memory state around the buggy address: [ 86.548084][ T5005] ffff88807e65df00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 86.556164][ T5005] ffff88807e65df80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 86.564244][ T5005] >ffff88807e65e000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 86.572320][ T5005] ^ [ 86.576405][ T5005] ffff88807e65e080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 86.584575][ T5005] ffff88807e65e100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 86.592655][ T5005] ================================================================== [ 86.600967][ T5005] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 86.608198][ T5005] CPU: 1 PID: 5005 Comm: syz-executor276 Not tainted 6.3.0-syzkaller-13382-g162bd18eb55a #0 [ 86.618486][ T5005] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 86.628580][ T5005] Call Trace: [ 86.631875][ T5005] [ 86.634837][ T5005] dump_stack_lvl+0xd9/0x150 [ 86.639480][ T5005] panic+0x686/0x730 [ 86.643424][ T5005] ? panic_smp_self_stop+0xa0/0xa0 [ 86.648589][ T5005] ? preempt_schedule_thunk+0x1a/0x20 [ 86.654185][ T5005] ? preempt_schedule_common+0x45/0xb0 [ 86.659677][ T5005] check_panic_on_warn+0xb1/0xc0 [ 86.664739][ T5005] end_report+0xe9/0x120 [ 86.669194][ T5005] ? hci_conn_hash_flush+0x244/0x270 [ 86.674512][ T5005] kasan_report+0xf9/0x130 [ 86.679207][ T5005] ? hci_conn_hash_flush+0x244/0x270 [ 86.684621][ T5005] hci_conn_hash_flush+0x244/0x270 [ 86.689771][ T5005] hci_dev_close_sync+0x5fb/0x1200 [ 86.695015][ T5005] ? hci_reset_sync+0x50/0x50 [ 86.699712][ T5005] ? __kmem_cache_free+0xaf/0x2d0 [ 86.704779][ T5005] hci_dev_do_close+0x31/0x70 [ 86.709503][ T5005] hci_unregister_dev+0x1ce/0x580 [ 86.714569][ T5005] vhci_release+0x80/0xf0 [ 86.718926][ T5005] __fput+0x27c/0xa90 [ 86.723022][ T5005] ? vhci_close_dev+0x50/0x50 [ 86.727741][ T5005] task_work_run+0x16f/0x270 [ 86.732444][ T5005] ? task_work_cancel+0x30/0x30 [ 86.737324][ T5005] do_exit+0xad3/0x2960 [ 86.741688][ T5005] ? lock_downgrade+0x690/0x690 [ 86.746578][ T5005] ? do_raw_spin_lock+0x124/0x2b0 [ 86.751640][ T5005] ? mm_update_next_owner+0x7b0/0x7b0 [ 86.757041][ T5005] ? spin_bug+0x1c0/0x1c0 [ 86.761406][ T5005] ? _raw_spin_unlock_irq+0x23/0x50 [ 86.766641][ T5005] do_group_exit+0xd4/0x2a0 [ 86.771173][ T5005] __x64_sys_exit_group+0x3e/0x50 [ 86.776223][ T5005] do_syscall_64+0x39/0xb0 [ 86.780686][ T5005] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 86.786624][ T5005] RIP: 0033:0x7f5425c72969 [ 86.791163][ T5005] Code: Unable to access opcode bytes at 0x7f5425c7293f. [ 86.798195][ T5005] RSP: 002b:00007ffeac2d5588 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 86.806636][ T5005] RAX: ffffffffffffffda RBX: 00007f5425cfd470 RCX: 00007f5425c72969 [ 86.814628][ T5005] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 86.822616][ T5005] RBP: 0000000000000001 R08: ffffffffffffffb8 R09: 0000000000000000 [ 86.830693][ T5005] R10: 000055555659a5d0 R11: 0000000000000246 R12: 00007f5425cfd470 [ 86.838860][ T5005] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 86.846860][ T5005] [ 86.850071][ T5005] Kernel Offset: disabled [ 86.854413][ T5005] Rebooting in 86400 seconds..