CVE-2026-99224

Description

A flaw was found in the Linux kernel's key management subsystem. A local user can cause a Denial of Service (DoS) or potentially achieve arbitrary code execution by exploiting a race condition when retrieving key information while the corresponding kernel module is being unloaded. This issue occurs because the kernel accesses key type information without proper locking, leading to a use-after-free condition and a system crash.

Statement

A race in keyctl_describe_key can leave kasprintf using a saved key type name pointer after the module that owns the type and string has been unloaded. This is a concrete use after free read that can fault in string and cause a kernel oops or panic. It may also expose limited stale kernel data if the released storage remains readable and its contents are returned by KEYCTL_DESCRIBE, but there is no supported write primitive or privilege escalation path. For the CVSS the PR:L value is used in the paranoid vector because a local user with View permission can execute KEYCTL_DESCRIBE while a privileged module unload supplies the retirement event. The base vector uses PR:H because reliable self triggering normally requires control of module unload. AC:H reflects the required overlap between the two formatting passes and key type retirement.

Mitigation

--- CME Mitigation Guidance (2026-11-04) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.

The highest-value action is to block unprivileged invocation of keyctl syscalls via seccomp or disallow runtime unloading of kernel modules that register key types: upgrade to the corresponding fixed Red Hat builds, which hold key->sem for reading across the kasprintf call and release it before copying to userspace, closing race condition between KEYCTL_DESCRIBE and module unloading. Until patched, this is only a concern on Linux systems where local users have View permission on keys backed by dynamically unloadable kernel modules — non-Linux operating systems are unaffected — so prevent routine dynamic unloading of kernel modules and restrict untrusted local user permissions to create or view keys. As a compensating measure, enable runtime memory error detection using KASAN or HWASan to detect use-after-free memory access, enforce SELinux policy to restrict key security classes and deny unauthorized View permissions, map local users to confined SELinux domains lacking permissions to describe kernel keyrings, and deploy gVisor sandboxing to intercept syscalls and isolate the host kernel key subsystem. These controls limit blast radius and contain exploitation, but they do not fix the underlying locking race use-after-free defect — apply the upstream patch to fully remediate.

Highest-impact CME: CME-601 Kernel-Level Syscall Filtering (seccomp) (high)

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.7N/A7
Attack VectorLocalN/ALocal
Attack ComplexityHighN/AHigh
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/AHigh
Integrity ImpactNoneN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory

The use of previously freed memory may corrupt valid data, if the memory area in question has been allocated and used properly elsewhere.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If chunk consolidation occurs after the use of previously freed data, the process may crash when invalid data is used as chunk information.

Confidentiality

Technical Impact: Read Memory

Read operations on freed memory can sometimes leak sensitive information instead of causing a crash

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands

If malicious data is entered before chunk consolidation can take place, it may be possible to take advantage of a write-what-where primitive to execute arbitrary code. If the newly allocated data happens to hold a class, in C++ for example, various function pointers may be scattered within the heap data. If one of these function pointers is overwritten with an address to valid shellcode, execution of arbitrary code can be achieved.

Frequently Asked Questions

Want to get errata notifications? Sign up here.