CVE-2026-99237

tracing: Hold trace_types_lock when resetting last boot data from readers

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 resetting last boot data from readers

update_last_data_if_empty() is called from tracing_open() with O_TRUNC,
tracing_read_pipe() and tracing_buffers_read() without trace_types_lock.
Two readers can both pass the LAST_BOOT test and free module_delta
twice, and a module notifier can update module_delta while it is being
freed.

Take trace_types_lock in those paths and keep the callers that already
hold it on an unlocked variant.

Analysis

AI-generated

Technical impact

A race condition in the Linux kernel tracing subsystem allows multiple threads to free the same module_delta data twice or to update it while it is being freed. The resulting double‑free or use‑after‑free can corrupt kernel memory, causing kernel crashes or, depending on the attacker’s ability to control the freed data, arbitrary code execution. The flaw arises because the functions tracing_open, tracing_read_pipe, and tracing_buffers_read do not hold trace_types_lock before manipulating module_delta, violating the kernel’s memory safety guarantees.

Affected Systems

All Linux kernel releases are affected because the source references the generic "Linux:Linux" vendor–product pair and no specific version scope is listed. The vulnerability exists in any kernel configuration that enables the tracing subsystem, including the default kernel image used on most production systems.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity flaw. The EPSS score of < 1% suggests a low probability of exploitation. The issue is not listed in the CISA KEV catalog, indicating no publicly known exploits. Exploitation would require an attacker with local or privileged access to trigger concurrent trace reads or open operations, which is a realistic scenario for privileged users or compromised applications.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to the patched release that corrects the trace_types_lock handling in the tracing subsystem.
  • If a kernel upgrade cannot be performed immediately, temporarily disable tracefs or unload the tracing module to eliminate the race condition until the fix is applied.
  • Continuously monitor system logs for kernel crashes or abnormal tracefs activity, and apply any subsequent security updates as soon as they become available.

Generated by OpenCVE AI on November 3, 2026 at 16:33 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-415
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-362
CWE-415
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: tracing: Hold trace_types_lock when resetting last boot data from readers update_last_data_if_empty() is called from tracing_open() with O_TRUNC, tracing_read_pipe() and tracing_buffers_read() without trace_types_lock. Two readers can both pass the LAST_BOOT test and free module_delta twice, and a module notifier can update module_delta while it is being freed. Take trace_types_lock in those paths and keep the callers that already hold it on an unlocked variant.
Title tracing: Hold trace_types_lock when resetting last boot data from readers
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-366

    Race Condition within a Thread

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