[PATCH 4.14 17/86] lib: cpu_rmap: Avoid use after free on rmap->obj array entries