CVE-2026-99494
s390/zcrypt: Fix out-of-bounds ptr advance in cca_query_crypto_facility()
- CVSS
- —
- EPSS
- 0.21% (p12)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- Linux Linux
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.
Fixed in
21268907891d5496e495ca17511aff11d8f99731 · 2e98b8e0d2f0ee86357a31d0e836ea72685f6d1e · 46c743cad286fd4a2f084f1bab50495b59ac3b50 · 49dfd61f1c2ddfe028d4a9a603afc33b013e9ee9 · 6.12.117 · 6.18.61 · 7.3.2 · 9fd7fca66735307fd7afa3450882a55ef80f2add · bd30e2b60e811140861d53030cf9b6226b46c032
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.19.0, <6.12.117 | 6.12.117 |
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| vendor | Linux | >=2004b57cde6b21170d058244b53043105d89f83f, <21268907891d5496e495ca17511aff11d8f99731 | 21268907891d5496e495ca17511aff11d8f99731 |
| vendor | Linux | >=2004b57cde6b21170d058244b53043105d89f83f, <2e98b8e0d2f0ee86357a31d0e836ea72685f6d1e | 2e98b8e0d2f0ee86357a31d0e836ea72685f6d1e |
| vendor | Linux | >=2004b57cde6b21170d058244b53043105d89f83f, <46c743cad286fd4a2f084f1bab50495b59ac3b50 | 46c743cad286fd4a2f084f1bab50495b59ac3b50 |
| vendor | Linux | >=2004b57cde6b21170d058244b53043105d89f83f, <49dfd61f1c2ddfe028d4a9a603afc33b013e9ee9 | 49dfd61f1c2ddfe028d4a9a603afc33b013e9ee9 |
| vendor | Linux | >=2004b57cde6b21170d058244b53043105d89f83f, <9fd7fca66735307fd7afa3450882a55ef80f2add | 9fd7fca66735307fd7afa3450882a55ef80f2add |
| vendor | Linux | >=2004b57cde6b21170d058244b53043105d89f83f, <bd30e2b60e811140861d53030cf9b6226b46c032 | bd30e2b60e811140861d53030cf9b6226b46c032 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 15d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/49dfd61f1c2ddfe028d4a9a603afc33b013e9ee9 other
- https://git.kernel.org/stable/c/bd30e2b60e811140861d53030cf9b6226b46c032 other
- https://git.kernel.org/stable/c/21268907891d5496e495ca17511aff11d8f99731 other
- https://git.kernel.org/stable/c/9fd7fca66735307fd7afa3450882a55ef80f2add other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99494.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99494 advisory
- https://git.kernel.org/stable/c/46c743cad286fd4a2f084f1bab50495b59ac3b50 other
- https://git.kernel.org/stable/c/2e98b8e0d2f0ee86357a31d0e836ea72685f6d1e other