[PATCH 5.10 488/663] Input: joydev - prevent potential read overflow in ioctl