Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795100650; b=u+vM/Iu5J56F05upqUMonTdpWM2dDRB1nKjRAPEoe272fM1iMP7v9zRWoEvifETb1seA /6QXFZiNUXV2801HUB91sFMwD2bfSoZVcUDiQrtUxmsPKsdSoFlZVqg4iqlFiuOemNhpC vLXTpbo6Dm+7hikaYEgJEVHr1B4izZcQoPFp2keD3k+wPfQ1Kt7S0xI33oQc3UH4mNBit QUwdhePQ14u16CZmRa6K6MFHxy5FO1gczZhCIWTQljRVbHZZ5WRsxXj7fgDjjaNMlcZ/X fsIvFqk38eqOR8Ex5AM9LbORj5AoC7FmkqU5ZAcNdqZL7mY2lFHUiOE2OeAY5abfeHA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100650; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=7Ri352B375feHviFjJaIStB3loCEqtkayt85I3XKjqI=; b=V//8pE7qwgcw5Ezw9Qy1U2u3VUIgTvul9zovqW7LDl2HYFGzosv+ZNK0SJRkFoivBu3+ 4QETnA0rz2DuR8FtsQnihgvFqR9Edt++hKC9rAth2DcNLTLU2IIsOl2XgdKlmE2JSs2i8 jmC5sDT9QXG8+JXqTB+4GVyFGEu7woFNHfjlqEpkY2uQvX+0FeRGdXdpdhRK7bRnWF1jo RZG3YQSErbc9RyLhFhbTHT20iXPe3mJI7huSCuml/a88jFxo1aPjvyeJ8zDN9PshH0Qg6 CU/T/URirzvoAs+ROJ1e7Sf4dA8URQoh4fRxgbmbgEC9hn23zWd1GFxvJA6EFJRJNOg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=VX+JpM3X; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F1A1606A320 for ; Thu, 19 Nov 2026 15:04:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=VX+JpM3X Received: by smtp.kernel.org (Postfix) with ESMTPSA id 826C41F000C4; Thu, 19 Nov 2026 15:04:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100650; bh=7Ri352B375feHviFjJaIStB3loCEqtkayt85I3XKjqI=; h=From:To:Cc:Subject:Date:Reply-To; b=VX+JpM3XsFsnP1+llwtNP9dTP7oJNx8orsV51VuzATXQMmKInzq1ME8LBBgUlhlAE GfVjq0fgaEMBD7VJIw0S3XgpbWI5733QU6DxTL23I1RmxXjScSeyTBWXYZos6Owpgf 281+2OWe/S7B5eH6BrKvonxYEz48P/4RP9N2wI5Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99494: s390/zcrypt: Fix out-of-bounds ptr advance in cca_query_crypto_facility() Date: Thu, 19 Nov 2026 15:26:32 +0100 Message-ID: <2026111915-CVE-2026-99494-ab22@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2810; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Mte1IRfqvDRaUy49TBshOj2cLe5zy9INchNrphL8G5Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2frrL00oOKn176blXC6Lc0wxNzh8rGc/LYjIqu878 sinnleuI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZybCrD/IDaifyFN0xiPR4m LF7Gcc2h0X5jNsM8u3mdt+VcXGfFc0ZvuOux/vvZuUvZAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-99494 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 2004b57cde6b21170d058244b53043105d89f83f and fixed in 6.12.117 with commit 49dfd61f1c2ddfe028d4a9a603afc33b013e9ee9 Issue introduced in 5.19 with commit 2004b57cde6b21170d058244b53043105d89f83f and fixed in 6.18.61 with commit bd30e2b60e811140861d53030cf9b6226b46c032 Issue introduced in 5.19 with commit 2004b57cde6b21170d058244b53043105d89f83f and fixed in 7.3.2 with commit 21268907891d5496e495ca17511aff11d8f99731 Issue introduced in 5.19 with commit 2004b57cde6b21170d058244b53043105d89f83f and fixed in 7.4-rc1 with commit 9fd7fca66735307fd7afa3450882a55ef80f2add Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99494 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/s390/crypto/zcrypt_ccamisc.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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