<?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>Tue, 29 Sep 2026 05:34:35 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-89791 — perf: Fix use-after-free when perf mmap() revival races with the last munmap()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-89791</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: Fix use-after-free when perf mmap() revival races with the last munmap()&lt;/p&gt;
&lt;p&gt;perf_mmap_close() drops rb-&amp;gt;mmap_count *without* holding
event-&amp;gt;mmap_mutex (the refcount_dec_and_test() right before the
refcount_dec_and_mutex_lock() of event-&amp;gt;mmap_count). A concurrent
perf_mmap_rb() can slot its entire &amp;#34;revival&amp;#34; path into that window
(perf_mmap holds event-&amp;gt;mmap_mutex for its whole duration, including
rb_alloc):&lt;/p&gt;
&lt;p&gt;munmap side (perf_mmap_close)          mmap side (perf_mmap_rb)
  -----------------------------------    --------------------------------
  rb-&amp;gt;mmap_count 1 -&amp;gt; 0   (no lock)      (holds event-&amp;gt;mmap_mutex)
                                         inc_not_zero(rb-&amp;gt;mmap_count) fails
                                         ring_buffer_attach(event, NULL)
                                         rb_alloc() + attach new rb
                                         refcount_set(&amp;amp;event-&amp;gt;mmap_count, 1)
  lock; event-&amp;gt;mmap_count 1 -&amp;gt; 0
  ring_buffer_attach(event, NULL)
  ring_buffer_put() -&amp;gt; frees the *new* rb&lt;/p&gt;
&lt;p&gt;The revival&amp;#39;s refcount_set(&amp;amp;event-&amp;gt;mmap_count, 1) is an invisible
1 -&amp;gt; 1 write: the close frees the just-revived buffer although the
other process still has it mapped -- a page-level use-after-free
allowing local privilege escalation to root by any unprivileged user
(default kernel.perf_event_paranoid=2).&lt;/p&gt;
&lt;p&gt;Swap the order of the two counter updates: event-&amp;gt;mmap_count is
dropped first via refcount_dec_a…&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: Fix use-after-free when perf mmap() revival races with the last munmap()&lt;/p&gt;
&lt;p&gt;perf_mmap_close() drops rb-&amp;gt;mmap_count *without* holding
event-&amp;gt;mmap_mutex (the refcount_dec_and_test() right before the
refcount_dec_and_mutex_lock() of event-&amp;gt;mmap_count). A concurrent
perf_mmap_rb() can slot its entire &amp;#34;revival&amp;#34; path into that window
(perf_mmap holds event-&amp;gt;mmap_mutex for its whole duration, including
rb_alloc):&lt;/p&gt;
&lt;p&gt;munmap side (perf_mmap_close)          mmap side (perf_mmap_rb)
  -----------------------------------    --------------------------------
  rb-&amp;gt;mmap_count 1 -&amp;gt; 0   (no lock)      (holds event-&amp;gt;mmap_mutex)
                                         inc_not_zero(rb-&amp;gt;mmap_count) fails
                                         ring_buffer_attach(event, NULL)
                                         rb_alloc() + attach new rb
                                         refcount_set(&amp;amp;event-&amp;gt;mmap_count, 1)
  lock; event-&amp;gt;mmap_count 1 -&amp;gt; 0
  ring_buffer_attach(event, NULL)
  ring_buffer_put() -&amp;gt; frees the *new* rb&lt;/p&gt;
&lt;p&gt;The revival&amp;#39;s refcount_set(&amp;amp;event-&amp;gt;mmap_count, 1) is an invisible
1 -&amp;gt; 1 write: the close frees the just-revived buffer although the
other process still has it mapped -- a page-level use-after-free
allowing local privilege escalation to root by any unprivileged user
(default kernel.perf_event_paranoid=2).&lt;/p&gt;
&lt;p&gt;Swap the order of the two counter updates: event-&amp;gt;mmap_count is
dropped first via refcount_dec_a…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-89791</guid>
    </item>
  </channel>
</rss>
