<?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-09-30T05:47:51.856225+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-2023-53649</id>
    <title>CVE-2023-53649 — perf trace: Really free the evsel-&gt;priv area</title>
    <updated>2026-09-30T05:47:51.857477+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>perf trace: Really free the evsel-&gt;priv area</p>
<p>In 3cb4d5e00e037c70 ("perf trace: Free syscall tp fields in
evsel-&gt;priv") it only was freeing if strcmp(evsel-&gt;tp_format-&gt;system,
"syscalls") returned zero, while the corresponding initialization of
evsel-&gt;priv was being performed if it was _not_ zero, i.e. if the tp
system wasn't 'syscalls'.</p>
<p>Just stop looking for that and free it if evsel-&gt;priv was set, which
should be equivalent.</p>
<p>Also use the pre-existing evsel_trace__delete() function.</p>
<p>This resolves these leaks, detected with:</p>
<p>$ make EXTRA_CFLAGS="-fsanitize=address" BUILD_BPF_SKEL=1 CORESIGHT=1 O=/tmp/build/perf-tools-next -C tools/perf install-bin</p>
<p>=================================================================
  ==481565==ERROR: LeakSanitizer: detected memory leaks</p>
<p>Direct leak of 40 byte(s) in 1 object(s) allocated from:
      #0 0x7f7343cba097 in calloc (/lib64/libasan.so.8+0xba097)
      #1 0x987966 in zalloc (/home/acme/bin/perf+0x987966)
      #2 0x52f9b9 in evsel_trace__new /home/acme/git/perf-tools-next/tools/perf/builtin-trace.c:307
      #3 0x52f9b9 in evsel__syscall_tp /home/acme/git/perf-tools-next/tools/perf/builtin-trace.c:333
      #4 0x52f9b9 in evsel__init_raw_syscall_tp /home/acme/git/perf-tools-next/tools/perf/builtin-trace.c:458
      #5 0x52f9b9 in perf_evsel__raw_syscall_newtp /home/acme/git/perf-tools-next/tools/perf/builtin-trace.c:480
      #6 0x540e8b in trace__add_sysc…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2023-53649"/>
  </entry>
</feed>
