driver core: fix potential deadlock in _driverattach
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.19.2 by commit 37f908038402c9b8325763f306a1c65d88757e15, it was introduced in version v5.1 by commit ef0ff68351be4fd83bec2d797f0efdc0174a55a4. For more details please see the references link.