[PATCH 5.17 717/772] um: Fix out-of-bounds read in LDT setup