------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 5829 at lib/refcount.c:28 refcount_warn_saturate+0x15a/0x1d0 lib/refcount.c:28 Modules linked in: CPU: 0 UID: 0 PID: 5829 Comm: kworker/u9:5 Not tainted 6.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: hci2 hci_cmd_sync_work RIP: 0010:refcount_warn_saturate+0x15a/0x1d0 lib/refcount.c:28 Code: 40 72 5f 8c e8 c7 0e 9f fc 90 0f 0b 90 90 eb 99 e8 5b 65 de fc c6 05 ba 6e 23 0b 01 90 48 c7 c7 a0 72 5f 8c e8 a7 0e 9f fc 90 <0f> 0b 90 90 e9 76 ff ff ff e8 38 65 de fc c6 05 94 6e 23 0b 01 90 RSP: 0018:ffffc9000419f618 EFLAGS: 00010246 RAX: 4352ab0487a16600 RBX: ffff888027774c78 RCX: ffff88802f468000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000003 R08: ffffffff817ffb32 R09: fffffbfff1cfa588 R10: dffffc0000000000 R11: fffffbfff1cfa588 R12: ffff888027774c60 R13: ffffffff862303f0 R14: 1ffff11004eee98c R15: ffff888027774c60 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f885464aea2 CR3: 0000000027aa0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_sub_and_test include/linux/refcount.h:275 [inline] __refcount_dec_and_test include/linux/refcount.h:307 [inline] refcount_dec_and_test include/linux/refcount.h:325 [inline] kref_put include/linux/kref.h:64 [inline] klist_dec_and_del+0x3ec/0x3f0 lib/klist.c:206 klist_put lib/klist.c:217 [inline] klist_del lib/klist.c:230 [inline] klist_remove+0x25e/0x480 lib/klist.c:249 device_move+0x1b4/0x710 drivers/base/core.c:4591 hci_conn_del_sysfs+0xb5/0x170 net/bluetooth/hci_sysfs.c:75 hci_conn_cleanup net/bluetooth/hci_conn.c:174 [inline] hci_conn_del+0x8c4/0xc40 net/bluetooth/hci_conn.c:1164 hci_conn_failed+0x319/0x400 net/bluetooth/hci_conn.c:1267 hci_abort_conn_sync+0x56c/0x11f0 net/bluetooth/hci_sync.c:5588 hci_cmd_sync_work+0x22b/0x400 net/bluetooth/hci_sync.c:332 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244