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.
Published: 2026-08-26
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel function handling EP11 CPRB data performs no minimum size validation of the ep11_cprb structure and its payload before copying from userspace, and uses arithmetic that can overflow during alignment calculations. This omission results in a buffer overflow (CWE‑119) and an integer overflow (CWE‑190), allowing an attacker to supply a crafted EP11 CPRB message that overflows a kernel buffer, potentially leading to arbitrary code execution or privilege escalation. The vulnerability arises from lack of bounds checking and improper handling of ASN.1 encoded payloads, which together expose the kernel to memory corruption attacks. In the absence of defensive checks, any user able to construct such a message for the EP11 device can trigger the overrun.

Affected Systems

The flaw is present in all Linux kernel builds that include the s390/zcrypt module before the commit that added proper length and overflow checks. This includes generic distributions running the default kernel on s390 architecture, regardless of vendor. Since the patch is in the kernel source, any system that has not yet upgraded to the fixed version is potentially affected.

Risk and Exploitability

The risk level is high because the flaw resides in the privileged kernel space and can lead to full control over the affected machine. The exploit requires the creation of a malformed EP11 CPRB message, which can be done through userspace code that communicates with the s390 crypto subsystem. While the EPSS score is unavailable, the nature of the vulnerability and the lack of any mitigations in the kernel suggest that attackers could achieve local privilege escalation or remote code execution if they can send the payload to the kernel. The vulnerability is not listed in the CISA KEV catalog, but its potential impact warrants immediate remediation.

Generated by OpenCVE AI on August 26, 2026 at 16:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest stable Linux kernel release that contains the formal fix for the EP11 CPRB length and overflow checks.
  • If updating is not immediately feasible, restrict access to the s390 crypto device by assigning it to a dedicated, minimal‑privilege group and setting user‑level access controls to prevent untrusted applications from communicating with it.
  • Continuously monitor system logs for unusual EP11 or cryptographic activity, and audit for signs of buffer overflow exploits or anomalous kernel panics.

Generated by OpenCVE AI on August 26, 2026 at 16:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-190

Wed, 26 Aug 2026 14:45:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-26T14:37:16.956Z

Reserved: 2026-08-26T14:34:25.765Z

Link: CVE-2026-80545

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:17:08.870

Modified: 2026-08-26T15:17:08.870

Link: CVE-2026-80545

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T17:15:04Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-190

    Integer Overflow or Wraparound