<?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>Mon, 28 Sep 2026 10:50:28 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53478 — tracing/synthetic: Fix races on freeing last_cmd</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53478</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/synthetic: Fix races on freeing last_cmd&lt;/p&gt;
&lt;p&gt;Currently, the &amp;#34;last_cmd&amp;#34; variable can be accessed by multiple processes
asynchronously when multiple users manipulate synthetic_events node
at the same time, it could lead to use-after-free or double-free.&lt;/p&gt;
&lt;p&gt;This patch add &amp;#34;lastcmd_mutex&amp;#34; to prevent &amp;#34;last_cmd&amp;#34; from being accessed
asynchronously.&lt;/p&gt;
&lt;p&gt;================================================================&lt;/p&gt;
&lt;p&gt;It&amp;#39;s easy to reproduce in the KASAN environment by running the two
scripts below in different shells.&lt;/p&gt;
&lt;p&gt;script 1:
        while :
        do
                echo -n -e &amp;#39;\x88&amp;#39; &amp;gt; /sys/kernel/tracing/synthetic_events
        done&lt;/p&gt;
&lt;p&gt;script 2:
        while :
        do
                echo -n -e &amp;#39;\xb0&amp;#39; &amp;gt; /sys/kernel/tracing/synthetic_events
        done&lt;/p&gt;
&lt;p&gt;================================================================
double-free scenario:&lt;/p&gt;
&lt;p&gt;process A                       process B
-------------------               ---------------
1.kstrdup last_cmd
                                  2.free last_cmd
3.free last_cmd(double-free)&lt;/p&gt;
&lt;p&gt;================================================================
use-after-free scenario:&lt;/p&gt;
&lt;p&gt;process A                       process B
-------------------               ---------------
1.kstrdup last_cmd
                                  2.free last_cmd
3.tracing_log_err(use-after-free)&lt;/p&gt;
&lt;p&gt;================================================================&lt;/p&gt;
&lt;p&gt;Appendix 1. KASAN report…&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/synthetic: Fix races on freeing last_cmd&lt;/p&gt;
&lt;p&gt;Currently, the &amp;#34;last_cmd&amp;#34; variable can be accessed by multiple processes
asynchronously when multiple users manipulate synthetic_events node
at the same time, it could lead to use-after-free or double-free.&lt;/p&gt;
&lt;p&gt;This patch add &amp;#34;lastcmd_mutex&amp;#34; to prevent &amp;#34;last_cmd&amp;#34; from being accessed
asynchronously.&lt;/p&gt;
&lt;p&gt;================================================================&lt;/p&gt;
&lt;p&gt;It&amp;#39;s easy to reproduce in the KASAN environment by running the two
scripts below in different shells.&lt;/p&gt;
&lt;p&gt;script 1:
        while :
        do
                echo -n -e &amp;#39;\x88&amp;#39; &amp;gt; /sys/kernel/tracing/synthetic_events
        done&lt;/p&gt;
&lt;p&gt;script 2:
        while :
        do
                echo -n -e &amp;#39;\xb0&amp;#39; &amp;gt; /sys/kernel/tracing/synthetic_events
        done&lt;/p&gt;
&lt;p&gt;================================================================
double-free scenario:&lt;/p&gt;
&lt;p&gt;process A                       process B
-------------------               ---------------
1.kstrdup last_cmd
                                  2.free last_cmd
3.free last_cmd(double-free)&lt;/p&gt;
&lt;p&gt;================================================================
use-after-free scenario:&lt;/p&gt;
&lt;p&gt;process A                       process B
-------------------               ---------------
1.kstrdup last_cmd
                                  2.free last_cmd
3.tracing_log_err(use-after-free)&lt;/p&gt;
&lt;p&gt;================================================================&lt;/p&gt;
&lt;p&gt;Appendix 1. KASAN report…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53478</guid>
    </item>
  </channel>
</rss>
