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

keys: Pin request_key_auth payload in instantiate paths

A: request_key() B: KEYCTL_INSTANTIATE_IOV
================ =========================

create auth key
store rka in auth key
wait for helper
get auth key
load rka from auth key
copy user payload
sleep on #PF

helper completed
detach and free rka
destroy auth key
wake up
use rka->target_key
**USE-AFTER-FREE**

Give request_key_auth payloads a refcount. Take a payload reference while
authkey->sem stabilizes the payload and revocation state. Hold that
reference across the instantiate and reject paths. Drop the auth key
owning reference from revoke and destroy.

[jarkko: Replaced the first two paragraphs of text with an actual
concurrency scenario.]
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The kernel defect arises when authentication payloads supplied to the request_key() helper are not reference‑counted during revocation or destruction. Because the payload may be freed while still being accessed in the instantiate path, an attacker can trigger a use‑after‑free that corrupts kernel memory. Such corruption could compromise process integrity, provide privilege escalation, or cause a denial‑of‑service by crashing the kernel.

Affected Systems

All Linux kernel builds that expose the keyctl subsystem and the request_key() interface are potentially vulnerable. The advisory lists no explicit version range, so any kernel older than the revision that incorporates the fix must be considered affected. Distribution kernels should be checked for inclusion of the patch referenced in the linked Git commit logs.

Risk and Exploitability

The CVSS score of 7.8 reflects a moderate‑to‑high severity, while an EPSS score of <1% indicates a very low probability of exploitation in the wild. The vulnerability is not present in the CISA KEV catalog. Because the flaw requires triggering a request_key() operation that involves keyctl with appropriate privileges (CAP_KEY), the likely attack vector is local. Remote exploitation would require an untrusted application that uses keyctl interfaces and is not otherwise restricted.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that contains the referenced fix.
  • If a kernel upgrade cannot be performed immediately, remove CAP_KEY from untrusted processes or enforce a SELinux/AppArmor policy to tightly control keyctl usage.
  • After applying the patch or tightening controls, review kernel logs for any key‑related errors and confirm that keyctl functions normally for trusted applications.

Generated by OpenCVE AI on July 30, 2026 at 22:11 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-825
References
Metrics threat_severity

None

threat_severity

Moderate


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: Pin request_key_auth payload in instantiate paths A: request_key() B: KEYCTL_INSTANTIATE_IOV ================ ========================= create auth key store rka in auth key wait for helper get auth key load rka from auth key copy user payload sleep on #PF helper completed detach and free rka destroy auth key wake up use rka->target_key **USE-AFTER-FREE** Give request_key_auth payloads a refcount. Take a payload reference while authkey->sem stabilizes the payload and revocation state. Hold that reference across the instantiate and reject paths. Drop the auth key owning reference from revoke and destroy. [jarkko: Replaced the first two paragraphs of text with an actual concurrency scenario.]
Title keys: Pin request_key_auth payload in instantiate paths
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:06.856Z

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

Link: CVE-2026-63823

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-63823 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-825

    Expired Pointer Dereference