<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-29T16:32:58.528781+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/cve-2026-99141</id>
    <title>CVE-2026-99141 — tracing: Fix crash in print_graph_function_event()</title>
    <updated>2026-10-29T16:32:58.530451+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: Fix crash in print_graph_function_event()</p>
<p>tracing_set_tracer() assigns the flags of the newly selected tracer
with:</p>
<p>tr-&gt;current_trace_flags = t-&gt;flags ? : t-&gt;tracer-&gt;flags;</p>
<p>If the new tracer defines neither static flags nor default flags, like
hwlat, irqsoff or wakeup, add_tracer() has no per instance flags copy
for it, and both operands are NULL, so tr-&gt;current_trace_flags ends up
being NULL as well.</p>
<p>The ring buffer is not cleared when switching tracers: it is reset
inside tracer_init(), after current_trace_flags was already assigned.
If the buffer still holds function_graph entries of the previous
tracer, printing one of them dereferences the NULL pointer. This was
hit by cat trace during an ftrace stress test:</p>
<p>BUG: kernel NULL pointer dereference, address: 0000000000000000
  #PF: supervisor read access in kernel mode
  RIP: 0010:print_graph_function_event+0xe/0x20
  Call Trace:
   s_show+0x4d/0x110
   seq_read_iter+0x2d4/0x490
   seq_read+0x130/0x170
   vfs_read+0xb5/0x370
   ksys_read+0x6d/0xe0
   do_syscall_64+0xbc/0x450</p>
<p>The snapshot buffer is not reset at all, so this can be reproduced
without a race:</p>
<p>echo function_graph &gt; /sys/kernel/tracing/current_tracer
  echo 1 &gt; /sys/kernel/tracing/snapshot
  echo hwlat &gt; /sys/kernel/tracing/current_tracer
  cat /sys/kernel/tracing/snapshot</p>
<p>Rather than teaching every user of tr-&gt;current_trace_flags about this
corner case, make sure it is ne…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-99141"/>
  </entry>
</feed>
