<?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>Mon, 28 Sep 2026 07:52:30 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-37747 — perf: Fix hang while freeing sigtrap event</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-37747</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 hang while freeing sigtrap event&lt;/p&gt;
&lt;p&gt;Perf can hang while freeing a sigtrap event if a related deferred
signal hadn&amp;#39;t managed to be sent before the file got closed:&lt;/p&gt;
&lt;p&gt;perf_event_overflow()
   task_work_add(perf_pending_task)&lt;/p&gt;
&lt;p&gt;fput()
   task_work_add(____fput())&lt;/p&gt;
&lt;p&gt;task_work_run()
    ____fput()
        perf_release()
            perf_event_release_kernel()
                _free_event()
                    perf_pending_task_sync()
                        task_work_cancel() -&amp;gt; FAILED
                        rcuwait_wait_event()&lt;/p&gt;
&lt;p&gt;Once task_work_run() is running, the list of pending callbacks is
removed from the task_struct and from this point on task_work_cancel()
can&amp;#39;t remove any pending and not yet started work items, hence the
task_work_cancel() failure and the hang on rcuwait_wait_event().&lt;/p&gt;
&lt;p&gt;Task work could be changed to remove one work at a time, so a work
running on the current task can always cancel a pending one, however
the wait / wake design is still subject to inverted dependencies when
remote targets are involved, as pictured by Oleg:&lt;/p&gt;
&lt;p&gt;T1                                                      T2&lt;/p&gt;
&lt;p&gt;fd = perf_event_open(pid =&amp;gt; T2-&amp;gt;pid);                  fd = perf_event_open(pid =&amp;gt; T1-&amp;gt;pid);
close(fd)                                              close(fd)
    &amp;lt;IRQ&amp;gt;                                                  &amp;lt;IRQ&amp;gt;
    perf_event_overflow()                                  perf_event_overflow()…&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 hang while freeing sigtrap event&lt;/p&gt;
&lt;p&gt;Perf can hang while freeing a sigtrap event if a related deferred
signal hadn&amp;#39;t managed to be sent before the file got closed:&lt;/p&gt;
&lt;p&gt;perf_event_overflow()
   task_work_add(perf_pending_task)&lt;/p&gt;
&lt;p&gt;fput()
   task_work_add(____fput())&lt;/p&gt;
&lt;p&gt;task_work_run()
    ____fput()
        perf_release()
            perf_event_release_kernel()
                _free_event()
                    perf_pending_task_sync()
                        task_work_cancel() -&amp;gt; FAILED
                        rcuwait_wait_event()&lt;/p&gt;
&lt;p&gt;Once task_work_run() is running, the list of pending callbacks is
removed from the task_struct and from this point on task_work_cancel()
can&amp;#39;t remove any pending and not yet started work items, hence the
task_work_cancel() failure and the hang on rcuwait_wait_event().&lt;/p&gt;
&lt;p&gt;Task work could be changed to remove one work at a time, so a work
running on the current task can always cancel a pending one, however
the wait / wake design is still subject to inverted dependencies when
remote targets are involved, as pictured by Oleg:&lt;/p&gt;
&lt;p&gt;T1                                                      T2&lt;/p&gt;
&lt;p&gt;fd = perf_event_open(pid =&amp;gt; T2-&amp;gt;pid);                  fd = perf_event_open(pid =&amp;gt; T1-&amp;gt;pid);
close(fd)                                              close(fd)
    &amp;lt;IRQ&amp;gt;                                                  &amp;lt;IRQ&amp;gt;
    perf_event_overflow()                                  perf_event_overflow()…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-37747</guid>
    </item>
  </channel>
</rss>
