kobject_add_internal failed for hci0 (error: -2 parent: bluetooth) Bluetooth: Can't register HCI device kobject_add_internal failed for rfkill97 (error: -2 parent: hci0) ------------[ cut here ]------------ sysfs group 'power' not found for kobject 'hci0' WARNING: CPU: 0 PID: 6319 at fs/sysfs/group.c:255 sysfs_remove_group+0x15b/0x1b0 fs/sysfs/group.c:253 kobject: 'rfkill102' (00000000365e740a): kobject_uevent_env Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 6319 Comm: syz-executor610 Not tainted 4.20.0-rc5+ #147 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+0x244/0x39d lib/dump_stack.c:113 kobject: 'rfkill98' (000000003623aaa7): kobject_uevent_env panic+0x2ad/0x55c kernel/panic.c:188 kobject: 'hci2' (00000000b7a86a6f): kobject_add_internal: parent: 'bluetooth', set: 'devices' kobject: 'rfkill98' (000000003623aaa7): fill_kobj_path: path = '/devices/virtual/bluetooth/hci1/rfkill98' __warn.cold.8+0x20/0x45 kernel/panic.c:540 kobject: 'rfkill102' (00000000365e740a): fill_kobj_path: path = '/devices/virtual/bluetooth/hci5/rfkill102' report_bug+0x254/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271 kobject: 'hci2' (00000000b7a86a6f): kobject_uevent_env do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:969 RIP: 0010:sysfs_remove_group+0x15b/0x1b0 fs/sysfs/group.c:253 kobject: 'rfkill98' (000000003623aaa7): kobject_cleanup, parent (null) 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 20 bf 37 88 e8 65 2a 4f ff <0f> 0b eb 92 e8 3c 23 c9 ff e9 d0 fe ff ff 48 89 df e8 2f 23 c9 ff RSP: 0018:ffff8881c189f960 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff887c38c0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8165e495 RDI: 0000000000000005 kobject: 'rfkill102' (00000000365e740a): kobject_cleanup, parent (null) RBP: ffff8881c189f988 R08: ffff8881ca584700 R09: ffffed103b5c5020 R10: ffffed103b5c5020 R11: ffff8881dae28107 R12: 0000000000000000 R13: ffff8881b2ffe9d0 R14: ffffffff887c3e60 R15: ffff8881b2ffe8a8 dpm_sysfs_remove+0x58/0x60 drivers/base/power/sysfs.c:734 kobject: 'rfkill98' (000000003623aaa7): calling ktype release device_del+0x118/0xb70 drivers/base/core.c:2054 hci_unregister_dev+0x3a2/0x990 net/bluetooth/hci_core.c:3355 kobject: 'rfkill98': free name kobject: 'hci2' (00000000b7a86a6f): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2' vhci_release+0x76/0xf0 drivers/bluetooth/hci_vhci.c:354 __fput+0x385/0xa30 fs/file_table.c:278 kobject: 'rfkill102' (00000000365e740a): calling ktype release kobject: 'rfkill104' (00000000f4ea81c3): kobject_add_internal: parent: 'hci2', set: 'devices' ____fput+0x15/0x20 fs/file_table.c:309 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 kobject: 'rfkill104' (00000000f4ea81c3): kobject_uevent_env 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 kobject: 'rfkill102': free name kobject: 'hci1' (000000006735304d): kobject_uevent_env entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x400dd0 kobject: 'rfkill104' (00000000f4ea81c3): fill_kobj_path: path = '/devices/virtual/bluetooth/hci2/rfkill104' 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:00007fffb5d32f08 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000400dd0 kobject: 'hci1' (000000006735304d): fill_kobj_path: path = '/devices/virtual/bluetooth/hci1' RDX: 0000000000000002 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00000000004002c8 R09: 00000000004002c8 R10: 00000000025e2880 R11: 0000000000000246 R12: 000000000000d639 R13: 0000000000401d70 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..