./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2464009823 <...> Warning: Permanently added '10.128.0.132' (ED25519) to the list of known hosts. execve("./syz-executor2464009823", ["./syz-executor2464009823"], 0x7fff30dbfda0 /* 10 vars */) = 0 brk(NULL) = 0x555555e66000 brk(0x555555e66d40) = 0x555555e66d40 arch_prctl(ARCH_SET_FS, 0x555555e663c0) = 0 set_tid_address(0x555555e66690) = 5073 set_robust_list(0x555555e666a0, 24) = 0 rseq(0x555555e66ce0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2464009823", 4096) = 28 getrandom("\xc5\x9e\x46\x4a\x11\x67\xf1\x39", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555555e66d40 brk(0x555555e87d40) = 0x555555e87d40 brk(0x555555e88000) = 0x555555e88000 mprotect(0x7f498de8c000, 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 5074 attached , child_tidptr=0x555555e66690) = 5074 [pid 5074] set_robust_list(0x555555e666a0, 24) = 0 [pid 5074] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 5074] socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI) = 3 [pid 5074] openat(AT_FDCWD, "/dev/vhci", O_RDWR) = 4 [pid 5074] dup2(4, 202) = 202 [pid 5074] close(4) = 0 [pid 5074] write(202, "\xff\x00", 2) = 2 [pid 5074] read(202, "\xff\x00\x00\x00", 4) = 4 [pid 5074] rt_sigaction(SIGRT_1, {sa_handler=0x7f498de2e440, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f498de1fac0}, NULL, 8) = 0 [pid 5074] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5074] mmap(NULL, 8392704, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f498d5c9000 [pid 5074] mprotect(0x7f498d5ca000, 8388608, PROT_READ|PROT_WRITE) = 0 [pid 5074] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5074] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f498ddc9990, parent_tid=0x7f498ddc9990, exit_signal=0, stack=0x7f498d5c9000, stack_size=0x800300, tls=0x7f498ddc96c0}./strace-static-x86_64: Process 5077 attached [pid 5077] rseq(0x7f498ddc9fe0, 0x20, 0, 0x53053053 [pid 5074] <... clone3 resumed> => {parent_tid=[2]}, 88) = 2 [pid 5077] <... rseq resumed>) = 0 [pid 5074] rt_sigprocmask(SIG_SETMASK, [], [pid 5077] set_robust_list(0x7f498ddc99a0, 24 [pid 5074] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5077] <... set_robust_list resumed>) = 0 [pid 5077] rt_sigprocmask(SIG_SETMASK, [], [pid 5074] ioctl(3, HCIDEVUP [pid 5077] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5077] read(202, "\x01\x03\x0c\x00", 1024) = 4 [pid 5077] 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 5077] read(202, "\x01\x03\x10\x00", 1024) = 4 [pid 5077] 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 5077] read(202, "\x01\x01\x10\x00", 1024) = 4 [pid 5077] 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 5077] read(202, "\x01\x09\x10\x00", 1024) = 4 [pid 5077] 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 5077] read(202, "\x01\x05\x10\x00", 1024) = 4 [pid 5077] 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 5077] read(202, "\x01\x23\x0c\x00", 1024) = 4 [ 72.841227][ T50] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 72.852009][ T50] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 72.870609][ T50] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [pid 5077] 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 5077] read(202, "\x01\x14\x0c\x00", 1024) = 4 [pid 5077] 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 5077] read(202, "\x01\x25\x0c\x00", 1024) = 4 [ 72.920403][ T50] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [pid 5077] 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 5077] read(202, "\x01\x38\x0c\x00", 1024) = 4 [pid 5077] 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 5077] read(202, "\x01\x39\x0c\x00", 1024) = 4 [pid 5077] 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 5077] read(202, "\x01\x16\x0c\x02\x00\x7d", 1024) = 6 [pid 5077] 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 5074] <... ioctl resumed>, 0) = -1 EALREADY (Operation already in progress) [pid 5077] read(202, [pid 5074] ioctl(3, HCISETSCAN [pid 5077] <... read resumed>"\x01\x1a\x0c\x01\x02", 1024) = 5 [pid 5077] 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 [ 72.962502][ T50] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 72.983673][ T50] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [pid 5077] rt_sigprocmask(SIG_BLOCK, ~[RT_1], [pid 5074] <... ioctl resumed>, 0x7ffebbf1f504) = 0 [pid 5077] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5074] 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 5077] madvise(0x7f498d5c9000, 8372224, MADV_DONTNEED [pid 5074] <... writev resumed>) = 13 [pid 5074] 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 5077] <... madvise resumed>) = 0 [pid 5074] 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 5077] exit(0 [pid 5074] <... writev resumed>) = 14 [pid 5077] <... exit resumed>) = ? [pid 5077] +++ exited with 0 +++ [pid 5074] 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 5074] close(3) = 0 [pid 5074] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5074] setsid() = 1 [pid 5074] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5074] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5074] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5074] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5074] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5074] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5074] unshare(CLONE_NEWNS) = 0 [pid 5074] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5074] unshare(CLONE_NEWIPC) = 0 [pid 5074] unshare(CLONE_NEWCGROUP) = 0 [pid 5074] unshare(CLONE_NEWUTS) = 0 [pid 5074] unshare(CLONE_SYSVSEM) = 0 [pid 5074] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5074] write(3, "16777216", 8) = 8 [pid 5074] close(3) = 0 [pid 5074] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5074] write(3, "536870912", 9) = 9 [pid 5074] close(3) = 0 [pid 5074] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5074] write(3, "1024", 4) = 4 [pid 5074] close(3) = 0 [pid 5074] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5074] write(3, "8192", 4) = 4 [pid 5074] close(3) = 0 [pid 5074] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5074] write(3, "1024", 4) = 4 [pid 5074] close(3) = 0 [pid 5074] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5074] write(3, "1024", 4) = 4 [pid 5074] close(3) = 0 [pid 5074] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5074] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5074] close(3) = 0 [pid 5074] getpid() = 1 [pid 5074] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1<tx_work)){+.+.}-{0:0}, at: __flush_work+0xfa/0xa10 [ 73.438101][ T5074] [ 73.438101][ T5074] but task is already holding lock: [ 73.445472][ T5074] ffff888075e49108 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 [ 73.454648][ T5074] [ 73.454648][ T5074] which lock already depends on the new lock. [ 73.454648][ T5074] [ 73.465054][ T5074] [ 73.465054][ T5074] the existing dependency chain (in reverse order) is: [ 73.474162][ T5074] [ 73.474162][ T5074] -> #3 (&hdev->req_lock){+.+.}-{3:3}: [ 73.481836][ T5074] __mutex_lock+0x175/0x9d0 [ 73.486888][ T5074] hci_dev_do_close+0x26/0x90 [ 73.492105][ T5074] hci_rfkill_set_block+0x1b9/0x200 [ 73.497849][ T5074] rfkill_set_block+0x200/0x550 [ 73.503238][ T5074] rfkill_fop_write+0x2d4/0x570 [ 73.508629][ T5074] vfs_write+0x2a4/0xdf0 [ 73.513417][ T5074] ksys_write+0x1f0/0x250 [ 73.518277][ T5074] do_syscall_64+0x40/0x110 [ 73.523329][ T5074] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 73.529768][ T5074] [ 73.529768][ T5074] -> #2 (rfkill_global_mutex){+.+.}-{3:3}: [ 73.537777][ T5074] __mutex_lock+0x175/0x9d0 [ 73.542826][ T5074] rfkill_register+0x3a/0xb30 [ 73.548046][ T5074] hci_register_dev+0x43a/0xd40 [ 73.553459][ T5074] __vhci_create_device+0x393/0x800 [ 73.559199][ T5074] vhci_write+0x2c7/0x470 [ 73.564070][ T5074] vfs_write+0x64f/0xdf0 [ 73.568843][ T5074] ksys_write+0x12f/0x250 [ 73.573701][ T5074] do_syscall_64+0x40/0x110 [ 73.578743][ T5074] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 73.585182][ T5074] [ 73.585182][ T5074] -> #1 (&data->open_mutex){+.+.}-{3:3}: [ 73.593029][ T5074] __mutex_lock+0x175/0x9d0 [ 73.598073][ T5074] vhci_send_frame+0x67/0xa0 [ 73.603208][ T5074] hci_send_frame+0x220/0x470 [ 73.608420][ T5074] hci_tx_work+0x1456/0x1e40 [ 73.613544][ T5074] process_one_work+0x886/0x15d0 [ 73.619023][ T5074] worker_thread+0x8b9/0x1290 [ 73.624238][ T5074] kthread+0x2c6/0x3a0 [ 73.628837][ T5074] ret_from_fork+0x45/0x80 [ 73.633788][ T5074] ret_from_fork_asm+0x11/0x20 [ 73.639091][ T5074] [ 73.639091][ T5074] -> #0 ((work_completion)(&hdev->tx_work)){+.+.}-{0:0}: [ 73.648318][ T5074] __lock_acquire+0x2433/0x3b20 [ 73.653719][ T5074] lock_acquire+0x1ae/0x520 [ 73.658764][ T5074] __flush_work+0x103/0xa10 [ 73.663809][ T5074] hci_dev_close_sync+0x22d/0x1160 [ 73.669457][ T5074] hci_dev_do_close+0x2e/0x90 [ 73.674670][ T5074] hci_rfkill_set_block+0x1b9/0x200 [ 73.680409][ T5074] rfkill_set_block+0x200/0x550 [ 73.685800][ T5074] rfkill_fop_write+0x2d4/0x570 [ 73.691191][ T5074] vfs_write+0x2a4/0xdf0 [ 73.695964][ T5074] ksys_write+0x1f0/0x250 [ 73.700830][ T5074] do_syscall_64+0x40/0x110 [ 73.705872][ T5074] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 73.712315][ T5074] [ 73.712315][ T5074] other info that might help us debug this: [ 73.712315][ T5074] [ 73.722543][ T5074] Chain exists of: [ 73.722543][ T5074] (work_completion)(&hdev->tx_work) --> rfkill_global_mutex --> &hdev->req_lock [ 73.722543][ T5074] [ 73.737505][ T5074] Possible unsafe locking scenario: [ 73.737505][ T5074] [ 73.744957][ T5074] CPU0 CPU1 [ 73.750329][ T5074] ---- ---- [ 73.755700][ T5074] lock(&hdev->req_lock); [ 73.760122][ T5074] lock(rfkill_global_mutex); [ 73.767416][ T5074] lock(&hdev->req_lock); [ 73.774365][ T5074] lock((work_completion)(&hdev->tx_work)); [ 73.780352][ T5074] [ 73.780352][ T5074] *** DEADLOCK *** [ 73.780352][ T5074] [ 73.788495][ T5074] 2 locks held by syz-executor246/5074: [ 73.794048][ T5074] #0: ffffffff8ef2d9e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x16e/0x570 [ 73.804174][ T5074] #1: ffff888075e49108 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 [ 73.813794][ T5074] [ 73.813794][ T5074] stack backtrace: [ 73.819685][ T5074] CPU: 1 PID: 5074 Comm: syz-executor246 Not tainted 6.7.0-rc5-syzkaller #0 [ 73.828368][ T5074] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 73.838437][ T5074] Call Trace: [ 73.841732][ T5074] [ 73.844672][ T5074] dump_stack_lvl+0xd9/0x1b0 [ 73.849293][ T5074] check_noncircular+0x317/0x400 [ 73.854259][ T5074] ? print_circular_bug+0x5c0/0x5c0 [ 73.859488][ T5074] ? is_bpf_text_address+0x94/0x1a0 [ 73.864710][ T5074] ? lockdep_lock+0xc6/0x200 [ 73.869321][ T5074] ? hlock_class+0x130/0x130 [ 73.873931][ T5074] __lock_acquire+0x2433/0x3b20 [ 73.878812][ T5074] ? lockdep_hardirqs_on_prepare+0x420/0x420 [ 73.884906][ T5074] ? save_trace+0x4e/0xb30 [ 73.889348][ T5074] ? _find_first_zero_bit+0x94/0xb0 [ 73.894574][ T5074] lock_acquire+0x1ae/0x520 [ 73.899105][ T5074] ? __flush_work+0xfa/0xa10 [ 73.903722][ T5074] ? lock_sync+0x190/0x190 [ 73.908166][ T5074] ? __flush_work+0xfa/0xa10 [ 73.912780][ T5074] __flush_work+0x103/0xa10 [ 73.917306][ T5074] ? __flush_work+0xfa/0xa10 [ 73.921926][ T5074] ? cancel_delayed_work+0x20/0x20 [ 73.927073][ T5074] hci_dev_close_sync+0x22d/0x1160 [ 73.932201][ T5074] ? find_held_lock+0x2d/0x110 [ 73.936985][ T5074] ? hci_reset_sync+0x50/0x50 [ 73.941702][ T5074] ? reacquire_held_locks+0x4c0/0x4c0 [ 73.947099][ T5074] hci_dev_do_close+0x2e/0x90 [ 73.951794][ T5074] hci_rfkill_set_block+0x1b9/0x200 [ 73.957095][ T5074] ? lockdep_hardirqs_on+0x7d/0x110 [ 73.962415][ T5074] ? hci_power_on+0x670/0x670 [ 73.967108][ T5074] rfkill_set_block+0x200/0x550 [ 73.971987][ T5074] rfkill_fop_write+0x2d4/0x570 [ 73.976867][ T5074] ? rfkill_register+0xb30/0xb30 [ 73.981826][ T5074] ? bpf_lsm_inode_killpriv+0x10/0x10 [ 73.987214][ T5074] ? security_file_permission+0x94/0x100 [ 73.992870][ T5074] vfs_write+0x2a4/0xdf0 [ 73.997125][ T5074] ? rfkill_register+0xb30/0xb30 [ 74.002081][ T5074] ? recalc_sigpending_tsk+0x187/0x1d0 [ 74.007552][ T5074] ? kernel_write+0x6c0/0x6c0 [ 74.012239][ T5074] ? find_held_lock+0x2d/0x110 [ 74.017029][ T5074] ? ptrace_notify+0xf4/0x130 [ 74.021722][ T5074] ? reacquire_held_locks+0x4c0/0x4c0 [ 74.027120][ T5074] ? __fget_light+0x1fc/0x260 [ 74.031809][ T5074] ksys_write+0x1f0/0x250 [ 74.036150][ T5074] ? __ia32_sys_read+0xb0/0xb0 [ 74.040926][ T5074] ? syscall_trace_enter.constprop.0+0xaf/0x1e0 [ 74.047189][ T5074] do_syscall_64+0x40/0x110 [ 74.051716][ T5074] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 74.057638][ T5074] RIP: 0033:0x7f498de08479 [ 74.062060][ T5074] Code: 48 83 c4 28 c3 e8 e7 18 00 00 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 [ 74.081682][ T5074] RSP: 002b:00007ffebbf1f4e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [pid 5074] write(3, "\x00\x00\x00\x00\x00\x03\xfd\x00", 8) = 8 [pid 5074] exit_group(1) = ? [ 74.090118][ T5074] RAX: ffffffffffffffda RBX: 00007f498de5f043 RCX: 00007f498de08479 [ 74.098105][ T5074] RDX: 0000000000000008 RSI: 00000000200000c0 RDI: 0000000000000003 [ 74.106084][ T5074] RBP: 00007ffebbf1f530 R08: 000000ff00ff7650 R09: 000000ff00ff7650 [ 74.114067][ T5074] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffebbf1f518 [ 74.122049][ T5074] R13: 00007f498de8c5b0 R14: 0000000000000000 R15: 0000000000000001 [ 74.130041][ T5074] [pid 5074] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5074, si_uid=0, si_status=1, si_utime=0, si_stime=10 /* 0.10 s */} --- exit_group(0) = ? +++ exited with 0 +++