[PATCH 5.6 141/166] libnvdimm: Out of bounds read in __nd_ioctl()