PT-2026-163619

CVE-2026-139578

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
RDMA/ionic: Fix XArray initialization to use XArray flags
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.
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:
if (gfpflags allow blocking(gfp)) {
	xas unlock type(xas, lock type);
	xas->xa alloc = kmem cache alloc lru(...);
	xas lock type(xas, lock type);
}
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.
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.
Use XA FLAGS LOCK IRQ so the lock type matches how the tables are actually accessed.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾