[Linux-stable-mirror] [PATCH 4.14 10/18] tpm-dev-common: Reject too short writes