[PATCH 5.4 091/255] platform/chrome: fix memory corruption in ioctl