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

Impact

The vulnerability resides in the xcrb_msg_to_type6cprb_msgx() function within the s390/zcrypt driver. The function performs integer overflow checks during CEIL4 alignment, copies the CPRBX structure from userspace without verifying its size, and adds control and data block sizes without guarding against arithmetic overflow. These omissions can lead to undersized buffer allocations, uninitialized memory reads of fields such as cprbx.cprb_len and cprbx.domain, and eventual buffer overflow. An attacker who can supply crafted input to the driver would therefore be able to corrupt kernel memory, potentially enabling arbitrary code execution or system compromise.

Affected Systems

All Linux installations that incorporate the s390/zcrypt driver before the apply of the 2026-80546 patch are affected. The vulnerability does not specify a particular kernel version range, but it applies to any kernel in which the unsanitized function remains present. Consequently, all unmodified Linux kernels shipped by vendors that include the zcrypt module and expose this functionality are vulnerable.

Risk and Exploitability

Official severity metrics such as CVSS, EPSS, or KEV are not available for this vulnerability, indicating that a formal score has not yet been assigned and no publicly documented exploitation has been reported. Nevertheless, buffer overflow in a kernel driver is generally regarded as a high-risk condition. Exploitation would likely require local or elevated privileges to interact with the zcrypt device; a compromised process could feed malicious data to trigger the overflow, leading to kernel memory corruption and potentially privilege escalation. In the absence of known public exploits, organizations should treat this as a significant local-privilege escalation risk pending a security release.

Generated by OpenCVE AI on August 26, 2026 at 17:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply an updated Linux kernel that includes the s390/zcrypt CPRB length and overflow check fix.
  • If a kernel update is not immediately possible, consider disabling the s390/zcrypt driver or the zcrypt device to prevent interaction with untrusted processes.
  • Implement strict access controls on any services that can reach the zcrypt device, ensuring only trusted processes can interact with it, and monitor for anomalous device activity.

Generated by OpenCVE AI on August 26, 2026 at 17:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-125
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 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.
Title s390/zcrypt: Improve CCA 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:17.550Z

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

Link: CVE-2026-80546

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-80546

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T17:45:03Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-125

    Out-of-bounds Read

  • CWE-190

    Integer Overflow or Wraparound