<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-28T18:13:14.713546+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-97918</id>
    <title>CVE-2026-97918 — tracing: Undo the registration when enabling the histogram trigger fails</title>
    <updated>2026-09-28T18:13:16.016674+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>tracing: Undo the registration when enabling the histogram trigger fails</p>
<p>Commit 6f86bdeab633 ("tracing: Fix bad hist from corrupting named_triggers
list") described how a trigger that is registered but not on file-&gt;triggers
ends up freed while still on the global named_triggers list, and moved the
registration down so that hist_trigger_enable() follows it immediately. One
path still gets there. hist_trigger_enable() adds the trigger and takes it
straight back out when the event cannot be enabled:</p>
<p>list_add_tail_rcu(&amp;data-&gt;list, &amp;file-&gt;triggers);</p>
<p>update_cond_flag(file);</p>
<p>if (trace_event_trigger_enable_disable(file, 1) &lt; 0) {
		list_del_rcu(&amp;data-&gt;list);
		update_cond_flag(file);
		ret--;
	}</p>
<p>so the list walk in hist_unregister_trigger() matches nothing, test stays
NULL, and the -&gt;free() that would call del_named_trigger() is skipped.
out_unreg falls through to out_free, which frees the trigger anyway:</p>
<p>BUG: KASAN: slab-use-after-free in find_named_trigger+0xac/0xc0
 Read of size 8 at addr ffff8880091d3160 by task init/1
  find_named_trigger+0xac/0xc0
  hist_register_trigger+0xc1/0xa00
  event_hist_trigger_parse+0x3146/0x6af0
  event_trigger_write+0xce/0x160
 Freed by task 69:
  kfree+0x154/0x420
  trigger_kthread_fn+0xfd/0x160</p>
<p>Leave the trigger where hist_unregister_trigger() can find it and let that
undo the registration, which is the only code that knows all of what
cmd_ops-&gt;init() took: the named l…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-97918"/>
  </entry>
</feed>
