[PATCH OLK-5.10 20/39] mm/share pool: Avoid UAF on mm