<?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://db.gcve.eu</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>Thu, 01 Oct 2026 03:31:19 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-23248 — perf/core: Fix refcount bug and potential UAF in perf_mmap</title>
      <link>https://db.gcve.eu/vuln/cve-2026-23248</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;perf/core: Fix refcount bug and potential UAF in perf_mmap&lt;/p&gt;
&lt;p&gt;Syzkaller reported a refcount_t: addition on 0; use-after-free warning
in perf_mmap.&lt;/p&gt;
&lt;p&gt;The issue is caused by a race condition between a failing mmap() setup
and a concurrent mmap() on a dependent event (e.g., using output
redirection).&lt;/p&gt;
&lt;p&gt;In perf_mmap(), the ring_buffer (rb) is allocated and assigned to
event-&amp;gt;rb with the mmap_mutex held. The mutex is then released to
perform map_range().&lt;/p&gt;
&lt;p&gt;If map_range() fails, perf_mmap_close() is called to clean up.
However, since the mutex was dropped, another thread attaching to
this event (via inherited events or output redirection) can acquire
the mutex, observe the valid event-&amp;gt;rb pointer, and attempt to
increment its reference count. If the cleanup path has already
dropped the reference count to zero, this results in a
use-after-free or refcount saturation warning.&lt;/p&gt;
&lt;p&gt;Fix this by extending the scope of mmap_mutex to cover the
map_range() call. This ensures that the ring buffer initialization
and mapping (or cleanup on failure) happens atomically effectively,
preventing other threads from accessing a half-initialized or
dying ring buffer.&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;perf/core: Fix refcount bug and potential UAF in perf_mmap&lt;/p&gt;
&lt;p&gt;Syzkaller reported a refcount_t: addition on 0; use-after-free warning
in perf_mmap.&lt;/p&gt;
&lt;p&gt;The issue is caused by a race condition between a failing mmap() setup
and a concurrent mmap() on a dependent event (e.g., using output
redirection).&lt;/p&gt;
&lt;p&gt;In perf_mmap(), the ring_buffer (rb) is allocated and assigned to
event-&amp;gt;rb with the mmap_mutex held. The mutex is then released to
perform map_range().&lt;/p&gt;
&lt;p&gt;If map_range() fails, perf_mmap_close() is called to clean up.
However, since the mutex was dropped, another thread attaching to
this event (via inherited events or output redirection) can acquire
the mutex, observe the valid event-&amp;gt;rb pointer, and attempt to
increment its reference count. If the cleanup path has already
dropped the reference count to zero, this results in a
use-after-free or refcount saturation warning.&lt;/p&gt;
&lt;p&gt;Fix this by extending the scope of mmap_mutex to cover the
map_range() call. This ensures that the ring buffer initialization
and mapping (or cleanup on failure) happens atomically effectively,
preventing other threads from accessing a half-initialized or
dying ring buffer.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-23248</guid>
    </item>
  </channel>
</rss>
