[PATCH openEuler-5.10-LTS 124/151] drivers:md:fix a potential use-after-free bug