[PATCH 4.14 2/3] moxart: fix potential use-after-free on remove path