<?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:08 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139578 — RDMA/ionic: Fix XArray initialization to use XArray flags</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139578</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/ionic: Fix XArray initialization to use XArray flags&lt;/p&gt;
&lt;p&gt;xa_init_flags() takes XArray flags (XA_FLAGS_*), not gfp flags, even
though the parameter is typed gfp_t. Passing GFP_ATOMIC leaves both
lock-type bits clear, so xa_lock_type() resolves to XA_LOCK_NORMAL for
qp_tbl and cq_tbl.&lt;/p&gt;
&lt;p&gt;Both tables are used with the IRQ-safe accessors: xa_store_irq() with
GFP_KERNEL from process context, and xa_lock_irqsave() from the event
queue path. When a store needs to grow the tree, __xas_nomem() drops
the lock using the recorded lock type before allocating:&lt;/p&gt;
&lt;p&gt;if (gfpflags_allow_blocking(gfp)) {
		xas_unlock_type(xas, lock_type);
		xas-&amp;gt;xa_alloc = kmem_cache_alloc_lru(...);
		xas_lock_type(xas, lock_type);
	}&lt;/p&gt;
&lt;p&gt;With XA_LOCK_NORMAL that is a plain spin_unlock(), so the sleeping
GFP_KERNEL allocation runs with interrupts still disabled by
xa_store_irq(), and lockdep annotates the lock with the wrong class.&lt;/p&gt;
&lt;p&gt;GFP_ATOMIC also happens to set __GFP_HIGH (0x20), which collides with
XA_FLAGS_ACCOUNT (32U) and silently enables memcg accounting of the
XArray nodes.&lt;/p&gt;
&lt;p&gt;Use XA_FLAGS_LOCK_IRQ so the lock type matches how the tables are
actually accessed.&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/ionic: Fix XArray initialization to use XArray flags&lt;/p&gt;
&lt;p&gt;xa_init_flags() takes XArray flags (XA_FLAGS_*), not gfp flags, even
though the parameter is typed gfp_t. Passing GFP_ATOMIC leaves both
lock-type bits clear, so xa_lock_type() resolves to XA_LOCK_NORMAL for
qp_tbl and cq_tbl.&lt;/p&gt;
&lt;p&gt;Both tables are used with the IRQ-safe accessors: xa_store_irq() with
GFP_KERNEL from process context, and xa_lock_irqsave() from the event
queue path. When a store needs to grow the tree, __xas_nomem() drops
the lock using the recorded lock type before allocating:&lt;/p&gt;
&lt;p&gt;if (gfpflags_allow_blocking(gfp)) {
		xas_unlock_type(xas, lock_type);
		xas-&amp;gt;xa_alloc = kmem_cache_alloc_lru(...);
		xas_lock_type(xas, lock_type);
	}&lt;/p&gt;
&lt;p&gt;With XA_LOCK_NORMAL that is a plain spin_unlock(), so the sleeping
GFP_KERNEL allocation runs with interrupts still disabled by
xa_store_irq(), and lockdep annotates the lock with the wrong class.&lt;/p&gt;
&lt;p&gt;GFP_ATOMIC also happens to set __GFP_HIGH (0x20), which collides with
XA_FLAGS_ACCOUNT (32U) and silently enables memcg accounting of the
XArray nodes.&lt;/p&gt;
&lt;p&gt;Use XA_FLAGS_LOCK_IRQ so the lock type matches how the tables are
actually accessed.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139578</guid>
    </item>
  </channel>
</rss>
