Description

In the Linux kernel, the following vulnerability has been resolved: s390/zcrypt: Fix buffer over-read in cca_cipher2protkey Add validation of both the actual key buffer size and token length fields in all the cca_check_sec*token() functions. Additionally check in cca_gencipherkey() for possible underflow with returned key size. The CCA token structures contain user-controlled len fields that were used in operations without proper validation against both the actual buffer size and minimum token structure size. An attacker could set this field larger than the actual buffer size, leading to reading beyond buffer boundaries. This may result in a kernel crash or exposure of memory via sending this as part of a request down to the crypto card. Also an attacker could have used a very small len value and thus enforce a buffer under-run which may produce similar effects as a over-read. So now a key must - key buf length must be at least sizeof the token struct - the key len field inside the token must fit into the range of sizeof key token struct ... key buf length

Severity (CVSS)

Base score7.1
SeverityHigh
VersionCVSS 3.1
VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Provided byCNA

Affected products

VendorProductVersions
LinuxLinux4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd to <a57fd7fcdb63e2d5ceac78bbe825ec986062a9da; 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd to <3b2abee2a678607ae27975bc6833785c2002df43; 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd to <36b230835b8a008266aad22168ca52afacc8a58d
LinuxLinux5.4; 0 to <5.4; 6.18.44 to <=6.18.*; 7.1.8 to <=7.1.*; 7.2-rc6 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 14 Aug 2026 07:02 UTC.