CVE-2026-80545

s390/zcrypt: Improve EP11 CPRB length and overflow checks

Published Aug 26, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

s390/zcrypt: Improve EP11 CPRB length and overflow checks

The xcrb_msg_to_type6_ep11cprb_msgx() function lacks proper input
validation, creating security vulnerabilities:
1. Missing minimum size validation: The ep11_cprb structure and
subsequent payload fields (pld_tag, pld_lenfmt) are copied from
userspace without verifying sufficient buffer length.
2. Arithmetic overflow in length calculations: CEIL4 alignment could
overflow, bypassing size checks and enabling buffer overflows.
3. The payload is asn1 encoded but the function just uses a simple c
struct overlay to access some fields of the payload.

Fix by using size_t for length calculations, adding U32_MAX boundary
checks after alignment, and validating minimum request size and
minimum reply size before copying from userspace. Do a very simple
asn1 parsing of the payload up to the function value field.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Linux kernel’s s390/zcrypt module, where the function that processes EP11 CPRB messages fails to validate the minimum size of the ep11_cprb structure and its payload before copying data from userspace. It also performs alignment calculations with an arithmetic expression that can overflow, allowing a crafted message to overflow a kernel buffer. This leads to memory corruption in privileged kernel space, which an attacker can exploit to gain elevated privileges or execute code within the kernel context. The impact is fully local: only a user able to construct a malicious EP11 CPRB payload can trigger it, but the resulting kernel compromise can grant system‑wide control.

Affected Systems

All Linux kernel releases that include the s390/zcrypt driver on the s390 architecture before the commit adding explicit length and overflow checks are affected. Based on common deployment patterns, it is inferred that this includes IBM System z. This encompasses mainstream distributions deploying the standard kernel for s390. Any system still running an unpatched kernel that processes EP11 CPRB messages is potentially vulnerable.

Risk and Exploitability

The CVSS score of 7.8 reflects a high severity for a kernel flaw that allows privilege escalation. The EPSS score is 0.00136 ( < 1%), indicating a very low probability of exploitation, and it is not listed in CISA’s KEV catalog. The attack vector is local: an attacker must be able to send a malformed EP11 CPRB message to the kernel via the s390 crypto subsystem. While exploitation complexity is moderate due to the need for specific payload construction, the potential payoff—kernel‑level compromise—warrants prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Linux kernel version that includes the patch for the EP11 CPRB length and overflow checks.
  • If a kernel upgrade cannot be performed immediately, limit access to the s390 crypto device by restricting its device node to a minimal‑privilege group and removing broader write permissions for untrusted processes.
  • Employ system monitoring and auditing to detect anomalous EP11 activity or kernel panics that may indicate an attempted buffer overflow.

Generated by OpenCVE AI on August 28, 2026 at 18:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-119
CWE-20
Type Values Removed Values Added
Weaknesses CWE-119
CWE-190
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-119
CWE-190
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: s390/zcrypt: Improve EP11 CPRB length and overflow checks The xcrb_msg_to_type6_ep11cprb_msgx() function lacks proper input validation, creating security vulnerabilities: 1. Missing minimum size validation: The ep11_cprb structure and subsequent payload fields (pld_tag, pld_lenfmt) are copied from userspace without verifying sufficient buffer length. 2. Arithmetic overflow in length calculations: CEIL4 alignment could overflow, bypassing size checks and enabling buffer overflows. 3. The payload is asn1 encoded but the function just uses a simple c struct overlay to access some fields of the payload. Fix by using size_t for length calculations, adding U32_MAX boundary checks after alignment, and validating minimum request size and minimum reply size before copying from userspace. Do a very simple asn1 parsing of the payload up to the function value field.
Title s390/zcrypt: Improve EP11 CPRB length and overflow checks
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 21, 2026, 12:46 PM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Aug 26, 2026, 3:17 PM
Modified
Oct 21, 2026, 1:19 PM
Severity
Moderate
Public date
Aug 26, 2026, 12:00 AM