CVE-2026-99238

Description

A flaw was found in the Linux kernel's tracing subsystem. A local attacker could exploit this vulnerability to achieve privilege escalation or cause a Denial of Service (DoS) by crashing the system. The issue is caused by a race condition where module records are updated without acquiring the proper lock during module loading or unloading. This missing synchronization allows a concurrently removed tracing instance to be accessed after being freed, resulting in a use-after-free condition.

Statement

This vulnerability is rated as Important severity because an attacker with local access who can manage tracing instances can exploit a race condition during dynamic module events to trigger memory corruption, potentially escalating privileges to the kernel level or causing a system crash. In standard Red Hat Enterprise Linux deployments, access to the tracefs hierarchy is restricted to privileged administrators by default, which substantially limits the exposure to non-root users. The flaw specifically requires write permissions to create and delete directory structures within the tracing instances pseudo-filesystem.

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 acquire trace_types_lock before traversing ftrace_trace_arrays in trace_module_record during module loading or unloading: upgrade to the fixed release, which acquire trace_types_lock with a mutex guard before iterating over ftrace_trace_arrays in trace_module_record(), closing concurrent tracefs instance removal during module loading or unloading. Until patched, this is only a concern on Linux systems where local authenticated users can modify tracefs directory structures and trigger module loading or unloading — Non-Linux operating systems are unaffected — so Restrict write permissions to tracefs hierarchy directories, drop CAP_SYS_ADMIN, and restrict dynamic kernel module loading and unloading. As a compensating measure, audit syscalls targeting tracefs directory removal and module loading events, detect anomalous privilege escalation and tracing manipulation using eBPF probes, detect kernel use-after-free memory dereferences with runtime memory error detection, enforce non-executable permissions on kernel heap structures using the NX/XD bit, randomize kernel code locations with KASLR to hinder control-flow redirection, and prevent kernel execution of userspace code during privilege escalation via SMEP. These controls limit blast radius and contain exploitation, but they do not fix the underlying use-after-free race condition defect — apply the upstream patch to fully remediate.

Highest-impact CME: CME-107 Kernel Module Loading Restriction (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 Score7.8N/A7.8
Attack VectorLocalN/ALocal
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

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

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

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands

If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.

Frequently Asked Questions

Want to get errata notifications? Sign up here.