------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 8113 at lib/refcount.c:187 refcount_sub_and_test_checked+0x2c9/0x310 lib/refcount.c:187 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 8113 Comm: syz-executor161 Not tainted 4.20.0-rc7-next-20181224 #189 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d3/0x2c6 lib/dump_stack.c:113 panic+0x2ad/0x632 kernel/panic.c:214 __warn.cold.8+0x20/0x4f kernel/panic.c:571 report_bug+0x254/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:176 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:269 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:288 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973 RIP: 0010:refcount_sub_and_test_checked+0x2c9/0x310 lib/refcount.c:187 Code: 89 de e8 da 8d f0 fd 84 db 74 07 31 db e9 4d ff ff ff e8 fa 8c f0 fd 48 c7 c7 a0 fe 80 88 c6 05 df 91 a3 06 01 e8 77 c3 b9 fd <0f> 0b 31 db e9 2c ff ff ff 48 89 cf e8 f6 c8 34 fe e9 41 fe ff ff RSP: 0018:ffff88809656f6a0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81683f45 RDI: 0000000000000005 RBP: ffff88809656f788 R08: ffff88808edf8140 R09: ffffed1015cc5020 R10: ffffed1015cc5020 R11: ffff8880ae628107 R12: ffff8880a74df978 R13: 00000000ffffffff R14: ffff88809656f760 R15: ffff8880a55bfd20 refcount_dec_and_test_checked+0x1a/0x20 lib/refcount.c:212 kref_put include/linux/kref.h:66 [inline] kobject_put+0x6c/0xe0 lib/kobject.c:708 kset_put include/linux/kobject.h:218 [inline] kobj_kset_leave+0x25b/0x3f0 lib/kobject.c:201 kobject_del.part.4+0x79/0xf0 lib/kobject.c:596 kobject_del+0x1f/0x30 lib/kobject.c:588 cleanup_glue_dir.part.21+0x1c2/0x210 drivers/base/core.c:1684 cleanup_glue_dir drivers/base/core.c:682 [inline] device_del+0x802/0xb60 drivers/base/core.c:2126 hci_unregister_dev+0x3a2/0x990 net/bluetooth/hci_core.c:3355 vhci_release+0x76/0xf0 drivers/bluetooth/hci_vhci.c:354 __fput+0x3bc/0xa90 fs/file_table.c:279 ____fput+0x15/0x20 fs/file_table.c:312 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x318/0x380 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x400dd0 Code: 01 f0 ff ff 0f 83 b0 0a 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d fd 18 2d 00 00 75 14 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 84 0a 00 00 c3 48 83 ec 08 e8 3a 01 00 00 RSP: 002b:00007fff8b53d6c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000400dd0 RDX: 0000000000000002 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 R10: 00000000013f5880 R11: 0000000000000246 R12: 000000000000f9a8 R13: 0000000000401d70 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..