{"id":"CVE-2026-99494","summary":"s390/zcrypt: Fix out-of-bounds ptr advance in cca_query_crypto_facility()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/zcrypt: Fix out-of-bounds ptr advance in cca_query_crypto_facility()\n\nThe FQ reply parser code blindly advanced the walk pointer by a length\nvalue read directly from the hardware reply payload without checking\nthat the advance stayed within the allocated reply buffer. A corrupt\nor malicious device response could push ptr beyond the cprbmem region,\ncausing an out-of-bounds dereference or kernel memory exposure via the\nsubsequent memcpy().\n\nFix this by tracking the remaining reply buffer space in a variable\nand validating each device-supplied length field against it before\nadvancing or dereferencing the pointer.","modified":"2026-11-19T17:01:26.727589500Z","published":"2026-11-19T14:43:38.844Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99494.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/21268907891d5496e495ca17511aff11d8f99731"},{"type":"WEB","url":"https://git.kernel.org/stable/c/49dfd61f1c2ddfe028d4a9a603afc33b013e9ee9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9fd7fca66735307fd7afa3450882a55ef80f2add"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd30e2b60e811140861d53030cf9b6226b46c032"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99494.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99494"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2004b57cde6b21170d058244b53043105d89f83f"},{"fixed":"49dfd61f1c2ddfe028d4a9a603afc33b013e9ee9"},{"fixed":"bd30e2b60e811140861d53030cf9b6226b46c032"},{"fixed":"21268907891d5496e495ca17511aff11d8f99731"},{"fixed":"9fd7fca66735307fd7afa3450882a55ef80f2add"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99494.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.19.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99494.json"}}],"schema_version":"1.9.2"}