[PATCH 5.15 523/691] aoe: fix the potential use-after-free problem in more places