<?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 19:45:34 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-40201 — kernel/sys.c: fix the racy usage of task_lock(tsk-&gt;group_leader) in sys_prlimit64() paths</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-40201</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;kernel/sys.c: fix the racy usage of task_lock(tsk-&amp;gt;group_leader) in sys_prlimit64() paths&lt;/p&gt;
&lt;p&gt;The usage of task_lock(tsk-&amp;gt;group_leader) in sys_prlimit64()-&amp;gt;do_prlimit()
path is very broken.&lt;/p&gt;
&lt;p&gt;sys_prlimit64() does get_task_struct(tsk) but this only protects task_struct
itself. If tsk != current and tsk is not a leader, this process can exit/exec
and task_lock(tsk-&amp;gt;group_leader) may use the already freed task_struct.&lt;/p&gt;
&lt;p&gt;Another problem is that sys_prlimit64() can race with mt-exec which changes
-&amp;gt;group_leader. In this case do_prlimit() may take the wrong lock, or (worse)
-&amp;gt;group_leader may change between task_lock() and task_unlock().&lt;/p&gt;
&lt;p&gt;Change sys_prlimit64() to take tasklist_lock when necessary. This is not
nice, but I don&amp;#39;t see a better fix for -stable.&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;kernel/sys.c: fix the racy usage of task_lock(tsk-&amp;gt;group_leader) in sys_prlimit64() paths&lt;/p&gt;
&lt;p&gt;The usage of task_lock(tsk-&amp;gt;group_leader) in sys_prlimit64()-&amp;gt;do_prlimit()
path is very broken.&lt;/p&gt;
&lt;p&gt;sys_prlimit64() does get_task_struct(tsk) but this only protects task_struct
itself. If tsk != current and tsk is not a leader, this process can exit/exec
and task_lock(tsk-&amp;gt;group_leader) may use the already freed task_struct.&lt;/p&gt;
&lt;p&gt;Another problem is that sys_prlimit64() can race with mt-exec which changes
-&amp;gt;group_leader. In this case do_prlimit() may take the wrong lock, or (worse)
-&amp;gt;group_leader may change between task_lock() and task_unlock().&lt;/p&gt;
&lt;p&gt;Change sys_prlimit64() to take tasklist_lock when necessary. This is not
nice, but I don&amp;#39;t see a better fix for -stable.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-40201</guid>
    </item>
  </channel>
</rss>
