[PATCH 6.11 443/558] aoe: fix the potential use-after-free problem in more places