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 666D444604F for ; Wed, 26 Aug 2026 14:39:09 +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=1787755153; cv=none; b=cMlF0H0/BqX9MvSAAELQX/KpN7crYpqJLsHjIkHxzmcqWBsac4WhqCo6X6KWtcWVJpVgtEqZx/tldh0m7mWdIyrMp4eUuo2mW5rokrJ42s//areeVk00Vraq22ZdwqXez81iuq1R0TOmKq3bcXqy81JqRwUOss1rlRKz+3anEJg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755153; c=relaxed/simple; bh=epxfq7AS5bWacQyarorIvI2WJO8fjs/7cTttdvHxZl0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lMIMgaMTh3AgqJnv6U0xaTGcDr/QgVDmbuJ2708gYstxkavZavg+1J/6/HqdHBibY/MYxjOWHI7rr0iloY3UdGIS3yy3uSGGXxAv53RsJ7cosc3EYDObJZPQ/kALI3tKlsAtDS0v7Sh4kmtVrLVMfReh8QHS/90KTBLNZ/qi4V8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SkodJjWL; 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="SkodJjWL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F80A1F000E9; Wed, 26 Aug 2026 14:39:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755148; bh=6y3IoPDEnSLBLP4rb314Y+o/OZuSU/lz4oaSyHdTtc4=; h=From:To:Cc:Subject:Date:Reply-To; b=SkodJjWL2whKz6ys7NBCb9O3RnzCDSpQ/oJ9lgI6e+bqnWA4fQ0LVgwxSo336YwCC UlFOruEvqnBji6ZAwGwBR2qb7Szu8hy0GU4S7am40aG2Boiqbf1RFXE/vEyj6/PULC dsb8vfyTu4M4KehuT8FzLfVq4YJUxy7amnHtgLPw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80544: s390/zcrypt: Improve EP11 CPRB domain handling with ASN.1 parsing Date: Wed, 26 Aug 2026 16:37:40 +0200 Message-ID: <2026082606-CVE-2026-80544-3bae@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=2742; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SZminKSOFWwNFplaJQxJxU87nXnnAhxNOBnPIJSTYyM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9v4RqZUzOyYdvrn2+NN7mwTTGoJWaBy7NC1Dd++Cy7 KnEMFGRjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIUxjD/NgC0ScL61q7Hx9W adm8tXaWSIzZRoZ5Wqvqd8dK313mdtx9zlTPurhzm168BAA= 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 EP11 CPRB domain handling with ASN.1 parsing The zcrypt_msgtype6_send_ep11_cprb() function uses fragile struct overlays to access and modify the domain field in the EP11 CPRB payload, creating maintainability and security concerns: 1. Struct overlay approach (pld_hdr) assumes fixed payload structure and doesn't validate the actual ASN.1 encoding. 2. Complex length format detection logic is error-prone and doesn't properly validate bounds at each parsing step. 3. Direct struct member access bypasses proper ASN.1 validation. Fix by replacing struct overlays with explicit ASN.1 parsing that validates each field (payload tag/length, function tag/length/value, optional domain tag/length/value) with proper bounds checking at every step. Add asn1_int_encode() helper function to safely write integer values with correct endianness conversion. This makes the code consistent with the validation pattern introduced with the rework of the xcrb_msg_to_type6_ep11cprb_msgx() function. The Linux kernel CVE team has assigned CVE-2026-80544 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit e2c6d91eb8b1533753755f07803e47eceed263d0 and fixed in 7.1.10 with commit db21b2cf6dd0af5ffd08931e0a9fcda5a0473220 Issue introduced in 7.1 with commit e2c6d91eb8b1533753755f07803e47eceed263d0 and fixed in 7.2 with commit 0864a163783bff109b548266921829ea794edc93 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-80544 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/db21b2cf6dd0af5ffd08931e0a9fcda5a0473220 https://git.kernel.org/stable/c/0864a163783bff109b548266921829ea794edc93