<?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>Fri, 04 Dec 2026 19:37:03 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139089 — ucount: read the parent ucounts before dropping the rlimit count</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139089</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;ucount: read the parent ucounts before dropping the rlimit count&lt;/p&gt;
&lt;p&gt;do_dec_rlimit_put_ucounts() drops its share of iter-&amp;gt;rlimit[type] and
only then loads iter-&amp;gt;ns-&amp;gt;ucounts. If the decrement leaves the count
non-zero, a concurrent caller can take it to zero and put the last
reference, which frees the ucounts and possibly its user namespace with
kfree_rcu(). An exiting task frees its pending signals without siglock
or any RCU read-side section, so when it is preempted between the
decrement and the load for a grace period it reads freed memory and
then decrements a counter through the pointer it found there.&lt;/p&gt;
&lt;p&gt;A pending signal holds no reference on its ucounts: the reference is
taken by whoever moves the count from 0 to 1 and dropped by whoever
moves it back to 0, so the caller&amp;#39;s share of the count is all that
keeps iter alive, and only until it is dropped.&lt;/p&gt;
&lt;p&gt;Load the parent first; it stays pinned by the caller&amp;#39;s share of its
own count.&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;ucount: read the parent ucounts before dropping the rlimit count&lt;/p&gt;
&lt;p&gt;do_dec_rlimit_put_ucounts() drops its share of iter-&amp;gt;rlimit[type] and
only then loads iter-&amp;gt;ns-&amp;gt;ucounts. If the decrement leaves the count
non-zero, a concurrent caller can take it to zero and put the last
reference, which frees the ucounts and possibly its user namespace with
kfree_rcu(). An exiting task frees its pending signals without siglock
or any RCU read-side section, so when it is preempted between the
decrement and the load for a grace period it reads freed memory and
then decrements a counter through the pointer it found there.&lt;/p&gt;
&lt;p&gt;A pending signal holds no reference on its ucounts: the reference is
taken by whoever moves the count from 0 to 1 and dropped by whoever
moves it back to 0, so the caller&amp;#39;s share of the count is all that
keeps iter alive, and only until it is dropped.&lt;/p&gt;
&lt;p&gt;Load the parent first; it stays pinned by the caller&amp;#39;s share of its
own count.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139089</guid>
    </item>
  </channel>
</rss>
