driver core: fix deadlock in _deviceattach
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.4.198 by commit 593b595332bd2d65e1a5c1ae7897996c157f5468, it was introduced in version v4.2 by commit 765230b5f084863183aa8adb3405ab3f32c0b16e. For more details please see the references link.