<?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>Wed, 30 Sep 2026 15:59:25 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-39977 — futex: Prevent use-after-free during requeue-PI</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-39977</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;futex: Prevent use-after-free during requeue-PI&lt;/p&gt;
&lt;p&gt;syzbot managed to trigger the following race:&lt;/p&gt;
&lt;p&gt;T1                               T2&lt;/p&gt;
&lt;p&gt;futex_wait_requeue_pi()
   futex_do_wait()
     schedule()
                               futex_requeue()
                                 futex_proxy_trylock_atomic()
                                   futex_requeue_pi_prepare()
                                   requeue_pi_wake_futex()
                                     futex_requeue_pi_complete()
                                      /* preempt */&lt;/p&gt;
&lt;p&gt;* timeout/ signal wakes T1 *&lt;/p&gt;
&lt;p&gt;futex_requeue_pi_wakeup_sync() // Q_REQUEUE_PI_LOCKED
   futex_hash_put()
  // back to userland, on stack futex_q is garbage&lt;/p&gt;
&lt;p&gt;/* back */
                                     wake_up_state(q-&amp;gt;task, TASK_NORMAL);&lt;/p&gt;
&lt;p&gt;In this scenario futex_wait_requeue_pi() is able to leave without using
futex_q::lock_ptr for synchronization.&lt;/p&gt;
&lt;p&gt;This can be prevented by reading futex_q::task before updating the
futex_q::requeue_state. A reference on the task_struct is not needed
because requeue_pi_wake_futex() is invoked with a spinlock_t held which
implies a RCU read section.&lt;/p&gt;
&lt;p&gt;Even if T1 terminates immediately after, the task_struct will remain valid
during T2&amp;#39;s wake_up_state().  A READ_ONCE on futex_q::task before
futex_requeue_pi_complete() is enough because it ensures that the variable
is read before the state is u…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;futex: Prevent use-after-free during requeue-PI&lt;/p&gt;
&lt;p&gt;syzbot managed to trigger the following race:&lt;/p&gt;
&lt;p&gt;T1                               T2&lt;/p&gt;
&lt;p&gt;futex_wait_requeue_pi()
   futex_do_wait()
     schedule()
                               futex_requeue()
                                 futex_proxy_trylock_atomic()
                                   futex_requeue_pi_prepare()
                                   requeue_pi_wake_futex()
                                     futex_requeue_pi_complete()
                                      /* preempt */&lt;/p&gt;
&lt;p&gt;* timeout/ signal wakes T1 *&lt;/p&gt;
&lt;p&gt;futex_requeue_pi_wakeup_sync() // Q_REQUEUE_PI_LOCKED
   futex_hash_put()
  // back to userland, on stack futex_q is garbage&lt;/p&gt;
&lt;p&gt;/* back */
                                     wake_up_state(q-&amp;gt;task, TASK_NORMAL);&lt;/p&gt;
&lt;p&gt;In this scenario futex_wait_requeue_pi() is able to leave without using
futex_q::lock_ptr for synchronization.&lt;/p&gt;
&lt;p&gt;This can be prevented by reading futex_q::task before updating the
futex_q::requeue_state. A reference on the task_struct is not needed
because requeue_pi_wake_futex() is invoked with a spinlock_t held which
implies a RCU read section.&lt;/p&gt;
&lt;p&gt;Even if T1 terminates immediately after, the task_struct will remain valid
during T2&amp;#39;s wake_up_state().  A READ_ONCE on futex_q::task before
futex_requeue_pi_complete() is enough because it ensures that the variable
is read before the state is u…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-39977</guid>
    </item>
  </channel>
</rss>
