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