./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor4136189065 <...> DUID 00:04:8a:84:28:17:ce:93:6d:14:d5:a0:40:fa:67:36:71:42 forked to background, child pid 4667 [ 32.905258][ T4668] 8021q: adding VLAN 0 to HW filter on device bond0 [ 32.915705][ T4668] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.80' (ECDSA) to the list of known hosts. execve("./syz-executor4136189065", ["./syz-executor4136189065"], 0x7fff5fe93690 /* 10 vars */) = 0 brk(NULL) = 0x555556847000 brk(0x555556847c40) = 0x555556847c40 arch_prctl(ARCH_SET_FS, 0x555556847300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 set_tid_address(0x5555568475d0) = 4998 set_robust_list(0x5555568475e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f2e36458dc0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f2e36459490}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f2e36458e60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f2e36459490}, 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-executor4136189065", 4096) = 28 brk(0x555556868c40) = 0x555556868c40 brk(0x555556869000) = 0x555556869000 mprotect(0x7f2e3651a000, 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=0x5555568475d0) = 4999 [pid 4999] set_robust_list(0x5555568475e0, 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) = 0x7f2e35c48000 [pid 4999] mprotect(0x7f2e35c49000, 8388608, PROT_READ|PROT_WRITE) = 0 [pid 4999] clone(child_stack=0x7f2e364483f0, 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=0x7f2e36448700, child_tidptr=0x7f2e364489d0) = 2 [pid 4999] ioctl(3, HCIDEVUP./strace-static-x86_64: Process 5002 attached [pid 5002] set_robust_list(0x7f2e364489e0, 24) = 0 [pid 5002] read(202, "\x01\x03\x0c\x00", 1024) = 4 [pid 5002] 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 5002] read(202, "\x01\x03\x10\x00", 1024) = 4 [pid 5002] 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 5002] read(202, "\x01\x01\x10\x00", 1024) = 4 [pid 5002] 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 5002] read(202, "\x01\x09\x10\x00", 1024) = 4 [pid 5002] 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 5002] read(202, "\x01\x05\x10\x00", 1024) = 4 [pid 5002] 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 5002] read(202, "\x01\x23\x0c\x00", 1024) = 4 [pid 5002] 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 5002] read(202, "\x01\x14\x0c\x00", 1024) = 4 [pid 5002] 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 5002] read(202, "\x01\x25\x0c\x00", 1024) = 4 [pid 5002] 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 syzkaller login: [ 68.731304][ T5001] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 68.740421][ T5001] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 68.749090][ T5001] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 68.761507][ T5001] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 68.770725][ T48] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [pid 5002] read(202, "\x01\x38\x0c\x00", 1024) = 4 [pid 5002] 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 5002] read(202, "\x01\x39\x0c\x00", 1024) = 4 [pid 5002] 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 5002] read(202, "\x01\x16\x0c\x02\x00\x7d", 1024) = 6 [pid 5002] 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 5002] read(202, [pid 4999] ioctl(3, HCISETSCAN [pid 5002] <... read resumed>"\x01\x1a\x0c\x01\x02", 1024) = 5 [pid 5002] 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>, 0x7ffc15029a50) = 0 [pid 5002] madvise(0x7f2e35c48000, 8372224, MADV_DONTNEED [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 5002] <... madvise resumed>) = 0 [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 [pid 5002] exit(0) = ? [pid 4999] <... writev resumed>) = 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 [pid 5002] +++ exited with 0 +++ [pid 4999] <... writev resumed>) = 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] 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 [ 68.779303][ T48] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [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 [pid 4999] close(3) = 0 [pid 4999] getpid() = 1 [pid 4999] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [pid 5004] set_robust_list(0x7f2e35c479e0, 24) = 0 [pid 5004] futex(0x7f2e36520408, FUTEX_WAIT_PRIVATE, 0, NULL [pid 4999] <... clone resumed>, parent_tid=[3], tls=0x7f2e35c47700, child_tidptr=0x7f2e35c479d0) = 3 [pid 4999] futex(0x7f2e36520408, FUTEX_WAKE_PRIVATE, 1000000 [pid 5004] <... futex resumed>) = 0 [pid 4999] <... futex resumed>) = 1 [pid 5004] openat(AT_FDCWD, "/proc/self/ns/net", O_RDONLY [pid 4999] futex(0x7f2e3652040c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5004] <... openat resumed>) = 3 [pid 5004] setns(201, 0) = 0 [pid 5004] socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_SCO) = 4 [pid 5004] setns(3, 0) = 0 [pid 5004] close(3) = 0 [pid 5004] futex(0x7f2e3652040c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 4999] <... futex resumed>) = 0 [pid 4999] futex(0x7f2e36520408, FUTEX_WAKE_PRIVATE, 1000000 [pid 5004] connect(4, {sa_family=AF_BLUETOOTH, sco_bdaddr=aa:aa:aa:aa:aa:00}, 8 [pid 4999] <... futex resumed>) = 0 [pid 4999] futex(0x7f2e3652040c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 4999] futex(0x7f2e3652041c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 4999] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f2e35c06000 [pid 4999] mprotect(0x7f2e35c07000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 4999] clone(child_stack=0x7f2e35c263f0, 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 5005 attached , parent_tid=[4], tls=0x7f2e35c26700, child_tidptr=0x7f2e35c269d0) = 4 [pid 4999] futex(0x7f2e36520418, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 4999] futex(0x7f2e3652041c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=550000000} [pid 5005] set_robust_list(0x7f2e35c269e0, 24) = 0 [pid 5005] 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 5005] futex(0x7f2e3652041c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 4999] <... futex resumed>) = 0 [pid 4999] futex(0x7f2e36520418, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 4999] futex(0x7f2e3652041c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=550000000} [pid 5005] bpf(BPF_RAW_TRACEPOINT_OPEN, {raw_tracepoint={name="percpu_alloc_percpu", prog_fd=3}}, 16) = 5 [pid 5005] futex(0x7f2e3652041c, FUTEX_WAKE_PRIVATE, 1000000 [pid 4999] <... futex resumed>) = 0 [pid 5005] <... futex resumed>) = 1 [pid 5005] futex(0x7f2e36520418, FUTEX_WAIT_PRIVATE, 0, NULL [pid 4999] exit_group(1 [pid 5005] <... futex resumed>) = ? [pid 5004] <... connect resumed>) = ? [pid 4999] <... exit_group resumed>) = ? [pid 5005] +++ exited with 1 +++ [pid 5004] +++ exited with 1 +++ [ 69.101651][ T4999] ================================================================== [ 69.109730][ T4999] BUG: KASAN: slab-use-after-free in hci_conn_hash_flush+0x244/0x270 [ 69.117812][ T4999] Read of size 8 at addr ffff888015f96000 by task syz-executor413/4999 [ 69.126043][ T4999] [ 69.128366][ T4999] CPU: 0 PID: 4999 Comm: syz-executor413 Not tainted 6.3.0-syzkaller-07921-g042334a8d424 #0 [ 69.138508][ T4999] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 69.148550][ T4999] Call Trace: [ 69.151820][ T4999] [ 69.154740][ T4999] dump_stack_lvl+0xd9/0x150 [ 69.159331][ T4999] print_address_description.constprop.0+0x2c/0x3c0 [ 69.165947][ T4999] ? hci_conn_hash_flush+0x244/0x270 [ 69.171247][ T4999] kasan_report+0x11c/0x130 [ 69.175755][ T4999] ? hci_conn_hash_flush+0x244/0x270 [ 69.181058][ T4999] hci_conn_hash_flush+0x244/0x270 [ 69.186268][ T4999] hci_dev_close_sync+0x5fb/0x1200 [ 69.191398][ T4999] ? hci_reset_sync+0x50/0x50 [ 69.196071][ T4999] ? __kmem_cache_free+0xaf/0x2d0 [ 69.201090][ T4999] hci_dev_do_close+0x31/0x70 [ 69.205767][ T4999] hci_unregister_dev+0x1ce/0x580 [ 69.210820][ T4999] vhci_release+0x80/0xf0 [ 69.215187][ T4999] __fput+0x27c/0xa90 [ 69.219302][ T4999] ? vhci_close_dev+0x50/0x50 [ 69.224093][ T4999] task_work_run+0x16f/0x270 [ 69.228709][ T4999] ? task_work_cancel+0x30/0x30 [ 69.233578][ T4999] do_exit+0xad3/0x2960 [ 69.237750][ T4999] ? preempt_schedule_thunk+0x1a/0x20 [ 69.243174][ T4999] ? mm_update_next_owner+0x7b0/0x7b0 [ 69.248882][ T4999] ? preempt_schedule_thunk+0x1a/0x20 [ 69.254531][ T4999] do_group_exit+0xd4/0x2a0 [ 69.259051][ T4999] __x64_sys_exit_group+0x3e/0x50 [ 69.264170][ T4999] do_syscall_64+0x39/0xb0 [ 69.268616][ T4999] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.274623][ T4999] RIP: 0033:0x7f2e36495be9 [ 69.279044][ T4999] Code: Unable to access opcode bytes at 0x7f2e36495bbf. [ 69.286076][ T4999] RSP: 002b:00007ffc150299b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 69.294520][ T4999] RAX: ffffffffffffffda RBX: 00007f2e365203b0 RCX: 00007f2e36495be9 [ 69.302488][ T4999] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 69.310462][ T4999] RBP: 0000000000000001 R08: ffffffffffffffb8 R09: 0000000000000010 [ 69.318428][ T4999] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2e365203b0 [ 69.326391][ T4999] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 69.334384][ T4999] [ 69.337398][ T4999] [ 69.339715][ T4999] Allocated by task 5004: [ 69.344036][ T4999] kasan_save_stack+0x22/0x40 [ 69.348823][ T4999] kasan_set_track+0x25/0x30 [ 69.353423][ T4999] __kasan_kmalloc+0xa2/0xb0 [ 69.358010][ T4999] hci_conn_add+0xb8/0x16b0 [ 69.362514][ T4999] hci_connect_sco+0x3c7/0x1050 [ 69.367356][ T4999] sco_sock_connect+0x2d7/0xae0 [ 69.372201][ T4999] __sys_connect_file+0x153/0x1a0 [ 69.377218][ T4999] __sys_connect+0x165/0x1a0 [ 69.381807][ T4999] __x64_sys_connect+0x73/0xb0 [ 69.386562][ T4999] do_syscall_64+0x39/0xb0 [ 69.390967][ T4999] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.396854][ T4999] [ 69.399167][ T4999] Freed by task 4999: [ 69.403131][ T4999] kasan_save_stack+0x22/0x40 [ 69.407824][ T4999] kasan_set_track+0x25/0x30 [ 69.412409][ T4999] kasan_save_free_info+0x2e/0x40 [ 69.417430][ T4999] ____kasan_slab_free+0x160/0x1c0 [ 69.422726][ T4999] slab_free_freelist_hook+0x8b/0x1c0 [ 69.428138][ T4999] __kmem_cache_free+0xaf/0x2d0 [ 69.432995][ T4999] device_release+0xa3/0x240 [ 69.437595][ T4999] kobject_put+0x1c2/0x4d0 [ 69.442013][ T4999] put_device+0x1f/0x30 [ 69.446246][ T4999] hci_conn_del+0x1e5/0x950 [ 69.450743][ T4999] hci_conn_unlink+0x2ce/0x460 [ 69.455586][ T4999] hci_conn_unlink+0x362/0x460 [ 69.460361][ T4999] hci_conn_hash_flush+0x19b/0x270 [ 69.465477][ T4999] hci_dev_close_sync+0x5fb/0x1200 [ 69.470585][ T4999] hci_dev_do_close+0x31/0x70 [ 69.475249][ T4999] hci_unregister_dev+0x1ce/0x580 [ 69.480267][ T4999] vhci_release+0x80/0xf0 [ 69.484590][ T4999] __fput+0x27c/0xa90 [ 69.488565][ T4999] task_work_run+0x16f/0x270 [ 69.493168][ T4999] do_exit+0xad3/0x2960 [ 69.497311][ T4999] do_group_exit+0xd4/0x2a0 [ 69.501802][ T4999] __x64_sys_exit_group+0x3e/0x50 [ 69.506820][ T4999] do_syscall_64+0x39/0xb0 [ 69.511232][ T4999] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.517149][ T4999] [ 69.519462][ T4999] The buggy address belongs to the object at ffff888015f96000 [ 69.519462][ T4999] which belongs to the cache kmalloc-4k of size 4096 [ 69.533594][ T4999] The buggy address is located 0 bytes inside of [ 69.533594][ T4999] freed 4096-byte region [ffff888015f96000, ffff888015f97000) [ 69.547295][ T4999] [ 69.549608][ T4999] The buggy address belongs to the physical page: [ 69.556007][ T4999] page:ffffea000057e400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x15f90 [ 69.566160][ T4999] head:ffffea000057e400 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 69.575083][ T4999] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 69.583060][ T4999] raw: 00fff00000010200 ffff888012442140 dead000000000122 0000000000000000 [ 69.591635][ T4999] raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 [ 69.600247][ T4999] page dumped because: kasan: bad access detected [ 69.606648][ T4999] page_owner tracks the page as allocated [ 69.612371][ T4999] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5004, tgid 4999 (syz-executor413), ts 68877816145, free_ts 62956311189 [ 69.633376][ T4999] post_alloc_hook+0x2db/0x350 [ 69.638141][ T4999] get_page_from_freelist+0x1190/0x2e20 [ 69.643688][ T4999] __alloc_pages+0x1cb/0x4a0 [ 69.648274][ T4999] alloc_pages+0x1aa/0x270 [ 69.652706][ T4999] allocate_slab+0x25f/0x390 [ 69.657299][ T4999] ___slab_alloc+0xa91/0x1400 [ 69.661985][ T4999] __slab_alloc.constprop.0+0x56/0xa0 [ 69.667369][ T4999] __kmem_cache_alloc_node+0x136/0x320 [ 69.672838][ T4999] __kmalloc+0x4e/0x190 [ 69.677003][ T4999] tomoyo_realpath_from_path+0xc3/0x600 [ 69.682566][ T4999] tomoyo_check_open_permission+0x29a/0x3a0 [ 69.688464][ T4999] tomoyo_file_open+0xa1/0xc0 [ 69.693157][ T4999] security_file_open+0x49/0xb0 [ 69.698025][ T4999] do_dentry_open+0x575/0x13f0 [ 69.703052][ T4999] path_openat+0x1baa/0x2750 [ 69.707654][ T4999] do_filp_open+0x1ba/0x410 [ 69.712334][ T4999] page last free stack trace: [ 69.716996][ T4999] free_pcp_prepare+0x5da/0xa60 [ 69.722313][ T4999] free_unref_page+0x1d/0x490 [ 69.727104][ T4999] __folio_put+0x109/0x140 [ 69.731696][ T4999] skb_release_data+0x537/0x820 [ 69.736568][ T4999] napi_consume_skb+0x158/0x2a0 [ 69.741593][ T4999] net_rx_action+0x34a/0xcb0 [ 69.746453][ T4999] __do_softirq+0x1d4/0x905 [ 69.750977][ T4999] [ 69.753290][ T4999] Memory state around the buggy address: [ 69.758913][ T4999] ffff888015f95f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 69.766967][ T4999] ffff888015f95f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 69.775019][ T4999] >ffff888015f96000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.783067][ T4999] ^ [ 69.787140][ T4999] ffff888015f96080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.795193][ T4999] ffff888015f96100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 69.803293][ T4999] ================================================================== [ 69.814389][ T4999] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 69.821615][ T4999] CPU: 0 PID: 4999 Comm: syz-executor413 Not tainted 6.3.0-syzkaller-07921-g042334a8d424 #0 [ 69.831713][ T4999] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 69.841778][ T4999] Call Trace: [ 69.845079][ T4999] [ 69.848005][ T4999] dump_stack_lvl+0xd9/0x150 [ 69.852622][ T4999] panic+0x688/0x730 [ 69.856517][ T4999] ? panic_smp_self_stop+0x90/0x90 [ 69.861734][ T4999] ? preempt_schedule_thunk+0x1a/0x20 [ 69.867116][ T4999] ? preempt_schedule_common+0x45/0xb0 [ 69.872582][ T4999] check_panic_on_warn+0xb1/0xc0 [ 69.877524][ T4999] end_report+0xe9/0x120 [ 69.881779][ T4999] ? hci_conn_hash_flush+0x244/0x270 [ 69.887091][ T4999] kasan_report+0xf9/0x130 [ 69.891594][ T4999] ? hci_conn_hash_flush+0x244/0x270 [ 69.896948][ T4999] hci_conn_hash_flush+0x244/0x270 [ 69.902107][ T4999] hci_dev_close_sync+0x5fb/0x1200 [ 69.907462][ T4999] ? hci_reset_sync+0x50/0x50 [ 69.912252][ T4999] ? __kmem_cache_free+0xaf/0x2d0 [ 69.917618][ T4999] hci_dev_do_close+0x31/0x70 [ 69.922709][ T4999] hci_unregister_dev+0x1ce/0x580 [ 69.927939][ T4999] vhci_release+0x80/0xf0 [ 69.932386][ T4999] __fput+0x27c/0xa90 [ 69.936506][ T4999] ? vhci_close_dev+0x50/0x50 [ 69.941189][ T4999] task_work_run+0x16f/0x270 [ 69.945789][ T4999] ? task_work_cancel+0x30/0x30 [ 69.950664][ T4999] do_exit+0xad3/0x2960 [ 69.954834][ T4999] ? preempt_schedule_thunk+0x1a/0x20 [ 69.960207][ T4999] ? mm_update_next_owner+0x7b0/0x7b0 [ 69.965573][ T4999] ? preempt_schedule_thunk+0x1a/0x20 [ 69.970965][ T4999] do_group_exit+0xd4/0x2a0 [ 69.975476][ T4999] __x64_sys_exit_group+0x3e/0x50 [ 69.980507][ T4999] do_syscall_64+0x39/0xb0 [ 69.984923][ T4999] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.990823][ T4999] RIP: 0033:0x7f2e36495be9 [ 69.995224][ T4999] Code: Unable to access opcode bytes at 0x7f2e36495bbf. [ 70.002266][ T4999] RSP: 002b:00007ffc150299b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 70.010945][ T4999] RAX: ffffffffffffffda RBX: 00007f2e365203b0 RCX: 00007f2e36495be9 [ 70.018933][ T4999] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001 [ 70.026897][ T4999] RBP: 0000000000000001 R08: ffffffffffffffb8 R09: 0000000000000010 [ 70.034885][ T4999] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2e365203b0 [ 70.042861][ T4999] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 70.050948][ T4999] [ 70.054186][ T4999] Kernel Offset: disabled [ 70.058650][ T4999] Rebooting in 86400 seconds..