All reports
High

kernel: KEYS: fix overflow in keyctl_pkey_params_get_2()

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-63824

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-18

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.

A flaw was found in the Linux kernel's keyctl_pkey_params_get_2() function within the KEYS subsystem. The vulnerability arises from an incorrect calculation of the internal output buffer's length, which can lead to a buffer overflow when a user-provided buffer is too small. This flaw could allow a local attacker to corrupt memory, potentially leading to a denial of service or other unspecified impacts.