<?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://db.gcve.eu</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>Thu, 12 Nov 2026 14:58:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99234 — tracing: Unregister field variable histograms when the command fails</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99234</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: Unregister field variable histograms when the command fails&lt;/p&gt;
&lt;p&gt;An action that names a field on another event needs that field as a
variable, so create_field_var_hist() registers a second hist trigger on
that event to provide it, and records it in
target_hist_data-&amp;gt;field_var_hists[].&lt;/p&gt;
&lt;p&gt;If a later part of the same command fails, create_actions() returns an
error and event_hist_trigger_parse() jumps to out_free. The write fails
with -EINVAL and sched_switch gets no trigger, but:&lt;/p&gt;
&lt;p&gt;# echo &amp;#39;hist:keys=pid:ts0=common_timestamp.usecs&amp;#39; &amp;gt;&amp;gt; \
      events/sched/sched_waking/trigger
  # echo &amp;#39;my_synth u64 lat; int a; int b&amp;#39; &amp;gt;&amp;gt; synthetic_events
  # echo &amp;#39;hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:\
      onmatch(sched.sched_waking).my_synth($wakeup_lat,prio,nosuchfld)&amp;#39;\
      &amp;gt;&amp;gt; events/sched/sched_switch/trigger
  # cat events/sched/sched_waking/trigger
  hist:keys=pid:vals=hitcount:ts0=common_timestamp.usecs:sort=hitcount:size=2048:clock=global [active]
  hist:keys=pid:vals=hitcount:synthetic_prio=prio:sort=hitcount:size=2048 [active]&lt;/p&gt;
&lt;p&gt;The second histogram is the one created for &amp;#39;prio&amp;#39;. It is still active and
still counting.&lt;/p&gt;
&lt;p&gt;out_free reaches destroy_field_var_hists(), which frees the
field_var_hists[] entries, but never unregister_field_var_hists(), which is
what removes the triggers and runs only from event_hist_trigger_free(). The
entry is freed and the trigger is left with nothing tracking it.…&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: Unregister field variable histograms when the command fails&lt;/p&gt;
&lt;p&gt;An action that names a field on another event needs that field as a
variable, so create_field_var_hist() registers a second hist trigger on
that event to provide it, and records it in
target_hist_data-&amp;gt;field_var_hists[].&lt;/p&gt;
&lt;p&gt;If a later part of the same command fails, create_actions() returns an
error and event_hist_trigger_parse() jumps to out_free. The write fails
with -EINVAL and sched_switch gets no trigger, but:&lt;/p&gt;
&lt;p&gt;# echo &amp;#39;hist:keys=pid:ts0=common_timestamp.usecs&amp;#39; &amp;gt;&amp;gt; \
      events/sched/sched_waking/trigger
  # echo &amp;#39;my_synth u64 lat; int a; int b&amp;#39; &amp;gt;&amp;gt; synthetic_events
  # echo &amp;#39;hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:\
      onmatch(sched.sched_waking).my_synth($wakeup_lat,prio,nosuchfld)&amp;#39;\
      &amp;gt;&amp;gt; events/sched/sched_switch/trigger
  # cat events/sched/sched_waking/trigger
  hist:keys=pid:vals=hitcount:ts0=common_timestamp.usecs:sort=hitcount:size=2048:clock=global [active]
  hist:keys=pid:vals=hitcount:synthetic_prio=prio:sort=hitcount:size=2048 [active]&lt;/p&gt;
&lt;p&gt;The second histogram is the one created for &amp;#39;prio&amp;#39;. It is still active and
still counting.&lt;/p&gt;
&lt;p&gt;out_free reaches destroy_field_var_hists(), which frees the
field_var_hists[] entries, but never unregister_field_var_hists(), which is
what removes the triggers and runs only from event_hist_trigger_free(). The
entry is freed and the trigger is left with nothing tracking it.…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99234</guid>
    </item>
  </channel>
</rss>
