./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1851578746 <...> Warning: Permanently added '10.128.0.107' (ECDSA) to the list of known hosts. execve("./syz-executor1851578746", ["./syz-executor1851578746"], 0x7ffeb9ac0380 /* 10 vars */) = 0 brk(NULL) = 0x555555de9000 brk(0x555555de9c40) = 0x555555de9c40 arch_prctl(ARCH_SET_FS, 0x555555de9300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 set_tid_address(0x555555de95d0) = 5005 set_robust_list(0x555555de95e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f33490664b0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f3349066b80}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f3349066550, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f3349066b80}, 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-executor1851578746", 4096) = 28 brk(0x555555e0ac40) = 0x555555e0ac40 brk(0x555555e0b000) = 0x555555e0b000 mprotect(0x7f3349128000, 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.127819][ T5005] 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.267675][ T5005] 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() = 5005 mkdir("./syzkaller.bKkNhG", 0700) = 0 chmod("./syzkaller.bKkNhG", 0777) = 0 chdir("./syzkaller.bKkNhG") = 0 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5006 attached , child_tidptr=0x555555de95d0) = 5006 [pid 5006] set_robust_list(0x555555de95e0, 24) = 0 [pid 5006] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 5006] socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI) = 3 [pid 5006] openat(AT_FDCWD, "/dev/vhci", O_RDWR) = 4 [pid 5006] dup2(4, 202) = 202 [pid 5006] close(4) = 0 [pid 5006] write(202, "\xff\x00", 2) = 2 [pid 5006] read(202, "\xff\x00\x00\x00", 4) = 4 [pid 5006] mmap(NULL, 8392704, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f3348855000 [pid 5006] mprotect(0x7f3348856000, 8388608, PROT_READ|PROT_WRITE) = 0 [pid 5006] clone(child_stack=0x7f33490553f0, 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=0x7f3349055700, child_tidptr=0x7f33490559d0) = 2 [pid 5006] ioctl(3, HCIDEVUP./strace-static-x86_64: Process 5008 attached [pid 5008] set_robust_list(0x7f33490559e0, 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.412467][ T5007] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 80.421250][ T5007] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 80.433151][ T5007] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 80.443614][ T5007] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 80.452721][ 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 5006] <... ioctl resumed>, 0) = -1 EALREADY (Operation already in progress) [pid 5006] 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 5006] <... ioctl resumed>, 0x7ffed6da0620) = 0 [pid 5008] madvise(0x7f3348855000, 8372224, MADV_DONTNEED [pid 5006] 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) = 13 [pid 5008] <... madvise resumed>) = 0 [pid 5006] 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 [pid 5008] exit(0 [pid 5006] <... writev resumed>) = 14 [pid 5008] <... exit resumed>) = ? [pid 5008] +++ exited with 0 +++ [pid 5006] 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) = 14 [pid 5006] 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 5006] close(3) = 0 [pid 5006] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5006] setsid() = 1 [pid 5006] openat(AT_FDCWD, "/proc/self/ns/net", O_RDONLY) = 3 [pid 5006] dup2(3, 201) = 201 [pid 5006] close(3) = 0 [pid 5006] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5006] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5006] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5006] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5006] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5006] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5006] unshare(CLONE_NEWNS) = 0 [pid 5006] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5006] unshare(CLONE_NEWIPC) = 0 [pid 5006] unshare(CLONE_NEWCGROUP) = 0 [pid 5006] unshare(CLONE_NEWUTS) = 0 [pid 5006] unshare(CLONE_SYSVSEM) = 0 [pid 5006] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "16777216", 8) = 8 [pid 5006] close(3) = 0 [pid 5006] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "536870912", 9) = 9 [pid 5006] close(3) = 0 [pid 5006] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "1024", 4) = 4 [pid 5006] close(3) = 0 [pid 5006] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "8192", 4) = 4 [pid 5006] close(3) = 0 [pid 5006] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "1024", 4) = 4 [pid 5006] close(3) = 0 [pid 5006] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "1024", 4) = 4 [pid 5006] close(3) = 0 [pid 5006] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5006] close(3) = 0 [pid 5006] getpid() = 1 [pid 5006] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< 2 [pid 5006] unshare(CLONE_NEWNET) = 0 [pid 5006] openat(AT_FDCWD, "/proc/sys/net/ipv4/ping_group_range", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "0 65535", 7) = 7 [pid 5006] close(3) = 0 [pid 5006] mkdir("/dev/binderfs", 0777) = 0 [pid 5006] mount("binder", "/dev/binderfs", "binder", 0, NULL) = 0 [pid 5006] getpid() = 1 [pid 5006] mkdir("/syzcgroup/unified/syz0", 0777) = 0 [pid 5006] openat(AT_FDCWD, "/syzcgroup/unified/syz0/pids.max", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "32", 2) = 2 [pid 5006] close(3) = 0 [pid 5006] openat(AT_FDCWD, "/syzcgroup/unified/syz0/memory.low", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "312475648", 9) = 9 [pid 5006] close(3) = 0 [pid 5006] openat(AT_FDCWD, "/syzcgroup/unified/syz0/memory.high", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "313524224", 9) = 9 [pid 5006] close(3) = 0 [pid 5006] openat(AT_FDCWD, "/syzcgroup/unified/syz0/memory.max", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "314572800", 9) = 9 [pid 5006] close(3) = 0 [pid 5006] openat(AT_FDCWD, "/syzcgroup/unified/syz0/cgroup.procs", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "1", 1) = 1 [pid 5006] close(3) = 0 [pid 5006] mkdir("/syzcgroup/cpu/syz0", 0777) = 0 [pid 5006] openat(AT_FDCWD, "/syzcgroup/cpu/syz0/cgroup.procs", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "1", 1) = 1 [pid 5006] close(3) = 0 [pid 5006] mkdir("/syzcgroup/net/syz0", 0777) = 0 [pid 5006] openat(AT_FDCWD, "/syzcgroup/net/syz0/cgroup.procs", O_WRONLY|O_CLOEXEC) = 3 [pid 5006] write(3, "1", 1) = 1 [pid 5006] close(3) = 0 [pid 5006] mkdir("./0", 0777) = 0 [pid 5006] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555de95d0) = 3 ./strace-static-x86_64: Process 5012 attached [pid 5012] set_robust_list(0x555555de95e0, 24) = 0 [pid 5012] chdir("./0") = 0 [pid 5012] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5012] setpgid(0, 0) = 0 [pid 5012] symlink("/syzcgroup/unified/syz0", "./cgroup") = 0 [pid 5012] symlink("/syzcgroup/cpu/syz0", "./cgroup.cpu") = 0 [pid 5012] symlink("/syzcgroup/net/syz0", "./cgroup.net") = 0 [pid 5012] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5012] write(3, "1000", 4) = 4 [pid 5012] close(3) = 0 [pid 5012] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5012] 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 5012] openat(AT_FDCWD, "cgroup", O_RDWR|O_PATH) = 3 [pid 5012] openat(3, "pids.max", O_RDWR) = 4 [pid 5012] write(4, "0x0000000000000000", 18) = 18 [pid 5012] openat(AT_FDCWD, "/proc/self/ns/net", O_RDONLY) = 5 [pid 5012] setns(201, 0) = 0 [pid 5012] socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO) = 6 [pid 5012] setns(5, 0) = 0 [pid 5012] close(5) = 0 [ 82.493361][ T5007] Bluetooth: hci0: command 0x0409 tx timeout [ 84.563305][ T5007] Bluetooth: hci0: command 0x041b tx timeout [pid 5012] connect(6, {sa_family=AF_BLUETOOTH, sco_bdaddr=aa:aa:aa:aa:aa:00}, 8 [pid 5006] kill(-3, SIGKILL [pid 5012] <... connect resumed>) = ? [pid 5006] <... kill resumed>) = 0 [pid 5012] +++ killed by SIGKILL +++ [pid 5006] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=3, si_uid=0, si_status=SIGKILL, si_utime=0, si_stime=0} --- [pid 5006] kill(3, SIGKILL) = 0 [pid 5006] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5006] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5006] fstat(3, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 5006] getdents64(3, 0x555555dea740 /* 6 entries */, 32768) = 176 [pid 5006] umount2("./0/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5006] lstat("./0/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}) = 0 [pid 5006] unlink("./0/cgroup.cpu") = 0 [pid 5006] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5006] lstat("./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}) = 0 [pid 5006] unlink("./0/binderfs") = 0 [pid 5006] umount2("./0/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5006] lstat("./0/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}) = 0 [pid 5006] unlink("./0/cgroup") = 0 [pid 5006] umount2("./0/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5006] lstat("./0/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}) = 0 [pid 5006] unlink("./0/cgroup.net") = 0 [pid 5006] getdents64(3, 0x555555dea740 /* 0 entries */, 32768) = 0 [pid 5006] close(3) = 0 [pid 5006] rmdir("./0") = 0 [pid 5006] mkdir("./1", 0777) = 0 [pid 5006] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555de95d0) = -1 EAGAIN (Resource temporarily unavailable) [pid 5006] exit_group(1) = ? [ 85.639841][ T5006] cgroup: fork rejected by pids controller in /syz0 [ 85.695439][ T5006] ================================================================== [ 85.703662][ T5006] BUG: KASAN: slab-use-after-free in hci_conn_hash_flush+0x244/0x270 [ 85.711767][ T5006] Read of size 8 at addr ffff888078428000 by task syz-executor185/5006 [ 85.720015][ T5006] [ 85.722338][ T5006] CPU: 0 PID: 5006 Comm: syz-executor185 Not tainted 6.3.0-syzkaller-13379-ged23734c23d2 #0 [ 85.732420][ T5006] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 85.742487][ T5006] Call Trace: [ 85.745772][ T5006] [ 85.748710][ T5006] dump_stack_lvl+0xd9/0x150 [ 85.753328][ T5006] print_address_description.constprop.0+0x2c/0x3c0 [ 85.759942][ T5006] ? hci_conn_hash_flush+0x244/0x270 [ 85.765258][ T5006] kasan_report+0x11c/0x130 [ 85.769788][ T5006] ? hci_conn_hash_flush+0x244/0x270 [ 85.775093][ T5006] hci_conn_hash_flush+0x244/0x270 [ 85.780224][ T5006] hci_dev_close_sync+0x5fb/0x1200 [ 85.785355][ T5006] ? hci_reset_sync+0x50/0x50 [ 85.790041][ T5006] ? __kmem_cache_free+0xaf/0x2d0 [ 85.795091][ T5006] hci_dev_do_close+0x31/0x70 [ 85.799814][ T5006] hci_unregister_dev+0x1ce/0x580 [ 85.804876][ T5006] vhci_release+0x80/0xf0 [ 85.809217][ T5006] __fput+0x27c/0xa90 [ 85.813216][ T5006] ? vhci_close_dev+0x50/0x50 [ 85.817909][ T5006] task_work_run+0x16f/0x270 [ 85.822523][ T5006] ? task_work_cancel+0x30/0x30 [ 85.827403][ T5006] do_exit+0xad3/0x2960 [ 85.831585][ T5006] ? lock_downgrade+0x690/0x690 [ 85.836458][ T5006] ? do_raw_spin_lock+0x124/0x2b0 [ 85.841504][ T5006] ? mm_update_next_owner+0x7b0/0x7b0 [ 85.846887][ T5006] ? spin_bug+0x1c0/0x1c0 [ 85.851242][ T5006] ? _raw_spin_unlock_irq+0x23/0x50 [ 85.856476][ T5006] do_group_exit+0xd4/0x2a0 [ 85.860995][ T5006] __x64_sys_exit_group+0x3e/0x50 [ 85.866031][ T5006] do_syscall_64+0x39/0xb0 [ 85.870473][ T5006] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 85.876402][ T5006] RIP: 0033:0x7f33490a3969 [ 85.880836][ T5006] Code: Unable to access opcode bytes at 0x7f33490a393f. [ 85.887864][ T5006] RSP: 002b:00007ffed6da03c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 85.896403][ T5006] RAX: ffffffffffffffda RBX: 00007f334912e470 RCX: 00007f33490a3969 [ 85.904437][ T5006] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 85.912421][ T5006] RBP: 0000000000000001 R08: ffffffffffffffb8 R09: 0000000000000000 [ 85.920405][ T5006] R10: 0000555555de95d0 R11: 0000000000000246 R12: 00007f334912e470 [ 85.928390][ T5006] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 85.936401][ T5006] [ 85.939426][ T5006] [ 85.941759][ T5006] Allocated by task 5012: [ 85.946235][ T5006] kasan_save_stack+0x22/0x40 [ 85.950948][ T5006] kasan_set_track+0x25/0x30 [ 85.955558][ T5006] __kasan_kmalloc+0xa2/0xb0 [ 85.960171][ T5006] hci_conn_add+0xb8/0x16b0 [ 85.964690][ T5006] hci_connect_sco+0x3c7/0x1050 [ 85.969556][ T5006] sco_sock_connect+0x2d7/0xae0 [ 85.974424][ T5006] __sys_connect_file+0x153/0x1a0 [ 85.979478][ T5006] __sys_connect+0x165/0x1a0 [ 85.984176][ T5006] __x64_sys_connect+0x73/0xb0 [ 85.988958][ T5006] do_syscall_64+0x39/0xb0 [ 85.993407][ T5006] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 85.999324][ T5006] [ 86.001648][ T5006] Freed by task 5006: [ 86.005629][ T5006] kasan_save_stack+0x22/0x40 [ 86.010330][ T5006] kasan_set_track+0x25/0x30 [ 86.014940][ T5006] kasan_save_free_info+0x2e/0x40 [ 86.019973][ T5006] ____kasan_slab_free+0x160/0x1c0 [ 86.025113][ T5006] slab_free_freelist_hook+0x8b/0x1c0 [ 86.030514][ T5006] __kmem_cache_free+0xaf/0x2d0 [ 86.035394][ T5006] device_release+0xa3/0x240 [ 86.040020][ T5006] kobject_put+0x1c2/0x4d0 [ 86.044449][ T5006] put_device+0x1f/0x30 [ 86.048612][ T5006] hci_conn_del+0x1e5/0x950 [ 86.053131][ T5006] hci_conn_unlink+0x2ce/0x460 [ 86.057932][ T5006] hci_conn_unlink+0x362/0x460 [ 86.062708][ T5006] hci_conn_hash_flush+0x19b/0x270 [ 86.067839][ T5006] hci_dev_close_sync+0x5fb/0x1200 [ 86.072970][ T5006] hci_dev_do_close+0x31/0x70 [ 86.077677][ T5006] hci_unregister_dev+0x1ce/0x580 [ 86.082723][ T5006] vhci_release+0x80/0xf0 [ 86.087059][ T5006] __fput+0x27c/0xa90 [ 86.091052][ T5006] task_work_run+0x16f/0x270 [ 86.095669][ T5006] do_exit+0xad3/0x2960 [ 86.099834][ T5006] do_group_exit+0xd4/0x2a0 [ 86.104351][ T5006] __x64_sys_exit_group+0x3e/0x50 [ 86.109383][ T5006] do_syscall_64+0x39/0xb0 [ 86.113835][ T5006] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 86.119750][ T5006] [ 86.122072][ T5006] Last potentially related work creation: [ 86.127785][ T5006] kasan_save_stack+0x22/0x40 [ 86.132487][ T5006] __kasan_record_aux_stack+0xbc/0xd0 [ 86.137867][ T5006] insert_work+0x48/0x360 [ 86.142214][ T5006] __queue_work+0x625/0x1120 [ 86.146823][ T5006] __queue_delayed_work+0x1c8/0x270 [ 86.152040][ T5006] queue_delayed_work_on+0x109/0x120 [ 86.157362][ T5006] sco_chan_del+0x1f8/0x4f0 [ 86.161877][ T5006] __sco_sock_close+0x178/0x740 [ 86.166741][ T5006] sco_sock_release+0x81/0x360 [ 86.171532][ T5006] __sock_release+0xcd/0x290 [ 86.176147][ T5006] sock_close+0x1c/0x20 [ 86.180332][ T5006] __fput+0x27c/0xa90 [ 86.184323][ T5006] task_work_run+0x16f/0x270 [ 86.188921][ T5006] do_exit+0xad3/0x2960 [ 86.193089][ T5006] do_group_exit+0xd4/0x2a0 [ 86.197610][ T5006] get_signal+0x2315/0x25b0 [ 86.202132][ T5006] arch_do_signal_or_restart+0x79/0x5c0 [ 86.207693][ T5006] exit_to_user_mode_prepare+0x11f/0x240 [ 86.213442][ T5006] syscall_exit_to_user_mode+0x1d/0x50 [ 86.218916][ T5006] do_syscall_64+0x46/0xb0 [ 86.223356][ T5006] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 86.229381][ T5006] [ 86.231707][ T5006] The buggy address belongs to the object at ffff888078428000 [ 86.231707][ T5006] which belongs to the cache kmalloc-4k of size 4096 [ 86.245871][ T5006] The buggy address is located 0 bytes inside of [ 86.245871][ T5006] freed 4096-byte region [ffff888078428000, ffff888078429000) [ 86.259776][ T5006] [ 86.262104][ T5006] The buggy address belongs to the physical page: [ 86.268529][ T5006] page:ffffea0001e10a00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x78428 [ 86.278691][ T5006] head:ffffea0001e10a00 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 86.287633][ T5006] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 86.295630][ T5006] page_type: 0xffffffff() [ 86.299973][ T5006] raw: 00fff00000010200 ffff888012442140 ffffea0001f24a00 dead000000000002 [ 86.308579][ T5006] raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 [ 86.317165][ T5006] page dumped because: kasan: bad access detected [ 86.323584][ T5006] page_owner tracks the page as allocated [ 86.329294][ T5006] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4619, tgid 4619 (v4l_id), ts 42210431025, free_ts 42153746935 [ 86.349375][ T5006] post_alloc_hook+0x2db/0x350 [ 86.354171][ T5006] get_page_from_freelist+0xf41/0x2c00 [ 86.359666][ T5006] __alloc_pages+0x1cb/0x4a0 [ 86.364295][ T5006] alloc_pages+0x1aa/0x270 [ 86.368726][ T5006] allocate_slab+0x25f/0x390 [ 86.373338][ T5006] ___slab_alloc+0xa91/0x1400 [ 86.378038][ T5006] __slab_alloc.constprop.0+0x56/0xa0 [ 86.383437][ T5006] __kmem_cache_alloc_node+0x136/0x320 [ 86.388936][ T5006] __kmalloc+0x4e/0x190 [ 86.393105][ T5006] tomoyo_realpath_from_path+0xc3/0x600 [ 86.398674][ T5006] tomoyo_check_open_permission+0x29a/0x3a0 [ 86.404590][ T5006] tomoyo_file_open+0xa1/0xc0 [ 86.409312][ T5006] security_file_open+0x49/0xb0 [ 86.414178][ T5006] do_dentry_open+0x575/0x13f0 [ 86.418955][ T5006] path_openat+0x1baa/0x2750 [ 86.423557][ T5006] do_filp_open+0x1ba/0x410 [ 86.428080][ T5006] page last free stack trace: [ 86.432749][ T5006] free_unref_page_prepare+0x62e/0xcb0 [ 86.438262][ T5006] free_unref_page+0x33/0x370 [ 86.442984][ T5006] __unfreeze_partials+0x17c/0x1a0 [ 86.448145][ T5006] qlist_free_all+0x6a/0x170 [ 86.452776][ T5006] kasan_quarantine_reduce+0x195/0x220 [ 86.458268][ T5006] __kasan_slab_alloc+0x63/0x90 [ 86.463234][ T5006] kmem_cache_alloc+0x17c/0x3b0 [ 86.468116][ T5006] getname_flags.part.0+0x50/0x4f0 [ 86.473254][ T5006] getname+0x92/0xd0 [ 86.477171][ T5006] do_sys_openat2+0xf5/0x4c0 [ 86.481827][ T5006] __x64_sys_openat+0x143/0x1f0 [ 86.486741][ T5006] do_syscall_64+0x39/0xb0 [ 86.491189][ T5006] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 86.497113][ T5006] [ 86.499441][ T5006] Memory state around the buggy address: [ 86.505076][ T5006] ffff888078427f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 86.513172][ T5006] ffff888078427f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 86.521280][ T5006] >ffff888078428000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 86.529347][ T5006] ^ [ 86.533418][ T5006] ffff888078428080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 86.541503][ T5006] ffff888078428100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 86.549584][ T5006] ================================================================== [ 86.558580][ T5006] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 86.565822][ T5006] CPU: 0 PID: 5006 Comm: syz-executor185 Not tainted 6.3.0-syzkaller-13379-ged23734c23d2 #0 [ 86.576014][ T5006] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 86.586113][ T5006] Call Trace: [ 86.589493][ T5006] [ 86.592427][ T5006] dump_stack_lvl+0xd9/0x150 [ 86.597048][ T5006] panic+0x686/0x730 [ 86.600971][ T5006] ? panic_smp_self_stop+0xa0/0xa0 [ 86.606106][ T5006] ? preempt_schedule_thunk+0x1a/0x20 [ 86.611502][ T5006] ? preempt_schedule_common+0x45/0xb0 [ 86.616981][ T5006] check_panic_on_warn+0xb1/0xc0 [ 86.621942][ T5006] end_report+0xe9/0x120 [ 86.626280][ T5006] ? hci_conn_hash_flush+0x244/0x270 [ 86.631593][ T5006] kasan_report+0xf9/0x130 [ 86.636039][ T5006] ? hci_conn_hash_flush+0x244/0x270 [ 86.641346][ T5006] hci_conn_hash_flush+0x244/0x270 [ 86.646479][ T5006] hci_dev_close_sync+0x5fb/0x1200 [ 86.651604][ T5006] ? hci_reset_sync+0x50/0x50 [ 86.656292][ T5006] ? __kmem_cache_free+0xaf/0x2d0 [ 86.661339][ T5006] hci_dev_do_close+0x31/0x70 [ 86.666049][ T5006] hci_unregister_dev+0x1ce/0x580 [ 86.671131][ T5006] vhci_release+0x80/0xf0 [ 86.675503][ T5006] __fput+0x27c/0xa90 [ 86.679605][ T5006] ? vhci_close_dev+0x50/0x50 [ 86.684310][ T5006] task_work_run+0x16f/0x270 [ 86.688922][ T5006] ? task_work_cancel+0x30/0x30 [ 86.693797][ T5006] do_exit+0xad3/0x2960 [ 86.697976][ T5006] ? lock_downgrade+0x690/0x690 [ 86.702864][ T5006] ? do_raw_spin_lock+0x124/0x2b0 [ 86.707928][ T5006] ? mm_update_next_owner+0x7b0/0x7b0 [ 86.713335][ T5006] ? spin_bug+0x1c0/0x1c0 [ 86.717714][ T5006] ? _raw_spin_unlock_irq+0x23/0x50 [ 86.722974][ T5006] do_group_exit+0xd4/0x2a0 [ 86.727517][ T5006] __x64_sys_exit_group+0x3e/0x50 [ 86.732569][ T5006] do_syscall_64+0x39/0xb0 [ 86.737048][ T5006] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 86.742993][ T5006] RIP: 0033:0x7f33490a3969 [ 86.747422][ T5006] Code: Unable to access opcode bytes at 0x7f33490a393f. [ 86.754449][ T5006] RSP: 002b:00007ffed6da03c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 86.762885][ T5006] RAX: ffffffffffffffda RBX: 00007f334912e470 RCX: 00007f33490a3969 [ 86.770891][ T5006] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 86.778879][ T5006] RBP: 0000000000000001 R08: ffffffffffffffb8 R09: 0000000000000000 [ 86.786872][ T5006] R10: 0000555555de95d0 R11: 0000000000000246 R12: 00007f334912e470 [ 86.794860][ T5006] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 86.802855][ T5006] [ 86.806117][ T5006] Kernel Offset: disabled [ 86.810454][ T5006] Rebooting in 86400 seconds..