<?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-29T12:11:24.901470+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-97935</id>
    <title>CVE-2026-97935 — tracing: Set the trace clock before registering the histogram trigger</title>
    <updated>2026-09-29T12:11:25.607604+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: Set the trace clock before registering the histogram trigger</p>
<p>hist_register_trigger() puts the trigger on the global named_triggers
list in cmd_ops-&gt;init(), and only then sets the trace clock:</p>
<p>if (data-&gt;cmd_ops-&gt;init) {
		ret = data-&gt;cmd_ops-&gt;init(data);
		if (ret &lt; 0)
			goto out;
	}</p>
<p>if (hist_data-&gt;enable_timestamps) {
		ret = tracing_set_clock(file-&gt;tr, hist_data-&gt;attrs-&gt;clock);
		if (ret) {
			hist_err(tr, HIST_ERR_SET_CLOCK_FAIL, errpos(clock));
			goto out;
		}</p>
<p>The clock string is not checked anywhere before that call, so a named
trigger using common_timestamp with an unknown clock fails after it has
already become findable. event_hist_trigger_parse() then frees it
without taking it off the list, and the next lookup by name reads the
freed object:</p>
<p>~# cd /sys/kernel/tracing/events/sched/sched_switch
 ~# echo 'hist:name=foo:keys=common_pid:ts=common_timestamp:clock=bogus' &gt; trigger
 bash: echo: write error: Invalid argument
 ~# echo 'hist:name=foo:keys=common_pid' &gt; trigger</p>
<p>BUG: KASAN: slab-use-after-free in find_named_trigger+0xac/0xc0
  Read of size 8 at addr ffff88800915d760 by task init/1
   find_named_trigger+0xac/0xc0
   hist_register_trigger+0xc1/0x900
   event_hist_trigger_parse+0x3146/0x6af0
   event_trigger_write+0xce/0x160
  Freed by task 63:
   kfree+0x154/0x420
   trigger_kthread_fn+0xfd/0x160</p>
<p>Set the clock before the trigger is registered, so that nothing which
can fail…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-97935"/>
  </entry>
</feed>
