------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 5841 at lib/refcount.c:28 refcount_warn_saturate+0x11a/0x1d0 lib/refcount.c:28 Modules linked in: CPU: 1 UID: 0 PID: 5841 Comm: kworker/u9:3 Not tainted 6.15.0-rc5-syzkaller-01032-g6b466efc6365 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: hci4 hci_cmd_sync_work RIP: 0010:refcount_warn_saturate+0x11a/0x1d0 lib/refcount.c:28 Code: 20 89 c1 8b e8 57 a4 cb fc 90 0f 0b 90 90 eb d7 e8 fb 47 07 fd c6 05 58 a6 b0 0a 01 90 48 c7 c7 80 89 c1 8b e8 37 a4 cb fc 90 <0f> 0b 90 90 eb b7 e8 db 47 07 fd c6 05 35 a6 b0 0a 01 90 48 c7 c7 RSP: 0018:ffffc9000428f6f8 EFLAGS: 00010246 RAX: 682a49c8dd222a00 RBX: 0000000000000003 RCX: ffff8880340d9e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bba4b4 R12: ffff88802e8e1800 R13: ffff888027491860 R14: ffff888027491878 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881261c0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc30112ff8 CR3: 000000003439e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_sub_and_test include/linux/refcount.h:400 [inline] __refcount_dec_and_test include/linux/refcount.h:432 [inline] refcount_dec_and_test include/linux/refcount.h:450 [inline] kref_put include/linux/kref.h:64 [inline] klist_dec_and_del+0x3c7/0x3d0 lib/klist.c:206 klist_put lib/klist.c:217 [inline] klist_del lib/klist.c:230 [inline] klist_remove+0x1bd/0x340 lib/klist.c:249 device_move+0x193/0x700 drivers/base/core.c:4618 hci_conn_del_sysfs+0xb8/0x170 net/bluetooth/hci_sysfs.c:75 hci_conn_cleanup net/bluetooth/hci_conn.c:175 [inline] hci_conn_del+0x8f5/0xca0 net/bluetooth/hci_conn.c:1167 hci_abort_conn_sync+0x5ad/0xdd0 net/bluetooth/hci_sync.c:5616 hci_cmd_sync_work+0x210/0x3a0 net/bluetooth/hci_sync.c:332 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245