Linux
s390/zcrypt: Validate length for CCA ECC private key requests
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= fa6999e326fe7851ecbd572b8cb9be8e930ebf41, < 7dc306ff7c4d951582adaae65e0aee9fb4968dbe
- >= fa6999e326fe7851ecbd572b8cb9be8e930ebf41, < 447a37a6bef11bfd3645069e380460b11386e2b9
- >= fa6999e326fe7851ecbd572b8cb9be8e930ebf41, < f0831f13c42c1261d449dcee8a035e1c6cd9fcaa
- >= fa6999e326fe7851ecbd572b8cb9be8e930ebf41, < dd25bd9b0f36849808bd7625dcc59dd4c1aeef3e
- >= fa6999e326fe7851ecbd572b8cb9be8e930ebf41, < ecc3b8691c1935f9f3e4eb964ab11e40fdec17f5
- >= fa6999e326fe7851ecbd572b8cb9be8e930ebf41, < 013a4484f061a2b41f052e25c0015203287e63f1
- >= fa6999e326fe7851ecbd572b8cb9be8e930ebf41, < 8fa3e9435a13c335efb63fb4f4e77531a0031159
- >= fa6999e326fe7851ecbd572b8cb9be8e930ebf41, < a9ae0f6dd45c3ccc1d69363f7aea8af179122730
Fixed in 7dc306ff7c4d951582adaae65e0aee9fb4968dbe, 447a37a6bef11bfd3645069e380460b11386e2b9, f0831f13c42c1261d449dcee8a035e1c6cd9fcaa, dd25bd9b0f36849808bd7625dcc59dd4c1aeef3e, ecc3b8691c1935f9f3e4eb964ab11e40fdec17f5, 013a4484f061a2b41f052e25c0015203287e63f1, 8fa3e9435a13c335efb63fb4f4e77531a0031159, a9ae0f6dd45c3ccc1d69363f7aea8af179122730
- 5.10
Fixed in 0, 5.10.265, 5.15.216, 6.1.183, 6.6.151, 6.12.103, 6.18.44, 7.1.8, 7.2
Mitigation
Upgrade Linux to 7dc306ff7c4d951582adaae65e0aee9fb4968dbe or 447a37a6bef11bfd3645069e380460b11386e2b9 or f0831f13c42c1261d449dcee8a035e1c6cd9fcaa or dd25bd9b0f36849808bd7625dcc59dd4c1aeef3e or ecc3b8691c1935f9f3e4eb964ab11e40fdec17f5 or 013a4484f061a2b41f052e25c0015203287e63f1 or 8fa3e9435a13c335efb63fb4f4e77531a0031159 or a9ae0f6dd45c3ccc1d69363f7aea8af179122730 or later.
Upgrade Linux to 0 or 5.10.265 or 5.15.216 or 6.1.183 or 6.6.151 or 6.12.103 or 6.18.44 or 7.1.8 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.