CVE-2026-97922
Received Received - Intake

Memory Leak in Linux Kernel Tracing

Vulnerability report for CVE-2026-97922, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-10-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: tracing: Free histogram var refs regardless of how often they are referenced Using the same variable three or more times in one hist trigger leaks the variable reference and its strings when the trigger is removed. commit 656fe2ba85e8 ("tracing: Use hist trigger's var_ref array to destroy var_refs") made a trigger's var_refs[] array the only owner of a var ref: destroy_hist_field() returns early for HIST_FIELD_FL_VAR_REF, so the field expressions never destroy one. One entry, freed once, no count needed. commit 8bcebc77e85f ("tracing: Fix histogram code when expression has same var as value") then made repeated references share one object and added a count of them. Only the increment side exists, since those expressions still return early and never drop a reference, so __destroy_hist_field() sees how many references were created rather than how many are left. It frees when the decremented count is 0 or 1, so two references work and three or more leak. Sharing kept one array entry per object, and create_var_ref() searches and appends within a single trigger, so nothing outside it holds the object. Removing a trigger whose variables are still referenced is already refused by check_var_refs() with -EBUSY. Drop the count and free unconditionally.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-10-03
Generated
2026-10-15
AI Q&A
2026-09-25
EPSS Evaluated
2026-10-14
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a memory leak in the tracing subsystem. When a histogram trigger uses the same variable three or more times, it fails to properly free the variable reference and its associated strings when the trigger is removed. This happens because the reference counting mechanism does not correctly track and release resources, leading to potential memory exhaustion over time.

Detection Guidance

This vulnerability is specific to the Linux kernel's tracing subsystem and requires kernel-level access to detect. Check if your kernel version includes the affected code by running: uname -a. If your kernel version is older than the fix commit (656fe2ba85e8 or 8bcebc77e85f), it may be vulnerable.

Impact Analysis

This vulnerability could impact systems running affected versions of the Linux kernel by causing memory leaks. Over time, this may lead to degraded performance, system instability, or crashes due to exhausted memory resources. It primarily affects systems using kernel tracing features with histogram triggers.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR, HIPAA, or similar standards as it pertains to kernel tracing functionality and does not involve data exposure or privacy violations.

Mitigation Strategies

Update your Linux kernel to a version that includes the fix commits (656fe2ba85e8 and 8bcebc77e85f). Check your distribution's security updates or compile a patched kernel. Avoid using histogram triggers with repeated variable references in tracing until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-97922. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart