[PATCH OLK-5.10 16/39] mm/sharepool: Fix UAF reported by KASAN