[PATCH openEuler-5.10-LTS 037/166] dm ioctl: prevent potential spectre v1 gadget