s390/zcrypt: Validate length for CCA ECC private key requests
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ fa6999e326fe7851ecbd572b8cb9be8e930ebf41 · < 013a4484f061a2b41f052e25c0015203287e63f1| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
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.
From the CVE record · Linux
The Linux kernel's s390/zcrypt CCA ECC private key handling derives a copy length from a key token without first checking that it fits in the CPRB parameter block. A request with an oversized token length can cause a copy beyond that block. The input does not specify whether exploitation requires local or network access, authentication, or user interaction.
Engineers running Linux kernels with s390/zcrypt CCA ECC private key handling should check their versions; affected versions are not specified.