CVE-2026-68177

tracing: Delay module ref count for "enable_event" trigger

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

tracing: Delay module ref count for "enable_event" trigger

Triggers are now delayed from freeing, but can still be triggered until
after the RCU grace period has ended. The freeing of the enable_event data
is put into the private_data_free() callback, but the put of the module
refcount is done immediately.

It is possible that if a module is removed that has an event that would
enable (or disable) it is still active, it can read the data of the module
after it is removed causing a use-after-free bug.

Move the trace_event_put_ref() that releases the module into the delayed
callback so that the module can not be removed until any reference to its
events are finished.

Analysis

AI-generated

Technical impact

The Linux kernel contains a flaw in the tracing subsystem where the module reference counter is decremented immediately after a module with an active tracing enable_event trigger is removed. Although the event trigger is delayed until after the RCU grace period, the module can still be unloaded, allowing the system to read or execute freed memory. This results in a classic use‑after‑free condition that could lead to a kernel panic, data corruption, or malicious code execution if an attacker can trigger the enable_event after the module has been removed.

Affected Systems

All Linux kernel installations are potentially affected because the vulnerability exists in the core tracing framework and no specific kernel version range is listed. Any system running a kernel that includes this unpatched tracing code is at risk.

Risk and Exploitability

The issue is a race condition and use‑after‑free flaw (CWE‑825) with a CVSS score of 7.8. The EPSS score is listed as <1%, indicating a low probability of exploitation in the wild, and the vulnerability is not currently in CISA’s KEV catalog. Exploitation requires the ability to unload kernel modules and trigger tracing events, typically available only to privileged users or compromised devices. While the immediate threat is low, kernel developers consider it a high‑severity flaw if the conditions are met.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest vendor patch that defers the module reference decrement until all event references are cleared
  • Restrict kernel module loading and unloading to trusted users and disable automatic module unloading where possible
  • Monitor kernel logs for anomalies related to tracing events and module unloads to detect potential exploitation

Generated by OpenCVE AI on August 13, 2026 at 23:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
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'}

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
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: Delay module ref count for "enable_event" trigger Triggers are now delayed from freeing, but can still be triggered until after the RCU grace period has ended. The freeing of the enable_event data is put into the private_data_free() callback, but the put of the module refcount is done immediately. It is possible that if a module is removed that has an event that would enable (or disable) it is still active, it can read the data of the module after it is removed causing a use-after-free bug. Move the trace_event_put_ref() that releases the module into the delayed callback so that the module can not be removed until any reference to its events are finished.
Title tracing: Delay module ref count for "enable_event" trigger
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 5:00 AM
Reserved
Jul 30, 2026, 9:28 AM
Status
Received
Published
Aug 10, 2026, 1:20 PM
Modified
Aug 17, 2026, 5:18 AM
Severity
Moderate
Public date
Aug 10, 2026, 12:00 AM