------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 15646 at lib/refcount.c:28 refcount_warn_saturate+0x11a/0x1d0 lib/refcount.c:28 Modules linked in: CPU: 1 UID: 0 PID: 15646 Comm: syz.5.2838 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:refcount_warn_saturate+0x11a/0x1d0 lib/refcount.c:28 Code: e0 c5 bf 8b e8 87 d4 f2 fc 90 0f 0b 90 90 eb d7 e8 6b b7 2f fd c6 05 f8 4a f8 0a 01 90 48 c7 c7 40 c6 bf 8b e8 67 d4 f2 fc 90 <0f> 0b 90 90 eb b7 e8 4b b7 2f fd c6 05 d5 4a f8 0a 01 90 48 c7 c7 RSP: 0018:ffffc90002f178b8 EFLAGS: 00010246 RAX: d02aadaa6739a000 RBX: 0000000000000003 RCX: 0000000000080000 RDX: ffffc90010328000 RSI: 00000000000038f7 RDI: 00000000000038f8 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bfa658 R12: ffff8880555e1000 R13: ffff88807cac7c60 R14: ffff88807cac7c78 R15: dffffc0000000000 FS: 00007faf67ff66c0(0000) GS:ffff888125e0f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555595123808 CR3: 000000007ab24000 CR4: 00000000003526f0 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:4615 hci_conn_del_sysfs+0xb8/0x170 net/bluetooth/hci_sysfs.c:75 hci_conn_cleanup net/bluetooth/hci_conn.c:173 [inline] hci_conn_del+0xc33/0x11b0 net/bluetooth/hci_conn.c:1210 hci_conn_hash_flush+0x191/0x230 net/bluetooth/hci_conn.c:2603 hci_dev_close_sync+0xaef/0x1330 net/bluetooth/hci_sync.c:5303 hci_dev_do_close net/bluetooth/hci_core.c:501 [inline] hci_dev_close+0x108/0x200 net/bluetooth/hci_core.c:526 sock_do_ioctl+0xd9/0x300 net/socket.c:1254 sock_ioctl+0x576/0x790 net/socket.c:1375 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7faf69d8eec9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007faf67ff6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007faf69fe5fa0 RCX: 00007faf69d8eec9 RDX: 0000000000000000 RSI: 00000000400448ca RDI: 000000000000000b RBP: 00007faf69e11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007faf69fe6038 R14: 00007faf69fe5fa0 R15: 00007fffdce92a48