<?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 08:41:59 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-89507 — RDMA/ucma: Lock the handler in ucma_write_cm_event()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-89507</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/ucma: Lock the handler in ucma_write_cm_event()&lt;/p&gt;
&lt;p&gt;ctx-&amp;gt;file may only be changed under the handler lock and the xa_lock, which
is what stops uevents being queued for a ctx while ucma_migrate_id() moves
it to another file.  The CM core takes that lock before invoking
ucma_event_handler(), but the write() paths that queue uevents themselves
do not.&lt;/p&gt;
&lt;p&gt;ucma_write_cm_event() re-reads ctx-&amp;gt;file for each of its four dereferences,
so ucma_migrate_id() can swap it mid-sequence:&lt;/p&gt;
&lt;p&gt;mutex_lock(&amp;amp;ctx-&amp;gt;file-&amp;gt;mut);			/* file A */
	list_add_tail(&amp;amp;uevent-&amp;gt;list, &amp;amp;ctx-&amp;gt;file-&amp;gt;event_list);	/* file B */
	mutex_unlock(&amp;amp;ctx-&amp;gt;file-&amp;gt;mut);			/* file B */
	wake_up_interruptible(&amp;amp;ctx-&amp;gt;file-&amp;gt;poll_wait);	/* file B */&lt;/p&gt;
&lt;p&gt;The window is the mutex_lock() itself: the writer sleeps in it while the
migration reassigns ctx-&amp;gt;file.  The list_add_tail() then runs on file B&amp;#39;s
event_list holding only file A&amp;#39;s mutex:&lt;/p&gt;
&lt;p&gt;list_add corruption. prev-&amp;gt;next should be next (ffff888101320f30),
    but was ffff88814a08c418. (prev=ffff88814a075c18).
  kernel BUG at lib/list_debug.c:32!
  Call Trace:
   ucma_write_cm_event+0x36e/0x5e0&lt;/p&gt;
&lt;p&gt;and file A&amp;#39;s mut is left held forever, wedging its next writer in D state.
The uevent is also stranded on a list ucma_cleanup_ctx_events() will not
walk, so it outlives its context.  /dev/infiniband/rdma_cm is 0666 and no
RDMA device is involved, so an unprivileged user reaches all of this.&lt;/p&gt;
&lt;p&gt;Take the handler lock, as ucma_cleanup_m…&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/ucma: Lock the handler in ucma_write_cm_event()&lt;/p&gt;
&lt;p&gt;ctx-&amp;gt;file may only be changed under the handler lock and the xa_lock, which
is what stops uevents being queued for a ctx while ucma_migrate_id() moves
it to another file.  The CM core takes that lock before invoking
ucma_event_handler(), but the write() paths that queue uevents themselves
do not.&lt;/p&gt;
&lt;p&gt;ucma_write_cm_event() re-reads ctx-&amp;gt;file for each of its four dereferences,
so ucma_migrate_id() can swap it mid-sequence:&lt;/p&gt;
&lt;p&gt;mutex_lock(&amp;amp;ctx-&amp;gt;file-&amp;gt;mut);			/* file A */
	list_add_tail(&amp;amp;uevent-&amp;gt;list, &amp;amp;ctx-&amp;gt;file-&amp;gt;event_list);	/* file B */
	mutex_unlock(&amp;amp;ctx-&amp;gt;file-&amp;gt;mut);			/* file B */
	wake_up_interruptible(&amp;amp;ctx-&amp;gt;file-&amp;gt;poll_wait);	/* file B */&lt;/p&gt;
&lt;p&gt;The window is the mutex_lock() itself: the writer sleeps in it while the
migration reassigns ctx-&amp;gt;file.  The list_add_tail() then runs on file B&amp;#39;s
event_list holding only file A&amp;#39;s mutex:&lt;/p&gt;
&lt;p&gt;list_add corruption. prev-&amp;gt;next should be next (ffff888101320f30),
    but was ffff88814a08c418. (prev=ffff88814a075c18).
  kernel BUG at lib/list_debug.c:32!
  Call Trace:
   ucma_write_cm_event+0x36e/0x5e0&lt;/p&gt;
&lt;p&gt;and file A&amp;#39;s mut is left held forever, wedging its next writer in D state.
The uevent is also stranded on a list ucma_cleanup_ctx_events() will not
walk, so it outlives its context.  /dev/infiniband/rdma_cm is 0666 and no
RDMA device is involved, so an unprivileged user reaches all of this.&lt;/p&gt;
&lt;p&gt;Take the handler lock, as ucma_cleanup_m…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-89507</guid>
    </item>
  </channel>
</rss>
