./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1830556252 <...> Warning: Permanently added '10.128.0.130' (ECDSA) to the list of known hosts. execve("./syz-executor1830556252", ["./syz-executor1830556252"], 0x7ffee0a0c590 /* 10 vars */) = 0 brk(NULL) = 0x555555bf8000 brk(0x555555bf8c40) = 0x555555bf8c40 arch_prctl(ARCH_SET_FS, 0x555555bf8300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 set_tid_address(0x555555bf85d0) = 4996 set_robust_list(0x555555bf85e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f5c483afdc0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f5c483b0490}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f5c483afe60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f5c483b0490}, 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-executor1830556252", 4096) = 28 brk(0x555555c19c40) = 0x555555c19c40 brk(0x555555c1a000) = 0x555555c1a000 mprotect(0x7f5c48471000, 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 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555bf85d0) = 4997 ./strace-static-x86_64: Process 4997 attached [pid 4997] set_robust_list(0x555555bf85e0, 24) = 0 [pid 4997] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 4997] socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI) = 3 [pid 4997] openat(AT_FDCWD, "/dev/vhci", O_RDWR) = 4 [pid 4997] dup2(4, 202) = 202 [pid 4997] close(4) = 0 [pid 4997] write(202, "\xff\x00", 2) = 2 [pid 4997] read(202, "\xff\x00\x00\x00", 4) = 4 [pid 4997] mmap(NULL, 8392704, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f5c47b9f000 [pid 4997] mprotect(0x7f5c47ba0000, 8388608, PROT_READ|PROT_WRITE) = 0 [pid 4997] clone(child_stack=0x7f5c4839f3f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5000 attached [pid 5000] set_robust_list(0x7f5c4839f9e0, 24 [pid 4997] <... clone resumed>, parent_tid=[2], tls=0x7f5c4839f700, child_tidptr=0x7f5c4839f9d0) = 2 [pid 5000] <... set_robust_list resumed>) = 0 [pid 4997] ioctl(3, HCIDEVUP [pid 5000] read(202, "\x01\x03\x0c\x00", 1024) = 4 [pid 5000] 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 5000] read(202, "\x01\x03\x10\x00", 1024) = 4 [pid 5000] 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 5000] read(202, "\x01\x01\x10\x00", 1024) = 4 [pid 5000] 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 5000] read(202, "\x01\x09\x10\x00", 1024) = 4 [pid 5000] 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 5000] read(202, "\x01\x05\x10\x00", 1024) = 4 [pid 5000] 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 5000] read(202, "\x01\x23\x0c\x00", 1024) = 4 [pid 5000] 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 5000] read(202, "\x01\x14\x0c\x00", 1024) = 4 [pid 5000] 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 5000] read(202, "\x01\x25\x0c\x00", 1024) = 4 [pid 5000] 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 5000] read(202, "\x01\x38\x0c\x00", 1024) = 4 [pid 5000] 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 [pid 5000] read(202, "\x01\x39\x0c\x00", 1024) = 4 syzkaller login: [ 41.339295][ T4998] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 41.347537][ T4998] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 41.355681][ T4998] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 41.366311][ T4998] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 41.375299][ T4998] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [pid 5000] 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 5000] read(202, "\x01\x16\x0c\x02\x00\x7d", 1024) = 6 [pid 5000] 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 4997] <... ioctl resumed>, 0) = -1 EALREADY (Operation already in progress) [pid 4997] ioctl(3, HCISETSCAN [pid 5000] read(202, "\x01\x1a\x0c\x01\x02", 1024) = 5 [pid 5000] 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 [pid 4997] <... ioctl resumed>, 0x7ffcf6d71d80) = 0 [pid 5000] <... writev resumed>) = 7 [pid 4997] 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 5000] madvise(0x7f5c47b9f000, 8372224, MADV_DONTNEED [pid 4997] 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 5000] <... madvise resumed>) = 0 [pid 4997] <... writev resumed>) = 14 [pid 5000] exit(0 [pid 4997] 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 5000] <... exit resumed>) = ? [pid 4997] <... writev resumed>) = 14 [pid 4997] 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 4997] futex(0x7f5c4839f9d0, FUTEX_WAIT, 2, NULL) = 0 [pid 4997] close(3) = 0 [pid 4997] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 4997] setsid() = 1 [pid 4997] openat(AT_FDCWD, "/proc/self/ns/net", O_RDONLY [pid 5000] +++ exited with 0 +++ [pid 4997] <... openat resumed>) = 3 [pid 4997] dup2(3, 201) = 201 [pid 4997] close(3) = 0 [pid 4997] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 4997] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 4997] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 4997] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 4997] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 4997] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 4997] unshare(CLONE_NEWNS) = 0 [pid 4997] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 4997] unshare(CLONE_NEWIPC) = 0 [pid 4997] unshare(CLONE_NEWCGROUP) = 0 [pid 4997] unshare(CLONE_NEWUTS) = 0 [pid 4997] unshare(CLONE_SYSVSEM) = 0 [pid 4997] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 4997] write(3, "16777216", 8) = 8 [pid 4997] close(3) = 0 [pid 4997] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 4997] write(3, "536870912", 9) = 9 [pid 4997] close(3) = 0 [pid 4997] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 4997] write(3, "1024", 4) = 4 [pid 4997] close(3) = 0 [pid 4997] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 4997] write(3, "8192", 4) = 4 [pid 4997] close(3) = 0 [pid 4997] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 4997] write(3, "1024", 4) = 4 [pid 4997] close(3) = 0 [pid 4997] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 4997] write(3, "1024", 4) = 4 [pid 4997] close(3) = 0 [pid 4997] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 4997] write(3, "1024 1048576 500 1024", 21) = 21 [pid 4997] close(3) = 0 [pid 4997] getpid() = 1 [pid 4997] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< 2 [pid 4997] unshare(CLONE_NEWNET) = 0 [pid 4997] openat(AT_FDCWD, "/proc/sys/net/ipv4/ping_group_range", O_WRONLY|O_CLOEXEC) = 3 [pid 4997] write(3, "0 65535", 7) = 7 [pid 4997] close(3) = 0 [pid 4997] mkdir("/dev/binderfs", 0777) = 0 [pid 4997] mount("binder", "/dev/binderfs", "binder", 0, NULL) = 0 [pid 4997] symlink("/dev/binderfs", "./binderfs") = 0 [pid 4997] futex(0x7f5c4847740c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 4997] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f5c47b7e000 [pid 4997] mprotect(0x7f5c47b7f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 4997] clone(child_stack=0x7f5c47b9e3f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5002 attached , parent_tid=[3], tls=0x7f5c47b9e700, child_tidptr=0x7f5c47b9e9d0) = 3 [pid 5002] set_robust_list(0x7f5c47b9e9e0, 24) = 0 [pid 5002] futex(0x7f5c48477408, FUTEX_WAIT_PRIVATE, 0, NULL [pid 4997] futex(0x7f5c48477408, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5002] <... futex resumed>) = 0 [pid 5002] openat(AT_FDCWD, "/proc/self/ns/net", O_RDONLY) = 3 [pid 5002] setns(201, 0) = 0 [pid 5002] socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO) = 4 [pid 4997] futex(0x7f5c4847740c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5002] setns(3, 0) = 0 [pid 5002] close(3) = 0 [pid 5002] futex(0x7f5c4847740c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5002] futex(0x7f5c48477408, FUTEX_WAIT_PRIVATE, 0, NULL [pid 4997] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 4997] futex(0x7f5c48477408, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5002] <... futex resumed>) = 0 [pid 5002] connect(4, {sa_family=AF_BLUETOOTH, sco_bdaddr=aa:aa:aa:aa:aa:00}, 8 [pid 4997] futex(0x7f5c4847740c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 4997] futex(0x7f5c4847740c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=0}) = -1 ETIMEDOUT (Connection timed out) [pid 4997] futex(0x7f5c4847741c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 4997] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f5c47b5d000 [pid 4997] mprotect(0x7f5c47b5e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 4997] clone(child_stack=0x7f5c47b7d3f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID./strace-static-x86_64: Process 5003 attached [pid 5003] set_robust_list(0x7f5c47b7d9e0, 24) = 0 [pid 5003] futex(0x7f5c48477418, FUTEX_WAIT_PRIVATE, 0, NULL [pid 4997] <... clone resumed>, parent_tid=[4], tls=0x7f5c47b7d700, child_tidptr=0x7f5c47b7d9d0) = 4 [pid 4997] futex(0x7f5c48477418, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 4997] futex(0x7f5c4847741c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=550000000} [pid 5003] <... futex resumed>) = 0 [pid 5003] bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE, insn_cnt=4, insns=0x200002c0, license="GPL", log_level=0, log_size=0, log_buf=NULL, kern_version=KERNEL_VERSION(0, 0, 0), prog_flags=0, prog_name="", prog_ifindex=0, expected_attach_type=BPF_CGROUP_INET_SOCK_CREATE, prog_btf_fd=-1, func_info_rec_size=8, func_info=NULL, func_info_cnt=0, line_info_rec_size=16, line_info=NULL, line_info_cnt=0, attach_btf_id=0, attach_prog_fd=0, fd_array=NULL}, 128) = 3 [pid 5003] futex(0x7f5c4847741c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 4997] <... futex resumed>) = 0 [pid 4997] futex(0x7f5c48477418, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 4997] futex(0x7f5c4847741c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=550000000} [pid 5003] bpf(BPF_RAW_TRACEPOINT_OPEN, {raw_tracepoint={name="percpu_alloc_percpu", prog_fd=3}}, 16) = 5 [pid 5003] futex(0x7f5c4847741c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 4997] <... futex resumed>) = 0 [pid 5003] futex(0x7f5c48477418, FUTEX_WAIT_PRIVATE, 0, NULL [pid 4997] exit_group(1 [pid 5003] <... futex resumed>) = ? [pid 5002] <... connect resumed>) = ? [pid 4997] <... exit_group resumed>) = ? [pid 5003] +++ exited with 1 +++ [pid 5002] +++ exited with 1 +++ [ 41.653700][ T4997] ================================================================== [ 41.661778][ T4997] BUG: KASAN: slab-use-after-free in hci_conn_hash_flush+0x244/0x270 [ 41.669854][ T4997] Read of size 8 at addr ffff88807df46000 by task syz-executor183/4997 [ 41.678076][ T4997] [ 41.680387][ T4997] CPU: 0 PID: 4997 Comm: syz-executor183 Not tainted 6.3.0-syzkaller-12049-g58390c8ce1bd #0 [ 41.690432][ T4997] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 41.700556][ T4997] Call Trace: [ 41.703815][ T4997] [ 41.706729][ T4997] dump_stack_lvl+0xd9/0x150 [ 41.711319][ T4997] print_address_description.constprop.0+0x2c/0x3c0 [ 41.717905][ T4997] ? hci_conn_hash_flush+0x244/0x270 [ 41.723180][ T4997] kasan_report+0x11c/0x130 [ 41.727715][ T4997] ? hci_conn_hash_flush+0x244/0x270 [ 41.732993][ T4997] hci_conn_hash_flush+0x244/0x270 [ 41.738095][ T4997] hci_dev_close_sync+0x5fb/0x1200 [ 41.743220][ T4997] ? hci_reset_sync+0x50/0x50 [ 41.747887][ T4997] ? __kmem_cache_free+0xaf/0x2d0 [ 41.752901][ T4997] hci_dev_do_close+0x31/0x70 [ 41.757578][ T4997] hci_unregister_dev+0x1ce/0x580 [ 41.762597][ T4997] vhci_release+0x80/0xf0 [ 41.766913][ T4997] __fput+0x27c/0xa90 [ 41.770878][ T4997] ? vhci_close_dev+0x50/0x50 [ 41.775539][ T4997] task_work_run+0x16f/0x270 [ 41.780117][ T4997] ? task_work_cancel+0x30/0x30 [ 41.784954][ T4997] do_exit+0xad3/0x2960 [ 41.789099][ T4997] ? preempt_schedule_thunk+0x1a/0x20 [ 41.794466][ T4997] ? mm_update_next_owner+0x7b0/0x7b0 [ 41.799831][ T4997] ? preempt_schedule_thunk+0x1a/0x20 [ 41.805199][ T4997] do_group_exit+0xd4/0x2a0 [ 41.809689][ T4997] __x64_sys_exit_group+0x3e/0x50 [ 41.814703][ T4997] do_syscall_64+0x39/0xb0 [ 41.819114][ T4997] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 41.824999][ T4997] RIP: 0033:0x7f5c483ecbe9 [ 41.829403][ T4997] Code: Unable to access opcode bytes at 0x7f5c483ecbbf. [ 41.836425][ T4997] RSP: 002b:00007ffcf6d71ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 41.844821][ T4997] RAX: ffffffffffffffda RBX: 00007f5c484773b0 RCX: 00007f5c483ecbe9 [ 41.852784][ T4997] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 41.860746][ T4997] RBP: 0000000000000001 R08: ffffffffffffffb8 R09: 0000000000000010 [ 41.868705][ T4997] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5c484773b0 [ 41.876670][ T4997] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 41.884636][ T4997] [ 41.887638][ T4997] [ 41.889942][ T4997] Allocated by task 5002: [ 41.894247][ T4997] kasan_save_stack+0x22/0x40 [ 41.898922][ T4997] kasan_set_track+0x25/0x30 [ 41.903504][ T4997] __kasan_kmalloc+0xa2/0xb0 [ 41.908084][ T4997] hci_conn_add+0xb8/0x16b0 [ 41.912574][ T4997] hci_connect_sco+0x3c7/0x1050 [ 41.917410][ T4997] sco_sock_connect+0x2d7/0xae0 [ 41.922250][ T4997] __sys_connect_file+0x153/0x1a0 [ 41.927349][ T4997] __sys_connect+0x165/0x1a0 [ 41.931926][ T4997] __x64_sys_connect+0x73/0xb0 [ 41.936682][ T4997] do_syscall_64+0x39/0xb0 [ 41.941092][ T4997] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 41.946978][ T4997] [ 41.949312][ T4997] Freed by task 4997: [ 41.953268][ T4997] kasan_save_stack+0x22/0x40 [ 41.957936][ T4997] kasan_set_track+0x25/0x30 [ 41.962514][ T4997] kasan_save_free_info+0x2e/0x40 [ 41.967524][ T4997] ____kasan_slab_free+0x160/0x1c0 [ 41.972628][ T4997] slab_free_freelist_hook+0x8b/0x1c0 [ 41.977990][ T4997] __kmem_cache_free+0xaf/0x2d0 [ 41.982846][ T4997] device_release+0xa3/0x240 [ 41.987421][ T4997] kobject_put+0x1c2/0x4d0 [ 41.991821][ T4997] put_device+0x1f/0x30 [ 41.995961][ T4997] hci_conn_del+0x1e5/0x950 [ 42.000453][ T4997] hci_conn_unlink+0x2ce/0x460 [ 42.005203][ T4997] hci_conn_unlink+0x362/0x460 [ 42.009965][ T4997] hci_conn_hash_flush+0x19b/0x270 [ 42.015096][ T4997] hci_dev_close_sync+0x5fb/0x1200 [ 42.020189][ T4997] hci_dev_do_close+0x31/0x70 [ 42.024864][ T4997] hci_unregister_dev+0x1ce/0x580 [ 42.029912][ T4997] vhci_release+0x80/0xf0 [ 42.034228][ T4997] __fput+0x27c/0xa90 [ 42.038206][ T4997] task_work_run+0x16f/0x270 [ 42.042807][ T4997] do_exit+0xad3/0x2960 [ 42.046950][ T4997] do_group_exit+0xd4/0x2a0 [ 42.051438][ T4997] __x64_sys_exit_group+0x3e/0x50 [ 42.056449][ T4997] do_syscall_64+0x39/0xb0 [ 42.060881][ T4997] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 42.066769][ T4997] [ 42.069081][ T4997] The buggy address belongs to the object at ffff88807df46000 [ 42.069081][ T4997] which belongs to the cache kmalloc-4k of size 4096 [ 42.083117][ T4997] The buggy address is located 0 bytes inside of [ 42.083117][ T4997] freed 4096-byte region [ffff88807df46000, ffff88807df47000) [ 42.096818][ T4997] [ 42.099123][ T4997] The buggy address belongs to the physical page: [ 42.105599][ T4997] page:ffffea0001f7d000 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7df40 [ 42.115732][ T4997] head:ffffea0001f7d000 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 42.124649][ T4997] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 42.132614][ T4997] page_type: 0xffffffff() [ 42.136926][ T4997] raw: 00fff00000010200 ffff888012442140 dead000000000122 0000000000000000 [ 42.145492][ T4997] raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 [ 42.154054][ T4997] page dumped because: kasan: bad access detected [ 42.160446][ T4997] page_owner tracks the page as allocated [ 42.166137][ T4997] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5002, tgid 4997 (syz-executor183), ts 41448885910, free_ts 34737312749 [ 42.186964][ T4997] post_alloc_hook+0x2db/0x350 [ 42.191726][ T4997] get_page_from_freelist+0xf41/0x2c00 [ 42.197197][ T4997] __alloc_pages+0x1cb/0x4a0 [ 42.201793][ T4997] alloc_pages+0x1aa/0x270 [ 42.206236][ T4997] allocate_slab+0x25f/0x390 [ 42.210840][ T4997] ___slab_alloc+0xa91/0x1400 [ 42.215507][ T4997] __slab_alloc.constprop.0+0x56/0xa0 [ 42.220872][ T4997] __kmem_cache_alloc_node+0x136/0x320 [ 42.226333][ T4997] __kmalloc+0x4e/0x190 [ 42.230483][ T4997] tomoyo_realpath_from_path+0xc3/0x600 [ 42.236014][ T4997] tomoyo_check_open_permission+0x29a/0x3a0 [ 42.241898][ T4997] tomoyo_file_open+0xa1/0xc0 [ 42.246561][ T4997] security_file_open+0x49/0xb0 [ 42.251399][ T4997] do_dentry_open+0x575/0x13f0 [ 42.256156][ T4997] path_openat+0x1baa/0x2750 [ 42.260733][ T4997] do_filp_open+0x1ba/0x410 [ 42.265309][ T4997] page last free stack trace: [ 42.269963][ T4997] free_unref_page_prepare+0x62e/0xcb0 [ 42.275421][ T4997] free_unref_page+0x33/0x370 [ 42.280095][ T4997] __unfreeze_partials+0x17c/0x1a0 [ 42.285283][ T4997] qlist_free_all+0x6a/0x170 [ 42.289871][ T4997] kasan_quarantine_reduce+0x195/0x220 [ 42.295324][ T4997] __kasan_slab_alloc+0x63/0x90 [ 42.300171][ T4997] kmem_cache_alloc+0x17c/0x3b0 [ 42.305015][ T4997] ptlock_alloc+0x21/0x70 [ 42.309329][ T4997] pte_alloc_one+0x6c/0x230 [ 42.313820][ T4997] __pte_alloc+0x6d/0x260 [ 42.318129][ T4997] __handle_mm_fault+0x412e/0x41c0 [ 42.323257][ T4997] handle_mm_fault+0x2af/0x9f0 [ 42.328036][ T4997] do_user_addr_fault+0x2ca/0x1210 [ 42.333185][ T4997] exc_page_fault+0x98/0x170 [ 42.337770][ T4997] asm_exc_page_fault+0x26/0x30 [ 42.342629][ T4997] [ 42.344934][ T4997] Memory state around the buggy address: [ 42.350557][ T4997] ffff88807df45f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.358607][ T4997] ffff88807df45f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.366675][ T4997] >ffff88807df46000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.374718][ T4997] ^ [ 42.378792][ T4997] ffff88807df46080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.386841][ T4997] ffff88807df46100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.394881][ T4997] ================================================================== [ 42.403772][ T4997] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 42.410963][ T4997] CPU: 0 PID: 4997 Comm: syz-executor183 Not tainted 6.3.0-syzkaller-12049-g58390c8ce1bd #0 [ 42.421013][ T4997] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 42.431083][ T4997] Call Trace: [ 42.434364][ T4997] [ 42.437274][ T4997] dump_stack_lvl+0xd9/0x150 [ 42.441848][ T4997] panic+0x686/0x730 [ 42.445728][ T4997] ? panic_smp_self_stop+0xa0/0xa0 [ 42.450835][ T4997] ? preempt_schedule_thunk+0x1a/0x20 [ 42.456190][ T4997] ? preempt_schedule_common+0x45/0xb0 [ 42.461640][ T4997] check_panic_on_warn+0xb1/0xc0 [ 42.466651][ T4997] end_report+0xe9/0x120 [ 42.471141][ T4997] ? hci_conn_hash_flush+0x244/0x270 [ 42.476418][ T4997] kasan_report+0xf9/0x130 [ 42.480881][ T4997] ? hci_conn_hash_flush+0x244/0x270 [ 42.486154][ T4997] hci_conn_hash_flush+0x244/0x270 [ 42.491292][ T4997] hci_dev_close_sync+0x5fb/0x1200 [ 42.496392][ T4997] ? hci_reset_sync+0x50/0x50 [ 42.501076][ T4997] ? __kmem_cache_free+0xaf/0x2d0 [ 42.506079][ T4997] hci_dev_do_close+0x31/0x70 [ 42.510744][ T4997] hci_unregister_dev+0x1ce/0x580 [ 42.515766][ T4997] vhci_release+0x80/0xf0 [ 42.520085][ T4997] __fput+0x27c/0xa90 [ 42.524056][ T4997] ? vhci_close_dev+0x50/0x50 [ 42.528748][ T4997] task_work_run+0x16f/0x270 [ 42.533325][ T4997] ? task_work_cancel+0x30/0x30 [ 42.538166][ T4997] do_exit+0xad3/0x2960 [ 42.542312][ T4997] ? preempt_schedule_thunk+0x1a/0x20 [ 42.547681][ T4997] ? mm_update_next_owner+0x7b0/0x7b0 [ 42.553039][ T4997] ? preempt_schedule_thunk+0x1a/0x20 [ 42.558406][ T4997] do_group_exit+0xd4/0x2a0 [ 42.562984][ T4997] __x64_sys_exit_group+0x3e/0x50 [ 42.568007][ T4997] do_syscall_64+0x39/0xb0 [ 42.572417][ T4997] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 42.578319][ T4997] RIP: 0033:0x7f5c483ecbe9 [ 42.582715][ T4997] Code: Unable to access opcode bytes at 0x7f5c483ecbbf. [ 42.589739][ T4997] RSP: 002b:00007ffcf6d71ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 42.598139][ T4997] RAX: ffffffffffffffda RBX: 00007f5c484773b0 RCX: 00007f5c483ecbe9 [ 42.606115][ T4997] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 42.614068][ T4997] RBP: 0000000000000001 R08: ffffffffffffffb8 R09: 0000000000000010 [ 42.622026][ T4997] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5c484773b0 [ 42.630067][ T4997] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 42.638032][ T4997] [ 42.641877][ T4997] Kernel Offset: disabled [ 42.646188][ T4997] Rebooting in 86400 seconds..