KEYS: fix overflow in keyctl_pkey_params_get_2() (Linux Linux)

CVE-2026-63824
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 00d60fd3b93219ea854220f0fd264b86398cbc53 < 622ec2dcd59f21623f2a7ab773c80ceb7d555e3a ; affected 00d60fd3b93219ea854220f0fd264b86398cbc53 < b1e247338bc71826a2d2def3e0874c34749df69a ; affected 00d60fd3b93219ea854220f0fd264b86398cbc53 < 0f3058d7d26f81df9b68a18ddbe164bdc3c5eff3 ; affected 00d60fd3b93219ea854220f0fd264b86398cbc53 < 5966e4e2ba213ab7ad559166152eb4f1f170dd2c ; affected 00d60fd3b93219ea854220f0fd264b86398cbc53 < 5165f1cc727f1322456735df212d8e26ec237a8d ; affected 00d60fd3b93219ea854220f0fd264b86398cbc53 < b11c1fa32667692a2c0566e10163758e786e430c
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.10.260 ≤ 5.10.* ; unaffected 5.15.211 ≤ 5.15.* ; unaffected 6.1.177 ≤ 6.1.* ; unaffected 6.6.144 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD