Bluetooth: hci0: command 0x0409 tx timeout Bluetooth: hci0: Controller not accepting commands anymore: ncmd = 0 Bluetooth: hci0: Injecting HCI hardware error event Bluetooth: hci0: hardware error 0x00 ================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read include/linux/instrumented.h:68 [inline] BUG: KASAN: null-ptr-deref in _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] BUG: KASAN: null-ptr-deref in ida_free+0x15b/0x1d0 lib/idr.c:511 Read of size 8 at addr 0000000000000078 by task kworker/u5:1/1269 CPU: 0 PID: 1269 Comm: kworker/u5:1 Not tainted 6.6.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: hci0 hci_error_reset Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x3d/0x60 lib/dump_stack.c:106 kasan_report+0xda/0x110 mm/kasan/report.c:588 check_region_inline mm/kasan/generic.c:181 [inline] kasan_check_range+0xef/0x190 mm/kasan/generic.c:187 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] ida_free+0x15b/0x1d0 lib/idr.c:511 hci_conn_cleanup net/bluetooth/hci_conn.c:157 [inline] hci_conn_del+0x64c/0xc60 net/bluetooth/hci_conn.c:1184 hci_conn_hash_flush+0x15e/0x230 net/bluetooth/hci_conn.c:2617 hci_dev_close_sync+0x492/0xf50 net/bluetooth/hci_sync.c:5021 hci_dev_do_close+0x24/0x80 net/bluetooth/hci_core.c:554 hci_error_reset+0x89/0x160 net/bluetooth/hci_core.c:1059 process_one_work+0x72e/0x11b0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x6b3/0x1080 kernel/workqueue.c:2784 kthread+0x278/0x330 kernel/kthread.c:388 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 ==================================================================