CVE-2026-64558

s390/pkey: Check length in pkey_pckmo handler implementation

Published Jul 29, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel’s s390 pkey_pckmo handler fails to verify that the target buffer is large enough to hold the generated output from key_to_protkey(). When the handler produces data larger than the buffer, it writes past the end of the allocated memory, causing a kernel buffer overflow. This flaw is a classic out‑of‑bounds write (CWE‑787). The description does not specify privilege escalation or denial‑of‑service consequences beyond the overflow, but corruption of kernel memory could compromise system integrity.

Affected Systems

The flaw affects Linux kernels built for the s390 architecture that implement the pkey_pckmo key handler. The provided data indicates all Linux kernels for that architecture are covered. Therefore any kernel variant that includes this code path may be vulnerable unless the kernel configuration disables the pkey feature.

Risk and Exploitability

The CVSS score of 7.8 indicates a high‑severity issue. The EPSS score is under 1%, suggesting a low probability of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog. It is a local kernel flaw; an attacker would need the ability to execute code at kernel level or to manipulate the pkey interface to trigger the overflow. No known remote exploitation path is documented.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the length check in the pkey_pckmo handler and reboot the system
  • If the kernel configuration allows it, disable the pkey feature or restrict its use to reduce the attack surface
  • Consider hardening the system’s overall privilege model (e.g., enabling SELinux or enforcing strict LSM policies)

Generated by OpenCVE AI on October 20, 2026 at 13:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Debian DSA Debian DSA DSA-6405-1 linux security update
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-122
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
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.
Title s390/pkey: Check length in pkey_pckmo handler implementation
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:48 PM
Reserved
Jul 19, 2026, 3:36 PM
Status
Analyzed
Published
Jul 29, 2026, 5:16 PM
Modified
Nov 13, 2026, 6:20 PM
Severity
Important
Public date
Jul 29, 2026, 12:00 AM