[PATCH 5.10.y] pps: Fix a use-after-free