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