<?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-10-02T09:53:42.216877+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-64451</id>
    <title>CVE-2026-64451 — tracing: Fix NULL pointer dereference in func_set_flag()</title>
    <updated>2026-10-02T09:53:42.237024+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 NULL pointer dereference in func_set_flag()</p>
<p>func_set_flag() dereferences tr-&gt;current_trace_flags before verifying
that the current tracer is actually the function tracer. When the active
tracer has been switched away from "function" (e.g., to "wakeup_rt"),
tr-&gt;current_trace_flags can be NULL, leading to a NULL pointer
dereference and kernel crash.</p>
<p>The call chain that triggers this is:</p>
<p>trace_options_write()
    -&gt; __set_tracer_option()
      -&gt; trace-&gt;set_flag()          /* func_set_flag */</p>
<p>In func_set_flag(), the first operation is:</p>
<p>if (!!set == !!(tr-&gt;current_trace_flags-&gt;val &amp; bit))</p>
<p>This dereferences tr-&gt;current_trace_flags unconditionally. The safety
check that guards against a non-function tracer:</p>
<p>if (tr-&gt;current_trace != &amp;function_trace)
      return 0;</p>
<p>is placed *after* the dereference, which is too late.</p>
<p>This was observed with the following crash dump:</p>
<p>BUG: unable to handle page fault at 0000000000000000
  RIP: func_set_flag+0xd</p>
<p>Call Trace:
   __set_tracer_option+0x27
   trace_options_write+0x75
   vfs_write+0x12a
   ksys_write+0x66
   do_syscall_64+0x5b</p>
<p>RIP: ffffffff914c973d  RSP: ff67ec88b01dfdf0  RFLAGS: 00010202
  RAX: 0000000000000000  RBX: ff3a826e80354580  RCX: 0000000000000001
  RDX: 0000000000000001  RSI: 0000000000000000  RDI: ffffffff93918080</p>
<p>The disassembly confirms the fault:</p>
<p>func_set_flag+0:   mov 0x1f08(%rdi), %rax  ; RAX = tr-&gt;current_trace_fla…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-64451"/>
  </entry>
</feed>
