kobject_add_internal failed for hci5:0 with -EEXIST, don't try to register things with the same name in the same directory. Bluetooth: hci5: failed to register connection device kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8485 Comm: syz-executor.5 Not tainted 4.19.200-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:klist_next+0x48/0x450 lib/klist.c:378 Code: 48 89 fb 48 83 ec 18 80 3c 02 00 0f 85 e1 02 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 49 8d 7c 24 50 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 b4 02 00 00 4c 8d 6b 08 4d 8b 7c 24 50 48 b8 00 RSP: 0018:ffff8880aa10f698 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff8880aa10f718 RCX: ffffffff813d1fc3 RDX: 000000000000000a RSI: ffff8880aa10f718 RDI: 0000000000000050 RBP: ffff8880aa10f6d8 R08: ffffed1015558835 R09: ffffed1015558834 R10: ffffed1015558834 R11: ffff8880aaac41a3 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff86d93f40 R15: dffffc0000000000 FS: 00000000021c0400(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000140 CR3: 00000000abb28000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: next_device drivers/base/core.c:2397 [inline] device_find_child+0xb1/0x170 drivers/base/core.c:2540 hci_conn_del_sysfs+0xaa/0x150 net/bluetooth/hci_sysfs.c:71 hci_conn_cleanup+0x1ff/0x4e0 net/bluetooth/hci_conn.c:128 hci_conn_del+0x22c/0x6b0 net/bluetooth/hci_conn.c:611 hci_conn_hash_flush+0x171/0x230 net/bluetooth/hci_conn.c:1513 hci_dev_do_close+0x4bd/0xe10 net/bluetooth/hci_core.c:1665 hci_unregister_dev+0x167/0x890 net/bluetooth/hci_core.c:3278 vhci_release+0x6b/0xe0 drivers/bluetooth/hci_vhci.c:354 __fput+0x249/0x7f0 fs/file_table.c:278 ____fput+0x9/0x10 fs/file_table.c:309 task_work_run+0x108/0x180 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xa6a/0x2d90 kernel/exit.c:870 do_group_exit+0xf8/0x2c0 kernel/exit.c:967 get_signal+0x30b/0x1970 kernel/signal.c:2589 do_signal+0x87/0x1870 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x159/0x1e0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x418d7c Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 fc ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 2f fd ff ff 48 RSP: 002b:00007ffcdfeb6af0 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffe00 RBX: 00007ffcdfeb6b90 RCX: 0000000000418d7c RDX: 0000000000000050 RSI: 0000000000568020 RDI: 00000000000000f9 RBP: 0000000000000003 R08: 0000000000000000 R09: 0079746972756365 R10: 00007ffcdfeb64b0 R11: 0000000000000246 R12: 0000000000000032 R13: 0000000000000000 R14: 0000000000000003 R15: 00007ffcdfeb6bd0 Modules linked in: ---[ end trace f462a5a11936f50d ]--- RIP: 0010:klist_next+0x48/0x450 lib/klist.c:378 Code: 48 89 fb 48 83 ec 18 80 3c 02 00 0f 85 e1 02 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 49 8d 7c 24 50 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 b4 02 00 00 4c 8d 6b 08 4d 8b 7c 24 50 48 b8 00 RSP: 0018:ffff8880aa10f698 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff8880aa10f718 RCX: ffffffff813d1fc3 RDX: 000000000000000a RSI: ffff8880aa10f718 RDI: 0000000000000050 RBP: ffff8880aa10f6d8 R08: ffffed1015558835 R09: ffffed1015558834 R10: ffffed1015558834 R11: ffff8880aaac41a3 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff86d93f40 R15: dffffc0000000000 FS: 00000000021c0400(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000140 CR3: 00000000abb28000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400