[PATCH 4.19 334/521] mrp: introduce active flags to prevent UAF when applicant uninit