diff options
| author | Holger Dengler <dengler@linux.ibm.com> | 2026-07-29 11:36:16 +0200 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2026-07-31 13:31:19 +0200 |
| commit | a9ae0f6dd45c3ccc1d69363f7aea8af179122730 (patch) | |
| tree | dad71f3e933ab07c570d923c0a605a13bd5d2b82 /include/drm/i2c/git@git.tavy.me:linux-stable.git | |
| parent | 06afe425d5283b9764303de47f554da5a808ce8a (diff) | |
s390/zcrypt: Validate length for CCA ECC private key requests
cca_ecc2protkey() derives the copy length for the CPRB parameter
block directly from the length field in the key token. Reject the
request early if the token length exceeds the available space in the
parameter block.
Fixes: fa6999e326fe ("s390/pkey: support CCA and EP11 secure ECC private keys")
Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
Cc: stable@vger.kernel.org # 5.10+
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'include/drm/i2c/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
