[PATCH 5.10 399/452] um: Fix out-of-bounds read in LDT setup