Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C045445AD1 for ; Wed, 26 Aug 2026 14:39:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755160; cv=none; b=eGCM844EC7QGnd6bNlq2XAHqbaKR5SEol8qe2QTwkR8Mq0oUCrlOZZGAofyRlvOgAGFPzwuP7MgaMWlEJQgQHBDFpGGYBESUDq5XLudxOPTibDkJYhgPb7tq9aBIIvlTK/I4t7155SEwc8lZDXaKRmG/mZzei4QC/85a8sla6QE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755160; c=relaxed/simple; bh=vTUw0rj5j3upPJ0RLvJlQBw+ALCPm+P/g9sLSDH7fSA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GBEIRl64IB5VdM00z3nKBTSDaN2KxQI/V2G2HXrDydKeSLFpz4XaEWKr0HB53eT+Fltrwb20/goaBqDilDRTn6fVketvMUw+czBa1+0FzH3QigEEQKspg0VUwPmLdfdrrrFq1tdb+2DRMMT9cQxxk4io3s6sUMfQoZZTFuxNjjY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PVpFKwV4; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="PVpFKwV4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9FD101F000E9; Wed, 26 Aug 2026 14:39:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755154; bh=nDHy3OpsQUEo76KkoyUixAsq3b8v9CSmEvllVPntTvo=; h=From:To:Cc:Subject:Date:Reply-To; b=PVpFKwV4BUzLL6pp/NY2Z5LWu/TCwNKXxcFAmahSY2pQcHJjVPQhnfLzS0IDyIpxe njhYJ4AquVl4rv6VXk5kqgzyRqqoXOezDWnn3vn4sSjAyoZ9TIYeJmosvmhFRFmeFp 4SiZP1RBFuV8AkCAF6nGRRY1TPjMDGbwDGxzVrsI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80546: s390/zcrypt: Improve CCA CPRB length and overflow checks Date: Wed, 26 Aug 2026 16:37:42 +0200 Message-ID: <2026082607-CVE-2026-80546-79bb@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2703; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7Su9qEQ/Yt8lOZXeU043XKiqZSIt2QJ2RMHX8yhoU5k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9v4R5ct629qlormB+bXPSJYJrL9dzFdf1fiJ9k6Ydv T3L7+/RjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIxXaG+dVb+FhO6717Yxzb 7r679tKbDaU5lxkWTJdnfbF/suD5eMuQJ/6vdTcxbd45AQA= 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: Improve CCA CPRB length and overflow checks The xcrb_msg_to_type6cprb_msgx() function lacks proper input validation, creating security vulnerabilities: 1. Integer overflow after CEIL4 alignment: Signed int variables could overflow during 4-byte boundary alignment, causing undersized buffer allocations or incorrect bounds checking. 2. Missing minimum size validation: The CPRBX structure is copied from userspace without verifying sufficient buffer length. Undersized buffers cause uninitialized memory access when reading structure fields like cprbx.cprb_len and cprbx.domain. 3. Arithmetic overflow in sum calculations: Adding control block and data block sizes could overflow, bypassing size checks and enabling buffer overflows. Fix by using size_t for length calculations, adding U32_MAX boundary checks after alignment, validating minimum control block size before copying from userspace, and detecting sum calculation overflows. The Linux kernel CVE team has assigned CVE-2026-80546 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit e2c6d91eb8b1533753755f07803e47eceed263d0 and fixed in 7.1.10 with commit 50fe5133dcb46449daf2435fa705264364411129 Issue introduced in 7.1 with commit e2c6d91eb8b1533753755f07803e47eceed263d0 and fixed in 7.2 with commit 35ac6754ba6da45fd193f5ce3f665f7490b830d5 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-80546 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_msgtype6.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/50fe5133dcb46449daf2435fa705264364411129 https://git.kernel.org/stable/c/35ac6754ba6da45fd193f5ce3f665f7490b830d5