[PATCH 5.17 13/75] i2c: ismt: prevent memory corruption in ismt_access()