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 v4.14.291 by commit 09cf99bace7789d91caa8d10fbcfc8b2fb35857f. For more details please see the references link.