[PATCH 5.4 1/1] moxart: fix potential use-after-free on remove path