<?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:46:54 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139664 — RDMA/uverbs: Drop restrack ref on ib_init_ucontext() failure in GET_CONTEXT</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139664</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;RDMA/uverbs: Drop restrack ref on ib_init_ucontext() failure in GET_CONTEXT&lt;/p&gt;
&lt;p&gt;The UVERBS_METHOD_GET_CONTEXT handler allocates the ucontext via
ib_alloc_ucontext(), which calls rdma_restrack_new() (initialising the
kref to 1) and rdma_restrack_set_name(NULL), the latter attaching the
current task and taking a task_struct reference.  When ib_init_ucontext()
subsequently fails, the error path only does:&lt;/p&gt;
&lt;p&gt;kfree(attrs-&amp;gt;context);
	attrs-&amp;gt;context = NULL;&lt;/p&gt;
&lt;p&gt;without first calling rdma_restrack_put() on &amp;amp;attrs-&amp;gt;context-&amp;gt;res.  The
kref therefore never reaches zero, restrack_release() is never invoked,
and put_task_struct() is never called, so the task_struct reference taken
during set_name is leaked permanently.&lt;/p&gt;
&lt;p&gt;A local user with access to an RDMA device can repeat this path (e.g. by
hitting an RDMA cgroup limit or supplying invalid ucaps) and leak one
task_struct reference per attempt, eventually preventing those processes
from being reaped or exhausting memory.&lt;/p&gt;
&lt;p&gt;The legacy ib_uverbs_get_context() path already handles this correctly
at its err_ucontext label, where rdma_restrack_put() precedes kfree().
Mirror that ordering here.&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;RDMA/uverbs: Drop restrack ref on ib_init_ucontext() failure in GET_CONTEXT&lt;/p&gt;
&lt;p&gt;The UVERBS_METHOD_GET_CONTEXT handler allocates the ucontext via
ib_alloc_ucontext(), which calls rdma_restrack_new() (initialising the
kref to 1) and rdma_restrack_set_name(NULL), the latter attaching the
current task and taking a task_struct reference.  When ib_init_ucontext()
subsequently fails, the error path only does:&lt;/p&gt;
&lt;p&gt;kfree(attrs-&amp;gt;context);
	attrs-&amp;gt;context = NULL;&lt;/p&gt;
&lt;p&gt;without first calling rdma_restrack_put() on &amp;amp;attrs-&amp;gt;context-&amp;gt;res.  The
kref therefore never reaches zero, restrack_release() is never invoked,
and put_task_struct() is never called, so the task_struct reference taken
during set_name is leaked permanently.&lt;/p&gt;
&lt;p&gt;A local user with access to an RDMA device can repeat this path (e.g. by
hitting an RDMA cgroup limit or supplying invalid ucaps) and leak one
task_struct reference per attempt, eventually preventing those processes
from being reaped or exhausting memory.&lt;/p&gt;
&lt;p&gt;The legacy ib_uverbs_get_context() path already handles this correctly
at its err_ucontext label, where rdma_restrack_put() precedes kfree().
Mirror that ordering here.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139664</guid>
    </item>
  </channel>
</rss>
