CVE-2026-99238

tracing: Hold trace_types_lock when updating modules in persistent instances

Published Nov 2, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

tracing: Hold trace_types_lock when updating modules in persistent instances

trace_module_record() walks ftrace_trace_arrays from the module notifier
without trace_types_lock. A concurrent rmdir of an instance removes it
from the list and frees it under that lock, so a module load or unload
can walk into a freed trace_array.

Analysis

AI-generated

Technical impact

The Linux kernel contains a use‑after‑free flaw in the tracing subsystem, classified as CWE‑825, which occurs when trace_module_record() iterates over ftrace_trace_arrays without holding trace_types_lock. If a concurrent removal of an instance frees the trace_array under that lock, the loading or unloading of a kernel module can walk into this freed memory. This kernel memory corruption can be leveraged by a local attacker to gain escalated privileges or to crash the system.

Affected Systems

Linux kernel (all versions impacted by the described race condition). No version details were supplied, so any currently running kernel should be treated as potentially vulnerable until a patch becomes available.

Risk and Exploitability

The flaw has a CVSS score of 7.8, indicating high severity. The EPSS score is <1%, indicating a very low but non‑zero exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a local process that can load or unload kernel modules. Exploitation would require an attacker with sufficient permissions to manipulate the kernel module notifier, potentially enabling privilege escalation or denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel security update that fixes the trace_types_lock race condition.
  • Disable or restrict kernel module loading if not needed, limiting modification of the tracing subsystem to trusted administrators.
  • Configure persistent instances to avoid concurrent removal during module operations, if possible.

Generated by OpenCVE AI on November 5, 2026 at 04:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9165-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9166-1 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: tracing: Hold trace_types_lock when updating modules in persistent instances trace_module_record() walks ftrace_trace_arrays from the module notifier without trace_types_lock. A concurrent rmdir of an instance removes it from the list and frees it under that lock, so a module load or unload can walk into a freed trace_array.
Title tracing: Hold trace_types_lock when updating modules in persistent instances
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
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'}

Weaknesses
  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 3, 2026, 7:13 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 2, 2026, 4:17 PM
Modified
Nov 3, 2026, 8:18 PM
Severity
Important
Public date
Nov 2, 2026, 4:06 PM