[PATCH 6.10 379/482] aoe: fix the potential use-after-free problem in more places