<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 28 Sep 2026 23:41:07 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-97922 — tracing: Free histogram var refs regardless of how often they are referenced</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-97922</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;tracing: Free histogram var refs regardless of how often they are referenced&lt;/p&gt;
&lt;p&gt;Using the same variable three or more times in one hist trigger leaks the
variable reference and its strings when the trigger is removed.&lt;/p&gt;
&lt;p&gt;commit 656fe2ba85e8 (&amp;#34;tracing: Use hist trigger&amp;#39;s var_ref array to destroy
var_refs&amp;#34;) made a trigger&amp;#39;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.&lt;/p&gt;
&lt;p&gt;commit 8bcebc77e85f (&amp;#34;tracing: Fix histogram code when expression has same
var as value&amp;#34;) 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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;tracing: Free histogram var refs regardless of how often they are referenced&lt;/p&gt;
&lt;p&gt;Using the same variable three or more times in one hist trigger leaks the
variable reference and its strings when the trigger is removed.&lt;/p&gt;
&lt;p&gt;commit 656fe2ba85e8 (&amp;#34;tracing: Use hist trigger&amp;#39;s var_ref array to destroy
var_refs&amp;#34;) made a trigger&amp;#39;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.&lt;/p&gt;
&lt;p&gt;commit 8bcebc77e85f (&amp;#34;tracing: Fix histogram code when expression has same
var as value&amp;#34;) 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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-97922</guid>
    </item>
  </channel>
</rss>
