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.17.15 by commit d53a227bfcd5160ce1b61d9954901968a20651e7, it was introduced in version v4.2 by commit 765230b5f084863183aa8adb3405ab3f32c0b16e. For more details please see the references link.