kobject_add_internal failed for hci4 (error: -2 parent: bluetooth) Bluetooth: Can't register HCI device Bluetooth: Can't register HCI device ------------[ cut here ]------------ sysfs group 'power' not found for kobject 'rfkill883' WARNING: CPU: 0 PID: 9002 at fs/sysfs/group.c:254 sysfs_remove_group fs/sysfs/group.c:254 [inline] WARNING: CPU: 0 PID: 9002 at fs/sysfs/group.c:254 sysfs_remove_group+0x15b/0x1b0 fs/sysfs/group.c:245 kobject: 'hci1' (00000000bd1e54d1): kobject_cleanup, parent (null) Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 9002 Comm: syz-executor237 Not tainted 5.0.0+ #8 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+0x172/0x1f0 lib/dump_stack.c:113 panic+0x2cb/0x65c kernel/panic.c:214 kobject: 'bluetooth' (0000000007911d5c): kobject_add_internal: parent: 'virtual', set: '(null)' __warn.cold+0x20/0x45 kernel/panic.c:571 report_bug+0x263/0x2b0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:290 kobject: 'hci4' (000000009f9babb7): kobject_add_internal: parent: 'bluetooth', set: 'devices' invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973 RIP: 0010:sysfs_remove_group fs/sysfs/group.c:254 [inline] RIP: 0010:sysfs_remove_group+0x15b/0x1b0 fs/sysfs/group.c:245 Code: 48 89 d9 49 8b 55 00 48 b8 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 01 00 75 41 48 8b 33 48 c7 c7 a0 42 78 87 e8 73 61 6f ff <0f> 0b eb 92 e8 9c dc d3 ff e9 d0 fe ff ff 48 89 df e8 8f dc d3 ff RSP: 0018:ffff88808f0ffc30 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff87be7c40 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff815a7616 RDI: ffffed1011e1ff78 RBP: ffff88808f0ffc58 R08: ffff888087606500 R09: ffffed1015d05021 R10: ffffed1015d05020 R11: ffff8880ae828107 R12: 0000000000000000 R13: ffff88808d9aed30 R14: ffffffff87be81e0 R15: ffffffff84ed5120 kobject: 'hci1' (00000000bd1e54d1): calling ktype release kobject: 'hci1': free name dpm_sysfs_remove+0x58/0x60 drivers/base/power/sysfs.c:734 device_del+0x114/0xb60 drivers/base/core.c:2090 rfkill_unregister+0xd1/0x2c0 net/rfkill/core.c:1093 kobject: 'hci4' (000000009f9babb7): kobject_uevent_env hci_unregister_dev+0x287/0x820 net/bluetooth/hci_core.c:3397 vhci_release+0x76/0xf0 drivers/bluetooth/hci_vhci.c:354 __fput+0x2df/0x8d0 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x14a/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x273/0x2c0 arch/x86/entry/common.c:166 kobject: 'hci4' (000000009f9babb7): fill_kobj_path: path = '/devices/virtual/bluetooth/hci4' prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x400f80 Code: 01 f0 ff ff 0f 83 d0 0a 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 4d 17 2d 00 00 75 14 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 a4 0a 00 00 c3 48 83 ec 08 e8 5a 01 00 00 RSP: 002b:00007fffd3d514e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000400f80 RDX: 0000000000000002 RSI: 00000000200000c0 RDI: 0000000000000003 kobject: 'rfkill885' (000000001333a370): kobject_add_internal: parent: 'hci4', set: 'devices' RBP: 0000000000011905 R08: 00000000004002c8 R09: 00000000004002c8 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000401eb0 R13: 0000000000401f40 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..