[PATCH OLK-5.10 V1] aoe: fix the potential use-after-free problem in more places