CVE-2026-64558
published high CVSS 3.1 · 7.8s390/pkey: Check length in pkey_pckmo handler implementation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8fcc231ce3bea12b78bb94b280cdc03cff342435 to < 02028a24e26d85262ab9c8fc4344e1f3503007fc · 8fcc231ce3bea12b78bb94b280cdc03cff342435 to < 433e5e70cdc1edf382d28d08a885b22e2b98b7da · 8fcc231ce3bea12b78bb94b280cdc03cff342435 to < 614aa0491c7a190556c2345dddee0b6f5ed90989 · 8fcc231ce3bea12b78bb94b280cdc03cff342435 to < 1ac287e2af9a9112fe271427ef45eceb26bce8b4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.12 (affected) · 0 to < 6.12 (unaffected · semver) · 6.12.97 through 6.12.* (unaffected · semver) · 6.18.40 through 6.18.* (unaffected · semver) · 7.1.5 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 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.100-1~deb12u1 | DLA-4724-1 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Debian | trixie | linux | Advisory build | 6.12.100-1 | DSA-6405-1 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-cores390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-corex86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extras390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrax86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-uki-virtx86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfos390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfox86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-s390xs390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devels390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develx86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matcheds390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedx86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-docnoarch | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-moduless390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesx86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreppc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-cores390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-corex86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extraaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrappc64le | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extras390x | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrax86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtx86_64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64kaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-coreaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debugaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-coreaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-develaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-modulesaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.146.1.el9_6 | RHSA-2026:74174 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: s390/pkey: Check length in pkey_pckmo handler implementation Explicitly check the length of the target buffer in the pkey_pckmo implementation of the key_to_protkey() handler function. The handler function fails, if the generated output data exceeds the length of the provided target buffer.
Related advisories
Vendor advisories explicitly linked to 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 vulnerable path is entered through the PKEY_KBLOB2PROTK/PKEY_KBLOB2PROTK2 ioctls on the /dev/pkey character device, or via an AF_ALG setkey on the paes skciphers. Both require local system access; no network input reaches this code. AC:L - A single ioctl with a hand-crafted 176-byte protected-key token (type 0x00, version TOKVER_PROTECTED_KEY, keytype PKEY_KEYTYPE_HMAC_1024, len 160) deterministically triggers the 96-byte overflow; there is no race, no memory-layout dependency, and no hardware or wrapping-key prerequisite since the non-AES branch skips pckmo_verify_protkey(). PR:L - /dev/pkey is registered as a miscdevice with .mode = 0666 and pkey_unlocked_ioctl() contains no capability or permission check, so any unprivileged local user can reach the bug; the paes/AF_ALG setkey path likewise requires no privileges. UI:N - The attacker triggers the overflow entirely on their own via a single ioctl or socket option call; no victim action, mount, or file open is involved. S:U - The corruption is confined to the kernel's own stack within the same security authority; exploitation yields kernel privilege escalation rather than crossing a VM, IOMMU, or sandbox boundary. C:H - The attacker gains a fully controlled 96-byte out-of-bounds stack write that can clobber adjacent locals, saved pointers and return addresses, which is readily leveraged into arbitrary kernel memory disclosure; the copy also leaves *protkeylen inflated to 160 while the buffer is 64 bytes, feeding an oversized length back to callers. I:H - This is an out-of-bounds write of 96 attacker-chosen bytes past the end of a kernel stack object (the last member of struct pkey_kblob2pkey), overwriting saved registers and the return address — a classic control-flow hijack / local privilege escalation primitive. A:H - Smashing the kernel stack past the canary reliably produces a stack-protector panic or an oops on return, and any unprivileged user can repeat it at will to crash the machine.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8fcc231ce3bea12b78bb94b280cdc03cff342435 to < 02028a24e26d85262ab9c8fc4344e1f3503007fc (affected · git)8fcc231ce3bea12b78bb94b280cdc03cff342435 to < 433e5e70cdc1edf382d28d08a885b22e2b98b7da (affected · git)8fcc231ce3bea12b78bb94b280cdc03cff342435 to < 614aa0491c7a190556c2345dddee0b6f5ed90989 (affected · git)8fcc231ce3bea12b78bb94b280cdc03cff342435 to < 1ac287e2af9a9112fe271427ef45eceb26bce8b4 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.12 (affected)0 to < 6.12 (unaffected · semver)6.12.97 through 6.12.* (unaffected · semver)6.18.40 through 6.18.* (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-122 CWE-122 Heap-based Buffer Overflow
References
4Provider assertions
2Linux · cna
s390/pkey: Check length in pkey_pckmo handler implementation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bc2c313112b416a0a5539609b18ac2752f0085213c61768c486880105402a95b
- Ingested
- 19 Oct 2026, 20:54:21 UTC
- Source record
- Official CVE record