./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2790625760 <...> Warning: Permanently added '10.128.0.174' (ECDSA) to the list of known hosts. execve("./syz-executor2790625760", ["./syz-executor2790625760"], 0x7ffe970f4760 /* 10 vars */) = 0 brk(NULL) = 0x555555a43000 brk(0x555555a43c40) = 0x555555a43c40 arch_prctl(ARCH_SET_FS, 0x555555a43300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 set_tid_address(0x555555a435d0) = 3607 set_robust_list(0x555555a435e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7fa3d58bf830, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fa3d58bff00}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7fa3d58bf8d0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fa3d58bff00}, 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-executor2790625760", 4096) = 28 brk(0x555555a64c40) = 0x555555a64c40 brk(0x555555a65000) = 0x555555a65000 mprotect(0x7fa3d5981000, 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 3608 attached , child_tidptr=0x555555a435d0) = 3608 [pid 3608] set_robust_list(0x555555a435e0, 24) = 0 [pid 3608] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 3608] socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI) = 3 [pid 3608] openat(AT_FDCWD, "/dev/vhci", O_RDWR) = 4 [pid 3608] dup2(4, 202) = 202 [pid 3608] close(4) = 0 [pid 3608] read(202, "\xff\x00\x00\x00", 4) = 4 [pid 3608] mmap(NULL, 8392704, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fa3d50af000 [pid 3608] mprotect(0x7fa3d50b0000, 8388608, PROT_READ|PROT_WRITE) = 0 [pid 3608] clone(child_stack=0x7fa3d58af3f0, 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=0x7fa3d58af700, child_tidptr=0x7fa3d58af9d0) = 2 [pid 3608] ioctl(3, HCIDEVUP./strace-static-x86_64: Process 3611 attached [pid 3611] set_robust_list(0x7fa3d58af9e0, 24) = 0 [pid 3611] read(202, "\x01\x03\x0c\x00", 1024) = 4 [pid 3611] 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 3611] read(202, "\x01\x03\x10\x00", 1024) = 4 [pid 3611] 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 3611] read(202, "\x01\x01\x10\x00", 1024) = 4 [pid 3611] 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 3611] read(202, "\x01\x09\x10\x00", 1024) = 4 [pid 3611] 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 3611] read(202, "\x01\x05\x10\x00", 1024) = 4 [pid 3611] 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 3611] read(202, "\x01\x23\x0c\x00", 1024) = 4 [pid 3611] 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 3611] read(202, "\x01\x14\x0c\x00", 1024) = 4 [pid 3611] 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 3611] read(202, "\x01\x25\x0c\x00", 1024) = 4 [pid 3611] 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 3611] read(202, "\x01\x38\x0c\x00", 1024) = 4 [pid 3611] 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 syzkaller login: [ 50.676065][ T3612] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 50.684845][ T3612] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 50.693514][ T3612] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 50.704151][ T3612] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 50.712855][ T3612] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [pid 3611] read(202, "\x01\x39\x0c\x00", 1024) = 4 [pid 3611] 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 3611] read(202, "\x01\x16\x0c\x02\x00\x7d", 1024) = 6 [pid 3611] 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 3608] <... ioctl resumed>, 0) = -1 EALREADY (Operation already in progress) [pid 3611] read(202, [pid 3608] ioctl(3, HCISETSCAN [pid 3611] <... read resumed>"\x01\x1a\x0c\x01\x02", 1024) = 5 [pid 3611] 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 3608] <... ioctl resumed>, 0x7fff8a02d1a4) = 0 [pid 3608] 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 3608] 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 3608] 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 3608] 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 3608] futex(0x7fa3d58af9d0, FUTEX_WAIT, 2, NULL [pid 3611] <... writev resumed>) = 7 [pid 3611] madvise(0x7fa3d50af000, 8372224, MADV_DONTNEED) = 0 [pid 3611] exit(0) = ? [pid 3608] <... futex resumed>) = 0 [pid 3608] close(3) = 0 [pid 3608] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 3608] setsid() = 1 [pid 3608] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 3608] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 3608] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 3608] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 3608] prlimit64(0, RLIMIT_CORE, {rlim_cur=0, rlim_max=0}, NULL) = 0 [pid 3608] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 3608] unshare(CLONE_NEWNS) = 0 [pid 3608] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 3608] unshare(CLONE_NEWIPC) = 0 [pid 3608] unshare(CLONE_NEWCGROUP [pid 3611] +++ exited with 0 +++ [pid 3608] <... unshare resumed>) = 0 [pid 3608] unshare(CLONE_NEWUTS) = 0 [pid 3608] unshare(CLONE_SYSVSEM) = 0 [pid 3608] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 3608] write(3, "16777216", 8) = 8 [pid 3608] close(3) = 0 [pid 3608] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 3608] write(3, "536870912", 9) = 9 [pid 3608] close(3) = 0 [pid 3608] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 3608] write(3, "1024", 4) = 4 [pid 3608] close(3) = 0 [pid 3608] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 3608] write(3, "8192", 4) = 4 [pid 3608] close(3) = 0 [pid 3608] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 3608] write(3, "1024", 4) = 4 [pid 3608] close(3) = 0 [pid 3608] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 3608] write(3, "1024", 4) = 4 [pid 3608] close(3) = 0 [pid 3608] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 3608] write(3, "1024 1048576 500 1024", 21) = 21 [pid 3608] close(3) = 0 [pid 3608] getpid() = 1 [pid 3608] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< 2 [pid 3608] unshare(CLONE_NEWNET) = 0 [pid 3608] openat(AT_FDCWD, "/proc/sys/net/ipv4/ping_group_range", O_WRONLY|O_CLOEXEC) = 3 [pid 3608] write(3, "0 65535", 7) = 7 [pid 3608] close(3) = 0 [pid 3608] mkdir("/dev/binderfs", 0777) = 0 [pid 3608] mount("binder", "/dev/binderfs", "binder", 0, NULL) = 0 [pid 3608] symlink("/dev/binderfs", "./binderfs") = 0 [pid 3608] write(202, "\x04\x3e\x1d\x19\x00\xc9\x00\xa2\xfc\xc4\xd6\x6c\x2e\x1a\x21\x96\x83\x25\xa5\x00\x00\x00\x00\x00\x00\x00\xc3\x00\x06\x00\x00\x00", 32) = 32 [pid 3608] write(202, "\x04\x3e\x13\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 22) = 22 [pid 3608] exit_group(1) = ? [ 50.789493][ T3612] sysfs: cannot create duplicate filename '/devices/virtual/bluetooth/hci0/hci0:201' [ 50.799463][ T3612] CPU: 1 PID: 3612 Comm: kworker/u5:2 Not tainted 6.0.0-rc6-syzkaller-00045-gdc164f4fb00a #0 [ 50.809655][ T3612] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2022 [ 50.819726][ T3612] Workqueue: hci0 hci_rx_work [ 50.824421][ T3612] Call Trace: [ 50.827702][ T3612] [ 50.830630][ T3612] dump_stack_lvl+0xcd/0x134 [ 50.835222][ T3612] sysfs_warn_dup.cold+0x1c/0x29 [ 50.840157][ T3612] sysfs_create_dir_ns+0x233/0x290 [ 50.845264][ T3612] ? sysfs_create_mount_point+0xb0/0xb0 [ 50.850810][ T3612] ? rwlock_bug.part.0+0x90/0x90 [ 50.855751][ T3612] ? do_raw_spin_unlock+0x171/0x230 [ 50.860973][ T3612] kobject_add_internal+0x2c9/0x8f0 [ 50.866169][ T3612] ? kasan_quarantine_put+0x81/0x210 [ 50.871456][ T3612] kobject_add+0x150/0x1c0 [ 50.875867][ T3612] ? kset_create_and_add+0x1a0/0x1a0 [ 50.881150][ T3612] ? kfree_const+0x51/0x60 [ 50.885562][ T3612] ? kfree+0xe2/0x580 [ 50.889545][ T3612] ? rcu_read_lock_sched_held+0x3a/0x70 [ 50.895119][ T3612] device_add+0x368/0x1e90 [ 50.899561][ T3612] ? dev_set_name+0xbb/0xf0 [ 50.904079][ T3612] ? device_initialize+0x540/0x540 [ 50.909559][ T3612] ? __fw_devlink_link_to_suppliers+0x2d0/0x2d0 [ 50.915813][ T3612] ? hci_le_cis_estabilished_evt+0x1ee/0xae0 [ 50.921816][ T3612] ? lock_downgrade+0x6e0/0x6e0 [ 50.926662][ T3612] ? hci_event_packet+0x425/0xfd0 [ 50.931688][ T3612] hci_conn_add_sysfs+0x9b/0x1b0 [ 50.936646][ T3612] hci_le_cis_estabilished_evt+0x57c/0xae0 [ 50.942456][ T3612] ? hci_cc_le_set_random_addr+0x290/0x290 [ 50.948264][ T3612] ? wait_for_completion_io_timeout+0x20/0x20 [ 50.954437][ T3612] hci_le_meta_evt+0x2b8/0x510 [ 50.959395][ T3612] ? hci_cc_le_set_random_addr+0x290/0x290 [ 50.965211][ T3612] hci_event_packet+0x63d/0xfd0 [ 50.970084][ T3612] ? hci_conn_drop+0x2f0/0x2f0 [ 50.974852][ T3612] ? hci_cs_create_conn+0x3a0/0x3a0 [ 50.980042][ T3612] ? kcov_remote_start+0x156/0x7a0 [ 50.985165][ T3612] hci_rx_work+0xae7/0x1230 [ 50.989686][ T3612] process_one_work+0x991/0x1610 [ 50.994637][ T3612] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 51.000006][ T3612] ? rwlock_bug.part.0+0x90/0x90 [ 51.004936][ T3612] ? _raw_spin_lock_irq+0x41/0x50 [ 51.009961][ T3612] worker_thread+0x665/0x1080 [ 51.014641][ T3612] ? __kthread_parkme+0x15f/0x220 [ 51.019659][ T3612] ? process_one_work+0x1610/0x1610 [ 51.024856][ T3612] kthread+0x2e4/0x3a0 [ 51.028919][ T3612] ? kthread_complete_and_exit+0x40/0x40 [ 51.034546][ T3612] ret_from_fork+0x1f/0x30 [ 51.038968][ T3612] [ 51.042622][ T3612] kobject_add_internal failed for hci0:201 with -EEXIST, don't try to register things with the same name in the same directory. [ 51.055929][ T3612] Bluetooth: hci0: failed to register connection device [ 51.065315][ T3612] ================================================================== [ 51.073407][ T3612] BUG: KASAN: use-after-free in __list_add_valid+0xa5/0xb0 [ 51.080602][ T3612] Read of size 8 at addr ffff8881472e2868 by task kworker/u5:2/3612 [ 51.088566][ T3612] [ 51.090878][ T3612] CPU: 1 PID: 3612 Comm: kworker/u5:2 Not tainted 6.0.0-rc6-syzkaller-00045-gdc164f4fb00a #0 [ 51.101012][ T3612] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2022 [ 51.111060][ T3612] Workqueue: hci0 hci_rx_work [ 51.115736][ T3612] Call Trace: [ 51.119034][ T3612] [ 51.121957][ T3612] dump_stack_lvl+0xcd/0x134 [ 51.126546][ T3612] print_report.cold+0x2ba/0x719 [ 51.131480][ T3612] ? __list_add_valid+0xa5/0xb0 [ 51.136325][ T3612] kasan_report+0xb1/0x1e0 [ 51.140732][ T3612] ? __list_add_valid+0xa5/0xb0 [ 51.145576][ T3612] __list_add_valid+0xa5/0xb0 [ 51.150247][ T3612] klist_add_tail+0x158/0x2a0 [ 51.154946][ T3612] device_add+0xcc2/0x1e90 [ 51.159357][ T3612] ? device_initialize+0x540/0x540 [ 51.164457][ T3612] ? __fw_devlink_link_to_suppliers+0x2d0/0x2d0 [ 51.170697][ T3612] ? kfree_skbmem+0xef/0x1b0 [ 51.175303][ T3612] hci_conn_add_sysfs+0x9b/0x1b0 [ 51.180240][ T3612] le_conn_complete_evt+0xf04/0x1560 [ 51.185534][ T3612] ? lock_downgrade+0x6e0/0x6e0 [ 51.190383][ T3612] ? rcu_read_lock_sched_held+0x3a/0x70 [ 51.195924][ T3612] ? hci_auth_complete_evt+0xfe0/0xfe0 [ 51.201382][ T3612] ? __mutex_lock+0x231/0x1350 [ 51.206140][ T3612] ? kmem_cache_alloc+0x46/0x3b0 [ 51.211070][ T3612] hci_le_conn_complete_evt+0x238/0x340 [ 51.216609][ T3612] ? skb_pull_data+0xf7/0x130 [ 51.221278][ T3612] hci_le_meta_evt+0x2b8/0x510 [ 51.226046][ T3612] ? hci_le_enh_conn_complete_evt+0x350/0x350 [ 51.232114][ T3612] hci_event_packet+0x63d/0xfd0 [ 51.236956][ T3612] ? hci_conn_drop+0x2f0/0x2f0 [ 51.241740][ T3612] ? hci_cs_create_conn+0x3a0/0x3a0 [ 51.246927][ T3612] ? kcov_remote_start+0x156/0x7a0 [ 51.252038][ T3612] hci_rx_work+0xae7/0x1230 [ 51.256535][ T3612] process_one_work+0x991/0x1610 [ 51.261471][ T3612] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 51.266836][ T3612] ? rwlock_bug.part.0+0x90/0x90 [ 51.271767][ T3612] ? _raw_spin_lock_irq+0x41/0x50 [ 51.276786][ T3612] worker_thread+0x665/0x1080 [ 51.281456][ T3612] ? __kthread_parkme+0x15f/0x220 [ 51.286470][ T3612] ? process_one_work+0x1610/0x1610 [ 51.291660][ T3612] kthread+0x2e4/0x3a0 [ 51.295719][ T3612] ? kthread_complete_and_exit+0x40/0x40 [ 51.301428][ T3612] ret_from_fork+0x1f/0x30 [ 51.305843][ T3612] [ 51.308870][ T3612] [ 51.311180][ T3612] Allocated by task 3612: [ 51.315487][ T3612] kasan_save_stack+0x1e/0x40 [ 51.320155][ T3612] __kasan_kmalloc+0xa9/0xd0 [ 51.324732][ T3612] device_add+0x1168/0x1e90 [ 51.329667][ T3612] hci_conn_add_sysfs+0x9b/0x1b0 [ 51.334599][ T3612] le_conn_complete_evt+0xf04/0x1560 [ 51.339968][ T3612] hci_le_conn_complete_evt+0x238/0x340 [ 51.345500][ T3612] hci_le_meta_evt+0x2b8/0x510 [ 51.350275][ T3612] hci_event_packet+0x63d/0xfd0 [ 51.355209][ T3612] hci_rx_work+0xae7/0x1230 [ 51.359797][ T3612] process_one_work+0x991/0x1610 [ 51.364740][ T3612] worker_thread+0x665/0x1080 [ 51.369415][ T3612] kthread+0x2e4/0x3a0 [ 51.373485][ T3612] ret_from_fork+0x1f/0x30 [ 51.377922][ T3612] [ 51.380244][ T3612] Freed by task 3612: [ 51.384211][ T3612] kasan_save_stack+0x1e/0x40 [ 51.388886][ T3612] kasan_set_track+0x21/0x30 [ 51.393465][ T3612] kasan_set_free_info+0x20/0x30 [ 51.398391][ T3612] ____kasan_slab_free+0x166/0x1c0 [ 51.403491][ T3612] slab_free_freelist_hook+0x8b/0x1c0 [ 51.408852][ T3612] kfree+0xe2/0x580 [ 51.412651][ T3612] device_add+0x453/0x1e90 [ 51.417061][ T3612] hci_conn_add_sysfs+0x9b/0x1b0 [ 51.422160][ T3612] hci_le_cis_estabilished_evt+0x57c/0xae0 [ 51.427957][ T3612] hci_le_meta_evt+0x2b8/0x510 [ 51.432716][ T3612] hci_event_packet+0x63d/0xfd0 [ 51.437559][ T3612] hci_rx_work+0xae7/0x1230 [ 51.442050][ T3612] process_one_work+0x991/0x1610 [ 51.446978][ T3612] worker_thread+0x665/0x1080 [ 51.451646][ T3612] kthread+0x2e4/0x3a0 [ 51.455702][ T3612] ret_from_fork+0x1f/0x30 [ 51.460108][ T3612] [ 51.462413][ T3612] The buggy address belongs to the object at ffff8881472e2800 [ 51.462413][ T3612] which belongs to the cache kmalloc-512 of size 512 [ 51.476632][ T3612] The buggy address is located 104 bytes inside of [ 51.476632][ T3612] 512-byte region [ffff8881472e2800, ffff8881472e2a00) [ 51.489901][ T3612] [ 51.492209][ T3612] The buggy address belongs to the physical page: [ 51.498602][ T3612] page:ffffea00051cb800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1472e0 [ 51.508830][ T3612] head:ffffea00051cb800 order:2 compound_mapcount:0 compound_pincount:0 [ 51.517141][ T3612] flags: 0x57ff00000010200(slab|head|node=1|zone=2|lastcpupid=0x7ff) [ 51.525202][ T3612] raw: 057ff00000010200 0000000000000000 dead000000000001 ffff888011841c80 [ 51.533777][ T3612] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 51.542352][ T3612] page dumped because: kasan: bad access detected [ 51.548750][ T3612] page_owner tracks the page as allocated [ 51.554451][ T3612] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 7377691624, free_ts 0 [ 51.574588][ T3612] get_page_from_freelist+0x109b/0x2ce0 [ 51.580222][ T3612] __alloc_pages+0x1c7/0x510 [ 51.584803][ T3612] alloc_page_interleave+0x1e/0x200 [ 51.590008][ T3612] alloc_pages+0x22f/0x270 [ 51.594412][ T3612] allocate_slab+0x27e/0x3d0 [ 51.598997][ T3612] ___slab_alloc+0x7f1/0xe10 [ 51.603573][ T3612] __slab_alloc.constprop.0+0x4d/0xa0 [ 51.608933][ T3612] kmem_cache_alloc_trace+0x323/0x3e0 [ 51.614298][ T3612] device_add+0x1168/0x1e90 [ 51.618788][ T3612] tty_register_device_attr+0x38e/0x7a0 [ 51.624320][ T3612] tty_register_driver+0x428/0x800 [ 51.629419][ T3612] pty_init+0x67a/0xdfc [ 51.633560][ T3612] do_one_initcall+0xfe/0x650 [ 51.638225][ T3612] kernel_init_freeable+0x6b1/0x73a [ 51.643415][ T3612] kernel_init+0x1a/0x1d0 [ 51.647733][ T3612] ret_from_fork+0x1f/0x30 [ 51.652183][ T3612] page_owner free stack trace missing [ 51.657534][ T3612] [ 51.659843][ T3612] Memory state around the buggy address: [ 51.665453][ T3612] ffff8881472e2700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.673504][ T3612] ffff8881472e2780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.681564][ T3612] >ffff8881472e2800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 51.689619][ T3612] ^ [ 51.697068][ T3612] ffff8881472e2880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 51.705122][ T3612] ffff8881472e2900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 51.713169][ T3612] ================================================================== [ 51.721380][ T3612] Kernel panic - not syncing: panic_on_warn set ... [ 51.727984][ T3612] CPU: 1 PID: 3612 Comm: kworker/u5:2 Not tainted 6.0.0-rc6-syzkaller-00045-gdc164f4fb00a #0 [ 51.738145][ T3612] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2022 [ 51.748207][ T3612] Workqueue: hci0 hci_rx_work [ 51.752897][ T3612] Call Trace: [ 51.756173][ T3612] [ 51.759102][ T3612] dump_stack_lvl+0xcd/0x134 [ 51.763707][ T3612] panic+0x2c8/0x627 [ 51.767609][ T3612] ? panic_print_sys_info.part.0+0x10b/0x10b [ 51.773604][ T3612] ? __list_add_valid+0xa5/0xb0 [ 51.778462][ T3612] end_report.part.0+0x3f/0x7c [ 51.783240][ T3612] kasan_report.cold+0xa/0xf [ 51.787839][ T3612] ? __list_add_valid+0xa5/0xb0 [ 51.792696][ T3612] __list_add_valid+0xa5/0xb0 [ 51.797380][ T3612] klist_add_tail+0x158/0x2a0 [ 51.802069][ T3612] device_add+0xcc2/0x1e90 [ 51.806495][ T3612] ? device_initialize+0x540/0x540 [ 51.811616][ T3612] ? __fw_devlink_link_to_suppliers+0x2d0/0x2d0 [ 51.817867][ T3612] ? kfree_skbmem+0xef/0x1b0 [ 51.822568][ T3612] hci_conn_add_sysfs+0x9b/0x1b0 [ 51.827517][ T3612] le_conn_complete_evt+0xf04/0x1560 [ 51.832819][ T3612] ? lock_downgrade+0x6e0/0x6e0 [ 51.837677][ T3612] ? rcu_read_lock_sched_held+0x3a/0x70 [ 51.843229][ T3612] ? hci_auth_complete_evt+0xfe0/0xfe0 [ 51.848697][ T3612] ? __mutex_lock+0x231/0x1350 [ 51.853470][ T3612] ? kmem_cache_alloc+0x46/0x3b0 [ 51.858415][ T3612] hci_le_conn_complete_evt+0x238/0x340 [ 51.863972][ T3612] ? skb_pull_data+0xf7/0x130 [ 51.868654][ T3612] hci_le_meta_evt+0x2b8/0x510 [ 51.873428][ T3612] ? hci_le_enh_conn_complete_evt+0x350/0x350 [ 51.879510][ T3612] hci_event_packet+0x63d/0xfd0 [ 51.884366][ T3612] ? hci_conn_drop+0x2f0/0x2f0 [ 51.889136][ T3612] ? hci_cs_create_conn+0x3a0/0x3a0 [ 51.894341][ T3612] ? kcov_remote_start+0x156/0x7a0 [ 51.899465][ T3612] hci_rx_work+0xae7/0x1230 [ 51.903983][ T3612] process_one_work+0x991/0x1610 [ 51.908940][ T3612] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 51.914324][ T3612] ? rwlock_bug.part.0+0x90/0x90 [ 51.919266][ T3612] ? _raw_spin_lock_irq+0x41/0x50 [ 51.924297][ T3612] worker_thread+0x665/0x1080 [ 51.928997][ T3612] ? __kthread_parkme+0x15f/0x220 [ 51.934026][ T3612] ? process_one_work+0x1610/0x1610 [ 51.939238][ T3612] kthread+0x2e4/0x3a0 [ 51.943309][ T3612] ? kthread_complete_and_exit+0x40/0x40 [ 51.948976][ T3612] ret_from_fork+0x1f/0x30 [ 51.953449][ T3612] [ 51.956675][ T3612] Kernel Offset: disabled [ 51.960997][ T3612] Rebooting in 86400 seconds..