s390/zcrypt: Fix buffer over-read in cca_cipher2protkey (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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
Weaknesses (CWE)
- CWE-125 — Out-of-bounds Read
References
- https://git.kernel.org/stable/c/1adfec7be6f34c1073c9cf15040bc4e3fdc6dc51
- https://git.kernel.org/stable/c/d0951ed366710a1a303b7cb2f8eb3d866cd68fc6
- https://git.kernel.org/stable/c/353e442d18084b24fb3ede4e5adfca26b25f0e89
- https://git.kernel.org/stable/c/a57fd7fcdb63e2d5ceac78bbe825ec986062a9da
- https://git.kernel.org/stable/c/3b2abee2a678607ae27975bc6833785c2002df43
- https://git.kernel.org/stable/c/36b230835b8a008266aad22168ca52afacc8a58d
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | Linux |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-57922
- GCVE · GCVE-0-2026-68453
CERT-FR advisories
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd < 1adfec7be6f34c1073c9cf15040bc4e3fdc6dc51 ; affected 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd < d0951ed366710a1a303b7cb2f8eb3d866cd68fc6 ; affected 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd < 353e442d18084b24fb3ede4e5adfca26b25f0e89 ; affected 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd < a57fd7fcdb63e2d5ceac78bbe825ec986062a9da ; affected 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd < 3b2abee2a678607ae27975bc6833785c2002df43 ; affected 4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd < 36b230835b8a008266aad22168ca52afacc8a58d |
| Linux · Linux | affected 5.4 ; unaffected 0 < 5.4 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.114 ≤ 6.12.* ; unaffected 6.18.44 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |