---
id: CVE-2026-63824
title: |-
  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…
summary: |-
  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…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
published: '2026-07-19'
updated: '2026-08-17'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-63824'
references:
  - url: 'https://git.kernel.org/stable/c/0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5165f1cc727f1322456735df212d8e26ec237a8d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5966e4e2ba213ab7ad559166152eb4f1f170dd2c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/622ec2dcd59f21623f2a7ab773c80ceb7d555e3a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/670fc6a311ed321522b7fff92cf0fc376b4f6e78'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b11c1fa32667692a2c0566e10163758e786e430c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b1e247338bc71826a2d2def3e0874c34749df69a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cb481e59ea6cae3b7796ac1d7a22b6b24c3f3c0b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.0013
epssPercentile: 0.02163
ingestedAt: '2026-08-17T05:47:49.880Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
