[PATCH 4.14 180/183] perf: Return proper values for user stack errors