On Mon, 27 May 2024 05:16:25 -0700 > syzbot found the following issue on: > > HEAD commit: e67572cd2204 Linux 6.9-rc6 > git tree: upstream > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13274a87180000 #syz test upstream master --- x/net/bluetooth/hci_core.c +++ y/net/bluetooth/hci_core.c @@ -2598,7 +2598,7 @@ int hci_register_dev(struct hci_dev *hde if (!IS_ERR_OR_NULL(bt_debugfs)) hdev->debugfs = debugfs_create_dir(hdev->name, bt_debugfs); - error = device_add(&hdev->dev); + error = device_register(&hdev->dev); if (error < 0) goto err_wqueue; --