------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 7860 at lib/refcount.c:28 refcount_warn_saturate+0x11a/0x1d0 lib/refcount.c:28 Modules linked in: CPU: 1 UID: 0 PID: 7860 Comm: syz-executor Not tainted 6.16.0-rc4-syzkaller-01139-gea988b450690 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:refcount_warn_saturate+0x11a/0x1d0 lib/refcount.c:28 Code: 00 45 e2 8b e8 47 3a c2 fc 90 0f 0b 90 90 eb d7 e8 0b 93 fe fc c6 05 fe 33 ca 0a 01 90 48 c7 c7 60 45 e2 8b e8 27 3a c2 fc 90 <0f> 0b 90 90 eb b7 e8 eb 92 fe fc c6 05 db 33 ca 0a 01 90 48 c7 c7 RSP: 0018:ffffc900035577d8 EFLAGS: 00010246 RAX: a8c5c40c03c94300 RBX: 0000000000000003 RCX: ffff888029bd3c00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000000 R08: ffffc90003557507 R09: 1ffff920006aaea0 R10: dffffc0000000000 R11: fffff520006aaea1 R12: ffff888051ea8800 R13: ffff888057e7cc60 R14: ffff888057e7cc78 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888125d14000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f79382a9eb8 CR3: 000000000df38000 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: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+0x8ff/0xcb0 net/bluetooth/hci_conn.c:1173 hci_conn_hash_flush+0x191/0x230 net/bluetooth/hci_conn.c:2561 hci_dev_close_sync+0xaef/0x1330 net/bluetooth/hci_sync.c:5294 hci_dev_do_close net/bluetooth/hci_core.c:501 [inline] hci_unregister_dev+0x21a/0x510 net/bluetooth/hci_core.c:2717 vhci_release+0x80/0xd0 drivers/bluetooth/hci_vhci.c:665 __fput+0x449/0xa70 fs/file_table.c:465 task_work_run+0x1d1/0x260 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x6b5/0x22e0 kernel/exit.c:964 do_group_exit+0x21c/0x2d0 kernel/exit.c:1105 __do_sys_exit_group kernel/exit.c:1116 [inline] __se_sys_exit_group kernel/exit.c:1114 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1114 x64_sys_call+0x21ba/0x21c0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f832318e929 Code: Unable to access opcode bytes at 0x7f832318e8ff. RSP: 002b:00007ffcb3c8cde8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f832318e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043 RBP: 00007f83231ee8f0 R08: 00007ffcb3c8ab87 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000003 R14: 00000000ffffffff R15: 00007ffcb3c8cfa0