[PATCH 6.1 579/798] aoe: fix the potential use-after-free problem in more places