CVE-2026-80546
published high CVSS 3.1 · 7.8s390/zcrypt: Improve CCA CPRB length and overflow checks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux20b0b0159390fa5c00a435195649680fefda81e0 to < 584400144020f40365de3972c4763da520e7280e · e2c6d91eb8b1533753755f07803e47eceed263d0 to < 50fe5133dcb46449daf2435fa705264364411129 · e2c6d91eb8b1533753755f07803e47eceed263d0 to < 35ac6754ba6da45fd193f5ce3f665f7490b830d5 · f9da85d4780515f65983e0af151458599adaef3d · 6.12.114 to < 6.13 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.1.10 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is in xcrb_msg_to_type6cprb_msgx(), reached only from the ZSECSENDCPRB ioctl on the s390 zcrypt character device (zcrypt_unlocked_ioctl -> zsecsendcprb_ioctl -> _zcrypt_send_cprb -> prep_cca_ap_msg); there is no network, adjacent-radio, or physical-bus entry point. AC:L - An attacker with a zcrypt fd fully controls the ica_xcRB length fields and CPRB buffers and can craft values that bypass flawed CEIL4/sum checks on every ioctl; no race, timing dependency, or uncontrolled memory layout is required. PR:L - Exploitation needs only local access to a zcrypt device node with ZSECSENDCPRB permitted via zcrypt_check_ioctl(); on IBM Z/LinuxONE admins routinely delegate such access to non-root crypto service accounts through custom zcdn nodes, not init-namespace root alone. UI:N - The attacker triggers the flaw directly by issuing ZSECSENDCPRB with a crafted ica_xcRB from their own process; no separate victim action such as mounting a filesystem or opening a file is required. S:U - Impact is heap corruption and kernel memory disclosure within the host kernel address space during AP message preparation; it does not cross a VM, IOMMU, or other changed security-authority boundary. C:H - Undersized request_control_blk_length copies fewer than sizeof(CPRBX) bytes yet the code reads cprbx.cprb_len and cprbx.domain from uninitialized kmalloc memory; integer-overflow bypasses can also yield out-of-bounds reads beyond the allocated ap_msg buffer. I:H - Signed-int CEIL4 alignment and sum overflows can make ap_msg->len smaller than copied data and place req_data before the kmalloc buffer, enabling z_copy_from_user() heap buffer overflows and attacker-influenced memory corruption suitable for control-flow hijack. A:H - Heap underflow/overflow and corrupted AP message buffers can immediately oops or panic the kernel; prep_cca_ap_msg runs before any crypto hardware is required, so the crash primitive is repeatable from ioctl alone.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 20b0b0159390fa5c00a435195649680fefda81e0 to < 584400144020f40365de3972c4763da520e7280e (affected · git)e2c6d91eb8b1533753755f07803e47eceed263d0 to < 50fe5133dcb46449daf2435fa705264364411129 (affected · git)e2c6d91eb8b1533753755f07803e47eceed263d0 to < 35ac6754ba6da45fd193f5ce3f665f7490b830d5 (affected · git)f9da85d4780515f65983e0af151458599adaef3d (affected · git)6.12.114 to < 6.13 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.1.10 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
s390/zcrypt: Improve CCA CPRB length and overflow checks
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8e9688fe8495e4551925d06e37789fa6f8ca03069cbf7942d49f336234dc86ea
- Ingested
- 21 Oct 2026, 12:50:06 UTC
- Source record
- Official CVE record