s390/zcrypt: Fix out-of-bounds ptr advance in cca_query_crypto_facility() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: s390/zcrypt: Fix out-of-bounds ptr advance in cca_query_crypto_facility() The FQ reply parser code blindly advanced the walk pointer by a length value read directly from the hardware reply payload without checking that the advance stayed within the allocated reply buffer. A corrupt or malicious device response could push ptr beyond the cprbmem region, causing an out-of-bounds dereference or kernel memory exposure via the subsequent memcpy(). Fix this by tracking the remaining reply buffer space in a variable and validating each device-supplied length field against it before advancing or dereferencing the pointer.
References
- https://git.kernel.org/stable/c/46c743cad286fd4a2f084f1bab50495b59ac3b50
- https://git.kernel.org/stable/c/2e98b8e0d2f0ee86357a31d0e836ea72685f6d1e
- https://git.kernel.org/stable/c/49dfd61f1c2ddfe028d4a9a603afc33b013e9ee9
- https://git.kernel.org/stable/c/bd30e2b60e811140861d53030cf9b6226b46c032
- https://git.kernel.org/stable/c/21268907891d5496e495ca17511aff11d8f99731
- https://git.kernel.org/stable/c/9fd7fca66735307fd7afa3450882a55ef80f2add
European references
- ENISA EUVD · EUVD-2026-130169
- GCVE · GCVE-0-2026-99494
CERT-FR advisories
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 2004b57cde6b21170d058244b53043105d89f83f < 46c743cad286fd4a2f084f1bab50495b59ac3b50 affected : ≥ 2004b57cde6b21170d058244b53043105d89f83f < 2e98b8e0d2f0ee86357a31d0e836ea72685f6d1e affected : ≥ 2004b57cde6b21170d058244b53043105d89f83f < 49dfd61f1c2ddfe028d4a9a603afc33b013e9ee9 affected : ≥ 2004b57cde6b21170d058244b53043105d89f83f < bd30e2b60e811140861d53030cf9b6226b46c032 affected : ≥ 2004b57cde6b21170d058244b53043105d89f83f < 21268907891d5496e495ca17511aff11d8f99731 affected : ≥ 2004b57cde6b21170d058244b53043105d89f83f < 9fd7fca66735307fd7afa3450882a55ef80f2add Other versions : unaffected |
| Linux · Linux | affected : 5.19 unaffected : ≥ 0 < 5.19 unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.61 ≤ 6.18.* unaffected : ≥ 7.3.2 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
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 |