CVE-2026-80544
published high CVSS 3.1 · 7.8s390/zcrypt: Improve EP11 CPRB domain handling with ASN.1 parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux20b0b0159390fa5c00a435195649680fefda81e0 to < 00a44ff06bcffb68b9cd7e90d2259b7d14b82b18 · e2c6d91eb8b1533753755f07803e47eceed263d0 to < db21b2cf6dd0af5ffd08931e0a9fcda5a0473220 · e2c6d91eb8b1533753755f07803e47eceed263d0 to < 0864a163783bff109b548266921829ea794edc93 · 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 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.
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 reached only via the ZSENDEP11CPRB ioctl on /dev/z90crypt (or a zcrypt class device node), following zcrypt_unlocked_ioctl() -> zsendep11cprb_ioctl() -> _zcrypt_send_ep11_cprb() -> zcrypt_msgtype6_send_ep11_cprb(); there is no network, USB, or remote packet path. AC:L - After prep_ep11_ap_msg() ASN.1 validation, an attacker can reliably trigger the flaw with a minimal non-management EP11 CPRB whose payload omits the domain field or uses variable ASN.1 length encodings; the overlay then writes dom_val at a miscalculated offset with no races or victim-dependent state. PR:L - The ioctl path performs only ap_perms bitmask checks (ioctl/card/queue masks default to all permitted) and no capability or real-root gate; any local user who can open the zcrypt character device can send crafted EP11 CPRBs, which is standard unprivileged local access on s390 systems with crypto hardware. UI:N - Exploitation requires only the attacker's own ioctl with attacker-controlled CPRB data; no separate victim action such as mounting a filesystem or opening a file is needed beyond the attacker's direct device access. S:U - The out-of-bounds write corrupts kernel heap memory inside the zcrypt driver's AP message buffer within the same kernel security domain; it does not cross a VM, container, or IOMMU boundary to impact a separate authority. C:H - The unchecked struct overlay can write four bytes past the validated ASN.1 payload boundary inside a kernel-allocated AP message buffer; such heap corruption is exploitable for kernel memory disclosure and is scored as high confidentiality impact per memory-corruption guidance. I:H - zcrypt_msgtype6_send_ep11_cprb() performs an out-of-bounds 32-bit write of AP_QID_QUEUE() via payload_hdr->dom_val when ASN.1 layout does not match the assumed fixed pld_hdr overlay, enabling heap corruption and potential arbitrary kernel code execution. A:H - Writing past the validated EP11 CPRB payload into kernel heap memory can cause immediate kernel oops/panic or sustained denial of service through repeated ioctl-triggered corruption on IBM Z systems using EP11 crypto adapters.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 20b0b0159390fa5c00a435195649680fefda81e0 to < 00a44ff06bcffb68b9cd7e90d2259b7d14b82b18 (affected · git)e2c6d91eb8b1533753755f07803e47eceed263d0 to < db21b2cf6dd0af5ffd08931e0a9fcda5a0473220 (affected · git)e2c6d91eb8b1533753755f07803e47eceed263d0 to < 0864a163783bff109b548266921829ea794edc93 (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
2Linux · cna
s390/zcrypt: Improve EP11 CPRB domain handling with ASN.1 parsing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e318e36ed7f3d693e06941431834a4eef6f3010af4ab62fee23f51f84d0f2805
- Ingested
- 21 Oct 2026, 12:50:06 UTC
- Source record
- Official CVE record