<?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-11-12T08:21:22.602050+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-2026-98552</id>
    <title>CVE-2026-98552 — perf/core: Fix a refcount leak in attach_perf_ctx_data()</title>
    <updated>2026-11-12T08:21:22.604060+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/core: Fix a refcount leak in attach_perf_ctx_data()</p>
<p>The attach_perf_ctx_data() can race on global and !global cases.  The
global case is protected by global_ctx_data_rwsem and shares a single
reference count using perf_ctx_data.global field.</p>
<p>But when it races with !global case, it may miss to set the global field
and result in a reference count leak.</p>
<p>CPU1                                  CPU2
 ----------------------------------------------------------------
 attach_task_ctx_data(.global=1)       attach_task_ctx_data(.global=0)
   cd1 = alloc_perf_ctx_data();          cd2 = alloc_perf_ctx_data();
                                         //    { .global = 0, .refcount = 1 };</p>
<p>try_cmpxchg(); // success,
                                         // task-&gt;perf_ctx_data = cd2
   try_cmpxhg(); // fail; old = cd2
   refcount_inc_not_zero(&amp;old-&gt;refcount); // success
     // old.refcount = 2
   free_perf_ctx_data(cd1);</p>
<p>Then later detach_global_ctx_data() will see the data but it's not
marked as global, so it won't call detach_task_ctx_data().</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-98552"/>
  </entry>
</feed>
