<?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-28T10:50:28.170285+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-2023-53478</id>
    <title>CVE-2023-53478 — tracing/synthetic: Fix races on freeing last_cmd</title>
    <updated>2026-09-28T10:50:28.187462+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/synthetic: Fix races on freeing last_cmd</p>
<p>Currently, the "last_cmd" 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.</p>
<p>This patch add "lastcmd_mutex" to prevent "last_cmd" from being accessed
asynchronously.</p>
<p>================================================================</p>
<p>It's easy to reproduce in the KASAN environment by running the two
scripts below in different shells.</p>
<p>script 1:
        while :
        do
                echo -n -e '\x88' &gt; /sys/kernel/tracing/synthetic_events
        done</p>
<p>script 2:
        while :
        do
                echo -n -e '\xb0' &gt; /sys/kernel/tracing/synthetic_events
        done</p>
<p>================================================================
double-free scenario:</p>
<p>process A                       process B
-------------------               ---------------
1.kstrdup last_cmd
                                  2.free last_cmd
3.free last_cmd(double-free)</p>
<p>================================================================
use-after-free scenario:</p>
<p>process A                       process B
-------------------               ---------------
1.kstrdup last_cmd
                                  2.free last_cmd
3.tracing_log_err(use-after-free)</p>
<p>================================================================</p>
<p>Appendix 1. KASAN report…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2023-53478"/>
  </entry>
</feed>
