Description
In the Linux kernel, the following vulnerability has been resolved:

KEYS: fix overflow in keyctl_pkey_params_get_2()

The length for the internal output buffer is calculated incorrectly, which
can result overflow when a too small buffer is provided.

Fix the bug by allocating internal output with the size of the maximum
length of the cryptographic primitive instead of caller provided size.
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel's key management subsystem, the function keyctl_pkey_params_get_2 calculates the size of an internal output buffer incorrectly. When a caller supplies a buffer smaller than the maximum size required for a cryptographic primitive, the kernel writes past the end of that buffer, corrupting memory. This out‑of‑bounds write is a CWE‑787 buffer overrun and can lead to kernel memory corruption. If an attacker can trigger the overflow, they could potentially gain local root privileges or cause system instability.

Affected Systems

The flaw resides in the core Linux kernel code, affecting all distributions running the vulnerable kernel version. Because no specific releases are listed, any unpatched kernel may be vulnerable. The vendor list identifies Linux:Linux, indicating widespread impact across all Linux systems that have not applied the patch.

Risk and Exploitability

The CVSS score of 7.8 classifies this as a high‑severity vulnerability. The EPSS score of less than 1% indicates that exploitation is unlikely to be common in the near term. The vulnerability is not listed in the CISA KEV catalog. In terms of attack vector, the likely scenario involves a local attacker invoking the keyctl system call with an undersized buffer; based on the description, it is inferred that the attacker would need local access to the system to exploit the flaw. Successful exploitation could result in kernel memory corruption, privilege escalation, or a denial of service.

Generated by OpenCVE AI on July 30, 2026 at 22:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the keyctl_pkey_params_get_2 patch
  • If an immediate upgrade is not feasible, restrict keyctl usage to privileged processes or disable the keys subsystem for untrusted users
  • Monitor system logs and kernel crash dumps for signs of memory corruption or kernel panics

Generated by OpenCVE AI on July 30, 2026 at 22:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4700-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4717-1 linux security update
History

Tue, 21 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Important


Mon, 20 Jul 2026 14:45:00 +0000

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'}


Sun, 19 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: KEYS: fix overflow in keyctl_pkey_params_get_2() The length for the internal output buffer is calculated incorrectly, which can result overflow when a too small buffer is provided. Fix the bug by allocating internal output with the size of the maximum length of the cryptographic primitive instead of caller provided size.
Title KEYS: fix overflow in keyctl_pkey_params_get_2()
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-05T12:36:07.930Z

Reserved: 2026-07-19T07:54:57.014Z

Link: CVE-2026-63824

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63824 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T22:15:13Z

Weaknesses