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.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Leak and Resource Exhaustion
Action: Patch Now
AI Analysis

Impact

The patch addresses a flaw in the Linux kernel’s tracing subsystem where a histogram trigger that references the same variable three or more times fails to properly decrement its reference count. When the trigger is removed, variable references and their associated strings remain allocated, causing memory exhaustion and leaking sensitive data. The vulnerability is a reference‑counting bug that can lead to uncontrolled memory growth and accidental disclosure of kernel memory contents. Based on the description, the likely attack vector is a privileged process that creates and removes tracing histogram triggers; it is not a remote code execution flaw, but it can impair system stability or leak information in a local or device‑owner context.

Affected Systems

This issue impacts all Linux kernel releases that include the old histogram implementation before commit 8bcebc77e85f and 656fe2ba85e8 were merged. The exact affected version numbers are not specified, but any kernel that has not been updated to incorporate these patches is susceptible.

Risk and Exploitability

Because the exploitation requires manipulation of internal tracing APIs and is limited to users with sufficient kernel privileges, the likelihood of widespread exploitation is low. The EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog, indicating that there are no known widespread exploitation or active use cases. Nonetheless, the unchanged reference count can cause a gradual memory leak that may eventually lead to system instability or denial of service in environments with heavy tracing usage. The vulnerability’s severity is quantified by a CVSS score of 5.5, so risk assessment should be based on the described impact and local privilege requirements.

Generated by OpenCVE AI on October 1, 2026 at 06:45 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that contains the fix introduced by commits 656fe2ba85e8 and 8bcebc77e85f.
  • Reboot the system so the updated kernel is loaded and the trace histogram functionality no longer leaks variable references.
  • If an immediate kernel upgrade is not feasible, temporarily disable the histogram trigger feature in your tracing configuration or by removing CONFIG_TRACE_HISTOGRAM from the kernel .config to avoid the vulnerability until the kernel is patched.

Generated by OpenCVE AI on October 1, 2026 at 06:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Sat, 03 Oct 2026 11:15:00 +0000


Wed, 30 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Fri, 25 Sep 2026 20:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-727

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title tracing: Free histogram var refs regardless of how often they are referenced
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:10:49.154Z

Reserved: 2026-09-25T10:18:58.202Z

Link: CVE-2026-97922

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:19.287

Modified: 2026-10-19T10:17:42.943

Link: CVE-2026-97922

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97922 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T07:00:03Z

Weaknesses
  • CWE-727
  • CWE-772

    Missing Release of Resource after Effective Lifetime