./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2000009596 <...> [ 28.386737][ T4671] dhcpcd-run-hook (4671) used greatest stack depth: 22640 bytes left forked to background, child pid 4667 [ 29.756198][ T4668] 8021q: adding VLAN 0 to HW filter on device bond0 [ 29.766587][ T4668] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.10.7' (ECDSA) to the list of known hosts. execve("./syz-executor2000009596", ["./syz-executor2000009596"], 0x7fff481796a0 /* 10 vars */) = 0 brk(NULL) = 0x55555644a000 brk(0x55555644ac40) = 0x55555644ac40 arch_prctl(ARCH_SET_FS, 0x55555644a300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 set_tid_address(0x55555644a5d0) = 4998 set_robust_list(0x55555644a5e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f5568ed9dc0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f5568eda490}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f5568ed9e60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f5568eda490}, 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-executor2000009596", 4096) = 28 brk(0x55555646bc40) = 0x55555646bc40 brk(0x55555646c000) = 0x55555646c000 mprotect(0x7f5568f9b000, 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./strace-static-x86_64: Process 4999 attached , child_tidptr=0x55555644a5d0) = 4999 [pid 4999] set_robust_list(0x55555644a5e0, 24) = 0 [pid 4999] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 4999] socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI) = 3 [pid 4999] openat(AT_FDCWD, "/dev/vhci", O_RDWR) = 4 [pid 4999] dup2(4, 202) = 202 [pid 4999] close(4) = 0 [pid 4999] write(202, "\xff\x00", 2) = 2 [pid 4999] read(202, "\xff\x00\x00\x00", 4) = 4 [pid 4999] mmap(NULL, 8392704, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f55686c9000 [pid 4999] mprotect(0x7f55686ca000, 8388608, PROT_READ|PROT_WRITE) = 0 [pid 4999] clone(child_stack=0x7f5568ec93f0, 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=0x7f5568ec9700, child_tidptr=0x7f5568ec99d0) = 2 [pid 4999] ioctl(3, HCIDEVUP./strace-static-x86_64: Process 5001 attached [pid 5001] set_robust_list(0x7f5568ec99e0, 24) = 0 [pid 5001] read(202, "\x01\x03\x0c\x00", 1024) = 4 [pid 5001] 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 5001] read(202, "\x01\x03\x10\x00", 1024) = 4 [pid 5001] 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 5001] read(202, "\x01\x01\x10\x00", 1024) = 4 [pid 5001] 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 5001] read(202, "\x01\x09\x10\x00", 1024) = 4 [pid 5001] 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 5001] read(202, "\x01\x05\x10\x00", 1024) = 4 [pid 5001] 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 5001] read(202, "\x01\x23\x0c\x00", 1024) = 4 [pid 5001] 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 5001] read(202, "\x01\x14\x0c\x00", 1024) = 4 [pid 5001] 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 5001] read(202, "\x01\x25\x0c\x00", 1024) = 4 [pid 5001] 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 5001] read(202, "\x01\x38\x0c\x00", 1024) = 4 syzkaller login: [ 54.724537][ T5000] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 54.732573][ T5000] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 54.740839][ T5000] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 54.753432][ T5000] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 54.764006][ T5000] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [pid 5001] 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 5001] read(202, "\x01\x39\x0c\x00", 1024) = 4 [pid 5001] 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 5001] read(202, "\x01\x16\x0c\x02\x00\x7d", 1024) = 6 [pid 5001] 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 4999] <... ioctl resumed>, 0) = -1 EALREADY (Operation already in progress) [pid 4999] ioctl(3, HCISETSCAN [pid 5001] read(202, "\x01\x1a\x0c\x01\x02", 1024) = 5 [pid 5001] 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 4999] <... ioctl resumed>, 0x7ffe945710b0) = 0 [pid 4999] 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 5001] madvise(0x7f55686c9000, 8372224, MADV_DONTNEED [pid 4999] <... writev resumed>) = 13 [pid 4999] 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 4999] 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 4999] 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 4999] futex(0x7f5568ec99d0, FUTEX_WAIT, 2, NULL [pid 5001] <... madvise resumed>) = 0 [pid 5001] exit(0) = ? [pid 5001] +++ exited with 0 +++ [pid 4999] <... futex resumed>) = 0 [pid 4999] close(3) = 0 [pid 4999] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 4999] setsid() = 1 [pid 4999] openat(AT_FDCWD, "/proc/self/ns/net", O_RDONLY) = 3 [pid 4999] dup2(3, 201) = 201 [pid 4999] close(3) = 0 [pid 4999] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 4999] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 4999] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 4999] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 4999] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 4999] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 4999] unshare(CLONE_NEWNS) = 0 [pid 4999] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 4999] unshare(CLONE_NEWIPC) = 0 [pid 4999] unshare(CLONE_NEWCGROUP) = 0 [pid 4999] unshare(CLONE_NEWUTS) = 0 [pid 4999] unshare(CLONE_SYSVSEM) = 0 [pid 4999] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 4999] write(3, "16777216", 8) = 8 [pid 4999] close(3) = 0 [pid 4999] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 4999] write(3, "536870912", 9) = 9 [pid 4999] close(3) = 0 [pid 4999] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 4999] write(3, "1024", 4) = 4 [pid 4999] close(3) = 0 [pid 4999] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 4999] write(3, "8192", 4) = 4 [pid 4999] close(3) = 0 [pid 4999] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 4999] write(3, "1024", 4) = 4 [pid 4999] close(3) = 0 [pid 4999] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 4999] write(3, "1024", 4) = 4 [pid 4999] close(3) = 0 [pid 4999] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 4999] write(3, "1024 1048576 500 1024", 21) = 21 [ 54.772975][ T5000] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [pid 4999] close(3) = 0 [pid 4999] getpid() = 1 [pid 4999] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [pid 5005] set_robust_list(0x7f55686c89e0, 24) = 0 [pid 5005] openat(AT_FDCWD, "/proc/self/ns/net", O_RDONLY) = 3 [pid 5005] setns(201, 0) = 0 [pid 5005] socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO) = 4 [pid 5005] setns(3, 0) = 0 [pid 5005] close(3) = 0 [pid 5005] futex(0x7f5568fa140c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 4999] <... futex resumed>) = 0 [pid 4999] futex(0x7f5568fa1408, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 4999] futex(0x7f5568fa140c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5005] connect(4, {sa_family=AF_BLUETOOTH, sco_bdaddr=aa:aa:aa:aa:aa:00}, 8 [pid 4999] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 4999] futex(0x7f5568fa141c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 4999] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f5568687000 [pid 4999] mprotect(0x7f5568688000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 4999] clone(child_stack=0x7f55686a73f0, 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 5006 attached , parent_tid=[4], tls=0x7f55686a7700, child_tidptr=0x7f55686a79d0) = 4 [pid 4999] futex(0x7f5568fa1418, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 4999] futex(0x7f5568fa141c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=550000000} [pid 5006] set_robust_list(0x7f55686a79e0, 24) = 0 [pid 5006] 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 5006] futex(0x7f5568fa141c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 4999] <... futex resumed>) = 0 [pid 4999] futex(0x7f5568fa1418, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 4999] futex(0x7f5568fa141c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=550000000} [pid 5006] bpf(BPF_RAW_TRACEPOINT_OPEN, {raw_tracepoint={name="percpu_alloc_percpu", prog_fd=3}}, 16) = 5 [pid 5006] futex(0x7f5568fa141c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 4999] <... futex resumed>) = 0 [pid 5006] futex(0x7f5568fa1418, FUTEX_WAIT_PRIVATE, 0, NULL [pid 4999] exit_group(1 [pid 5006] <... futex resumed>) = ? [pid 5005] <... connect resumed>) = ? [pid 5006] +++ exited with 1 +++ [pid 5005] +++ exited with 1 +++ [pid 4999] <... exit_group resumed>) = ? [ 55.059808][ T4999] ================================================================== [ 55.067874][ T4999] BUG: KASAN: slab-use-after-free in hci_conn_hash_flush+0x244/0x270 [ 55.075945][ T4999] Read of size 8 at addr ffff88807dfcc000 by task syz-executor200/4999 [ 55.084162][ T4999] [ 55.086470][ T4999] CPU: 1 PID: 4999 Comm: syz-executor200 Not tainted 6.3.0-syzkaller-07946-g281900a923d4 #0 [ 55.096526][ T4999] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 55.106569][ T4999] Call Trace: [ 55.109832][ T4999] [ 55.112750][ T4999] dump_stack_lvl+0xd9/0x150 [ 55.117326][ T4999] print_address_description.constprop.0+0x2c/0x3c0 [ 55.123909][ T4999] ? hci_conn_hash_flush+0x244/0x270 [ 55.129195][ T4999] kasan_report+0x11c/0x130 [ 55.133693][ T4999] ? hci_conn_hash_flush+0x244/0x270 [ 55.138972][ T4999] hci_conn_hash_flush+0x244/0x270 [ 55.144089][ T4999] hci_dev_close_sync+0x5fb/0x1200 [ 55.149219][ T4999] ? hci_reset_sync+0x50/0x50 [ 55.153924][ T4999] ? __kmem_cache_free+0xaf/0x2d0 [ 55.158964][ T4999] hci_dev_do_close+0x31/0x70 [ 55.163649][ T4999] hci_unregister_dev+0x1ce/0x580 [ 55.168674][ T4999] vhci_release+0x80/0xf0 [ 55.173006][ T4999] __fput+0x27c/0xa90 [ 55.177057][ T4999] ? vhci_close_dev+0x50/0x50 [ 55.181738][ T4999] task_work_run+0x16f/0x270 [ 55.186332][ T4999] ? task_work_cancel+0x30/0x30 [ 55.191186][ T4999] do_exit+0xad3/0x2960 [ 55.195348][ T4999] ? preempt_schedule_thunk+0x1a/0x20 [ 55.200728][ T4999] ? mm_update_next_owner+0x7b0/0x7b0 [ 55.206096][ T4999] ? preempt_schedule_thunk+0x1a/0x20 [ 55.211479][ T4999] do_group_exit+0xd4/0x2a0 [ 55.215984][ T4999] __x64_sys_exit_group+0x3e/0x50 [ 55.221007][ T4999] do_syscall_64+0x39/0xb0 [ 55.225423][ T4999] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.231321][ T4999] RIP: 0033:0x7f5568f16be9 [ 55.235731][ T4999] Code: Unable to access opcode bytes at 0x7f5568f16bbf. [ 55.242735][ T4999] RSP: 002b:00007ffe94571018 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 55.251142][ T4999] RAX: ffffffffffffffda RBX: 00007f5568fa13b0 RCX: 00007f5568f16be9 [ 55.259108][ T4999] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 55.267070][ T4999] RBP: 0000000000000001 R08: ffffffffffffffb8 R09: 0000000000000010 [ 55.275033][ T4999] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5568fa13b0 [ 55.282995][ T4999] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 55.290965][ T4999] [ 55.293974][ T4999] [ 55.296286][ T4999] Allocated by task 5005: [ 55.300601][ T4999] kasan_save_stack+0x22/0x40 [ 55.305274][ T4999] kasan_set_track+0x25/0x30 [ 55.309864][ T4999] __kasan_kmalloc+0xa2/0xb0 [ 55.314446][ T4999] hci_conn_add+0xb8/0x16b0 [ 55.318950][ T4999] hci_connect_sco+0x3c7/0x1050 [ 55.323802][ T4999] sco_sock_connect+0x2d7/0xae0 [ 55.328652][ T4999] __sys_connect_file+0x153/0x1a0 [ 55.333672][ T4999] __sys_connect+0x165/0x1a0 [ 55.338258][ T4999] __x64_sys_connect+0x73/0xb0 [ 55.343015][ T4999] do_syscall_64+0x39/0xb0 [ 55.347424][ T4999] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.353317][ T4999] [ 55.355628][ T4999] Freed by task 4999: [ 55.359592][ T4999] kasan_save_stack+0x22/0x40 [ 55.364263][ T4999] kasan_set_track+0x25/0x30 [ 55.368854][ T4999] kasan_save_free_info+0x2e/0x40 [ 55.373875][ T4999] ____kasan_slab_free+0x160/0x1c0 [ 55.378986][ T4999] slab_free_freelist_hook+0x8b/0x1c0 [ 55.384350][ T4999] __kmem_cache_free+0xaf/0x2d0 [ 55.389194][ T4999] device_release+0xa3/0x240 [ 55.393780][ T4999] kobject_put+0x1c2/0x4d0 [ 55.398205][ T4999] put_device+0x1f/0x30 [ 55.402360][ T4999] hci_conn_del+0x1e5/0x950 [ 55.406865][ T4999] hci_conn_unlink+0x2ce/0x460 [ 55.411625][ T4999] hci_conn_unlink+0x362/0x460 [ 55.416384][ T4999] hci_conn_hash_flush+0x19b/0x270 [ 55.421499][ T4999] hci_dev_close_sync+0x5fb/0x1200 [ 55.426619][ T4999] hci_dev_do_close+0x31/0x70 [ 55.431286][ T4999] hci_unregister_dev+0x1ce/0x580 [ 55.436315][ T4999] vhci_release+0x80/0xf0 [ 55.440640][ T4999] __fput+0x27c/0xa90 [ 55.444623][ T4999] task_work_run+0x16f/0x270 [ 55.449203][ T4999] do_exit+0xad3/0x2960 [ 55.453351][ T4999] do_group_exit+0xd4/0x2a0 [ 55.457852][ T4999] __x64_sys_exit_group+0x3e/0x50 [ 55.462868][ T4999] do_syscall_64+0x39/0xb0 [ 55.467276][ T4999] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.473168][ T4999] [ 55.475483][ T4999] The buggy address belongs to the object at ffff88807dfcc000 [ 55.475483][ T4999] which belongs to the cache kmalloc-4k of size 4096 [ 55.489527][ T4999] The buggy address is located 0 bytes inside of [ 55.489527][ T4999] freed 4096-byte region [ffff88807dfcc000, ffff88807dfcd000) [ 55.503226][ T4999] [ 55.505538][ T4999] The buggy address belongs to the physical page: [ 55.511937][ T4999] page:ffffea0001f7f200 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7dfc8 [ 55.522079][ T4999] head:ffffea0001f7f200 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 55.531003][ T4999] anon flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 55.539413][ T4999] raw: 00fff00000010200 ffff888012442140 0000000000000000 dead000000000001 [ 55.547985][ T4999] raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 [ 55.556552][ T4999] page dumped because: kasan: bad access detected [ 55.562948][ T4999] page_owner tracks the page as allocated [ 55.568646][ T4999] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4462, tgid 4462 (udevd), ts 17857499357, free_ts 17843573034 [ 55.588608][ T4999] post_alloc_hook+0x2db/0x350 [ 55.593372][ T4999] get_page_from_freelist+0x1190/0x2e20 [ 55.598915][ T4999] __alloc_pages+0x1cb/0x4a0 [ 55.603504][ T4999] alloc_pages+0x1aa/0x270 [ 55.607915][ T4999] allocate_slab+0x25f/0x390 [ 55.612497][ T4999] ___slab_alloc+0xa91/0x1400 [ 55.617169][ T4999] __slab_alloc.constprop.0+0x56/0xa0 [ 55.622535][ T4999] __kmem_cache_alloc_node+0x136/0x320 [ 55.627989][ T4999] __kmalloc+0x4e/0x190 [ 55.632162][ T4999] tomoyo_realpath_from_path+0xc3/0x600 [ 55.637706][ T4999] tomoyo_check_open_permission+0x29a/0x3a0 [ 55.643598][ T4999] tomoyo_file_open+0xa1/0xc0 [ 55.648275][ T4999] security_file_open+0x49/0xb0 [ 55.653125][ T4999] do_dentry_open+0x575/0x13f0 [ 55.657880][ T4999] path_openat+0x1baa/0x2750 [ 55.662459][ T4999] do_filp_open+0x1ba/0x410 [ 55.666954][ T4999] page last free stack trace: [ 55.671613][ T4999] free_pcp_prepare+0x5da/0xa60 [ 55.676471][ T4999] free_unref_page+0x1d/0x490 [ 55.681146][ T4999] __unfreeze_partials+0x17c/0x1a0 [ 55.686250][ T4999] qlist_free_all+0x6a/0x170 [ 55.690843][ T4999] kasan_quarantine_reduce+0x195/0x220 [ 55.696302][ T4999] __kasan_slab_alloc+0x63/0x90 [ 55.701151][ T4999] kmem_cache_alloc+0x17c/0x3b0 [ 55.705994][ T4999] getname_flags.part.0+0x50/0x4f0 [ 55.711099][ T4999] getname+0x92/0xd0 [ 55.714983][ T4999] do_sys_openat2+0xf5/0x4c0 [ 55.719567][ T4999] __x64_sys_openat+0x143/0x1f0 [ 55.724411][ T4999] do_syscall_64+0x39/0xb0 [ 55.728825][ T4999] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.734724][ T4999] [ 55.737037][ T4999] Memory state around the buggy address: [ 55.742652][ T4999] ffff88807dfcbf00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 55.750714][ T4999] ffff88807dfcbf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 55.758765][ T4999] >ffff88807dfcc000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.766810][ T4999] ^ [ 55.770871][ T4999] ffff88807dfcc080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.778920][ T4999] ffff88807dfcc100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 55.786968][ T4999] ================================================================== [ 55.795389][ T4999] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 55.802595][ T4999] CPU: 0 PID: 4999 Comm: syz-executor200 Not tainted 6.3.0-syzkaller-07946-g281900a923d4 #0 [ 55.812669][ T4999] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 55.822718][ T4999] Call Trace: [ 55.825979][ T4999] [ 55.828910][ T4999] dump_stack_lvl+0xd9/0x150 [ 55.833486][ T4999] panic+0x688/0x730 [ 55.837368][ T4999] ? panic_smp_self_stop+0x90/0x90 [ 55.842466][ T4999] ? preempt_schedule_thunk+0x1a/0x20 [ 55.847826][ T4999] ? preempt_schedule_common+0x45/0xb0 [ 55.853271][ T4999] check_panic_on_warn+0xb1/0xc0 [ 55.858761][ T4999] end_report+0xe9/0x120 [ 55.862989][ T4999] ? hci_conn_hash_flush+0x244/0x270 [ 55.868260][ T4999] kasan_report+0xf9/0x130 [ 55.872661][ T4999] ? hci_conn_hash_flush+0x244/0x270 [ 55.877950][ T4999] hci_conn_hash_flush+0x244/0x270 [ 55.883048][ T4999] hci_dev_close_sync+0x5fb/0x1200 [ 55.888146][ T4999] ? hci_reset_sync+0x50/0x50 [ 55.892806][ T4999] ? __kmem_cache_free+0xaf/0x2d0 [ 55.897836][ T4999] hci_dev_do_close+0x31/0x70 [ 55.902510][ T4999] hci_unregister_dev+0x1ce/0x580 [ 55.907517][ T4999] vhci_release+0x80/0xf0 [ 55.911830][ T4999] __fput+0x27c/0xa90 [ 55.915797][ T4999] ? vhci_close_dev+0x50/0x50 [ 55.920459][ T4999] task_work_run+0x16f/0x270 [ 55.925035][ T4999] ? task_work_cancel+0x30/0x30 [ 55.929867][ T4999] do_exit+0xad3/0x2960 [ 55.934004][ T4999] ? preempt_schedule_thunk+0x1a/0x20 [ 55.939382][ T4999] ? mm_update_next_owner+0x7b0/0x7b0 [ 55.944740][ T4999] ? preempt_schedule_thunk+0x1a/0x20 [ 55.950102][ T4999] do_group_exit+0xd4/0x2a0 [ 55.954597][ T4999] __x64_sys_exit_group+0x3e/0x50 [ 55.959620][ T4999] do_syscall_64+0x39/0xb0 [ 55.964019][ T4999] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.969900][ T4999] RIP: 0033:0x7f5568f16be9 [ 55.974296][ T4999] Code: Unable to access opcode bytes at 0x7f5568f16bbf. [ 55.981295][ T4999] RSP: 002b:00007ffe94571018 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 55.989690][ T4999] RAX: ffffffffffffffda RBX: 00007f5568fa13b0 RCX: 00007f5568f16be9 [ 55.997642][ T4999] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 56.005592][ T4999] RBP: 0000000000000001 R08: ffffffffffffffb8 R09: 0000000000000010 [ 56.013543][ T4999] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5568fa13b0 [ 56.021493][ T4999] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 56.029448][ T4999] [ 56.032608][ T4999] Kernel Offset: disabled [ 56.036920][ T4999] Rebooting in 86400 seconds..