drivers:md:fix a potential use-after-free bug
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.211 by commit f5d46f1b47f65da1faf468277b261eb78c8e25b5. For more details please see the references link.