Skip to main content
Vulnerability Database/CVE-2026-97924

CVE-2026-97924: Linux Kernel Privilege Escalation Vulnerability

CVE-2026-97924 is a privilege escalation flaw in the Linux kernel tracing subsystem that causes inconsistent event states. This post explains its technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97924 Overview

CVE-2026-97924 is a Linux kernel vulnerability in the tracing/user_events subsystem. The flaw resides in destroy_user_event(), which destroys an event's field list before attempting to remove the trace event call. When user_event_set_call_visible() fails, typically because the event is still enabled and trace_remove_event_call() returns -EBUSY, the event remains registered with an irreversibly destroyed field list. Subsequent interactions with the event operate on an empty field list while the event stays fully visible in tracefs, leaving the kernel in an inconsistent state.

Critical Impact

A failed user event removal leaves a visible trace event with a destroyed field list, enabling further operations on corrupted kernel data structures.

Affected Products

  • Linux kernel versions implementing tracing/user_events
  • Distributions shipping affected stable kernel branches
  • Systems with CONFIG_USER_EVENTS enabled

Discovery Timeline

  • 2026-09-25 - CVE-2026-97924 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97924

Vulnerability Analysis

The defect lies in the ordering of cleanup operations inside destroy_user_event(). The function first tears down the event's field list, then calls user_event_set_call_visible() to remove the trace event call. If removal fails because the event is still enabled, the kernel returns -EBUSY from trace_remove_event_call(), but the field destruction has already occurred and cannot be undone.

The event remains registered and visible under tracefs, exposing an interface that references a now-empty field list. Any user space or kernel code that subsequently reads, writes, or parses the event walks a stale, empty structure instead of the fields the event was created with.

The upstream fix moves field destruction after the call removal and splices the field list back onto the event when removal fails. This preserves the event in a consistent state across failure paths.

Root Cause

The root cause is incorrect cleanup ordering combined with missing rollback on error. The code assumed removal would always succeed, so no mechanism existed to restore destroyed fields when trace_remove_event_call() returned an error.

Attack Vector

Triggering the condition requires local access to interact with user events through tracefs. A process must initiate event destruction while the event remains enabled, forcing the -EBUSY return path. The impact is confined to kernel state corruption affecting tracing infrastructure; no network-reachable attack surface is involved.

See the upstream fix commits for implementation details: Kernel Git Commit 0892da2, Kernel Git Commit 2deb753, Kernel Git Commit 62d6544, and Kernel Git Commit 9c62b7e.

Detection Methods for CVE-2026-97924

Indicators of Compromise

  • Trace events present in /sys/kernel/tracing/events/user_events/ with empty or missing field definitions
  • Kernel log entries referencing destroy_user_event paired with -EBUSY returns from trace_remove_event_call
  • Unexpected failures when reading or enabling previously registered user events

Detection Strategies

  • Audit systems with CONFIG_USER_EVENTS=y and inventory the running kernel version against patched stable releases
  • Monitor processes interacting with /sys/kernel/tracing/user_events_data and correlate with event enable or delete operations
  • Review kernel build metadata to confirm whether backports from the referenced upstream commits are present

Monitoring Recommendations

  • Collect kernel ring buffer messages for anomalies in the user_events subsystem
  • Alert on local processes repeatedly issuing user event registration and deletion sequences
  • Track tracefs mount access by non-root processes where unexpected

How to Mitigate CVE-2026-97924

Immediate Actions Required

  • Update to a Linux kernel release containing the fix commits referenced in the upstream advisory
  • Restrict access to tracefs and user_events interfaces to trusted administrative accounts
  • Audit which workloads require CONFIG_USER_EVENTS and disable it where unused

Patch Information

The fix moves field destruction after the call removal and splices the field list back onto the event when removal fails. Apply the upstream commits 0892da2, 2deb753, 62d6544, or 9c62b7e as backported to the appropriate stable kernel branch. Distribution vendors will issue kernel updates incorporating these commits; apply vendor updates as they become available.

Workarounds

  • Disable CONFIG_USER_EVENTS in custom kernel builds where the feature is not required
  • Remove or restrict permissions on /sys/kernel/tracing/user_events_data to prevent unprivileged registration and deletion
  • Unmount tracefs on production hosts that do not require active tracing
bash
# Restrict tracefs access to root only
mount -o remount,mode=0700 /sys/kernel/tracing

# Verify running kernel against patched versions
uname -r

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.