<?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://vulnerability.circl.lu</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>Wed, 30 Sep 2026 15:25:02 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-52879 — tracing: Have trace_event_file have ref counters</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-52879</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: Have trace_event_file have ref counters&lt;/p&gt;
&lt;p&gt;The following can crash the kernel:&lt;/p&gt;
&lt;p&gt;# cd /sys/kernel/tracing
 # echo &amp;#39;p:sched schedule&amp;#39; &amp;gt; kprobe_events
 # exec 5&amp;gt;&amp;gt;events/kprobes/sched/enable
 # &amp;gt; kprobe_events
 # exec 5&amp;gt;&amp;amp;-&lt;/p&gt;
&lt;p&gt;The above commands:&lt;/p&gt;
&lt;p&gt;1. Change directory to the tracefs directory
 2. Create a kprobe event (doesn&amp;#39;t matter what one)
 3. Open bash file descriptor 5 on the enable file of the kprobe event
 4. Delete the kprobe event (removes the files too)
 5. Close the bash file descriptor 5&lt;/p&gt;
&lt;p&gt;The above causes a crash!&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000028
 #PF: supervisor read access in kernel mode
 #PF: error_code(0x0000) - not-present page
 PGD 0 P4D 0
 Oops: 0000 [#1] PREEMPT SMP PTI
 CPU: 6 PID: 877 Comm: bash Not tainted 6.5.0-rc4-test-00008-g2c6b6b1029d4-dirty #186
 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
 RIP: 0010:tracing_release_file_tr+0xc/0x50&lt;/p&gt;
&lt;p&gt;What happens here is that the kprobe event creates a trace_event_file
&amp;#34;file&amp;#34; descriptor that represents the file in tracefs to the event. It
maintains state of the event (is it enabled for the given instance?).
Opening the &amp;#34;enable&amp;#34; file gets a reference to the event &amp;#34;file&amp;#34; descriptor
via the open file descriptor. When the kprobe event is deleted, the file is
also deleted from the tracefs system which also frees the event &amp;#34;file&amp;#34;
descriptor.&lt;/p&gt;
&lt;p&gt;But as the tracefs file is s…&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: Have trace_event_file have ref counters&lt;/p&gt;
&lt;p&gt;The following can crash the kernel:&lt;/p&gt;
&lt;p&gt;# cd /sys/kernel/tracing
 # echo &amp;#39;p:sched schedule&amp;#39; &amp;gt; kprobe_events
 # exec 5&amp;gt;&amp;gt;events/kprobes/sched/enable
 # &amp;gt; kprobe_events
 # exec 5&amp;gt;&amp;amp;-&lt;/p&gt;
&lt;p&gt;The above commands:&lt;/p&gt;
&lt;p&gt;1. Change directory to the tracefs directory
 2. Create a kprobe event (doesn&amp;#39;t matter what one)
 3. Open bash file descriptor 5 on the enable file of the kprobe event
 4. Delete the kprobe event (removes the files too)
 5. Close the bash file descriptor 5&lt;/p&gt;
&lt;p&gt;The above causes a crash!&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000028
 #PF: supervisor read access in kernel mode
 #PF: error_code(0x0000) - not-present page
 PGD 0 P4D 0
 Oops: 0000 [#1] PREEMPT SMP PTI
 CPU: 6 PID: 877 Comm: bash Not tainted 6.5.0-rc4-test-00008-g2c6b6b1029d4-dirty #186
 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
 RIP: 0010:tracing_release_file_tr+0xc/0x50&lt;/p&gt;
&lt;p&gt;What happens here is that the kprobe event creates a trace_event_file
&amp;#34;file&amp;#34; descriptor that represents the file in tracefs to the event. It
maintains state of the event (is it enabled for the given instance?).
Opening the &amp;#34;enable&amp;#34; file gets a reference to the event &amp;#34;file&amp;#34; descriptor
via the open file descriptor. When the kprobe event is deleted, the file is
also deleted from the tracefs system which also frees the event &amp;#34;file&amp;#34;
descriptor.&lt;/p&gt;
&lt;p&gt;But as the tracefs file is s…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-52879</guid>
    </item>
  </channel>
</rss>
