[PATCH 5.18 819/879] um: Fix out-of-bounds read in LDT setup