Description
In the Linux kernel, the following vulnerability has been resolved:

tracing: Free histogram the var ref when its initialization fails

create_var_ref() allocates a VAR_REF hist_field and then calls
init_var_ref() to fill it in. When that fails the field is leaked.

commit 656fe2ba85e8 ("tracing: Use hist trigger's var_ref array to destroy
var_refs") made destroy_hist_field() return early for
HIST_FIELD_FL_VAR_REF, since var refs are freed by walking the trigger's
var_refs[] array instead. create_var_ref() adds the field to that array
only after init_var_ref() has succeeded, so on this path the field is in
neither place and nothing frees it. The call was correct when it was
written, before var refs were taken out of destroy_hist_field().

init_var_ref() cannot free it either. The caller owns the field, so
init_var_ref() undoes only its own string allocations and leaves the
field alone. Freeing it there would leave create_var_ref() passing freed
memory to destroy_hist_field(), which reads its flags.

Call __destroy_hist_field(), which frees the field without consulting
the flag.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Resource Exhaustion / Denial of Service
Action: Update Kernel
AI Analysis

Impact

The vulnerability occurs when the Linux kernel attempts to create a histogram variable reference for tracing. If the initialization fails, the allocated field is not freed, leaking memory. Repeated allocations can eventually exhaust kernel memory, leading to system instability or denial of service. The underlying weakness is improper resource management.

Affected Systems

Affected systems are Linux kernels running the legacy tracing code that does not include the commit that fixes the problem. Any distribution using a kernel version prior to the integration of commit 656fe2ba85e8 is potentially vulnerable. The CVE does not list explicit affected releases, so systems should verify whether the patch is present or upgrade to a newer kernel.

Risk and Exploitability

The CVSS score of 5.5 indicates a medium severity, and the EPSS score is below 1%, reflecting a low probability of exploitation under normal conditions. Attacking this flaw requires inducing a failure in the creation of a tracing var_ref, which is an operation generally restricted to privileged kernel code or to processes that can load or control tracepoints. This suggests a local or privileged attack vector and a low likelihood of widespread exploitation, especially given that the vulnerability is not listed in CISA KEV. Nevertheless, the potential for gradual memory exhaustion makes prompt remediation advisable.

Generated by OpenCVE AI on October 1, 2026 at 08:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes commit 656fe2ba85e8 or later to ensure proper cleanup of histogram var_ref fields.
  • If upgrade is not immediately possible, disable or restrict the kernel tracing features that create var_ref entries, for example by configuring relevant sysctl options or disabling unnecessary tracepoints.
  • If the vulnerable kernel must remain in use, apply a manual patch or backport the fix so that failures in init_var_ref result in freeing the allocated field.
  • Monitor system memory usage for unexpected growth and reboot if sudden memory pressure is observed to mitigate possible denial‑of‑service caused by the leak.

Generated by OpenCVE AI on October 1, 2026 at 08:43 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
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

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


Thu, 01 Oct 2026 07:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

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 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

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 the var ref when its initialization fails create_var_ref() allocates a VAR_REF hist_field and then calls init_var_ref() to fill it in. When that fails the field is leaked. commit 656fe2ba85e8 ("tracing: Use hist trigger's var_ref array to destroy var_refs") made destroy_hist_field() return early for HIST_FIELD_FL_VAR_REF, since var refs are freed by walking the trigger's var_refs[] array instead. create_var_ref() adds the field to that array only after init_var_ref() has succeeded, so on this path the field is in neither place and nothing frees it. The call was correct when it was written, before var refs were taken out of destroy_hist_field(). init_var_ref() cannot free it either. The caller owns the field, so init_var_ref() undoes only its own string allocations and leaves the field alone. Freeing it there would leave create_var_ref() passing freed memory to destroy_hist_field(), which reads its flags. Call __destroy_hist_field(), which frees the field without consulting the flag.
Title tracing: Free histogram the var ref when its initialization fails
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:50.106Z

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

Link: CVE-2026-97923

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-97923

cve-icon Redhat

Severity : Low

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

Links: CVE-2026-97923 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T08:45:03Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime