CVE-2026-139578
publishedRDMA/ionic: Fix XArray initialization to use XArray flags
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe8521822c733c6deab0f339843cd37cd62c12795 to < af56f866f152afe843239818ed127994bb564eb2 · e8521822c733c6deab0f339843cd37cd62c12795 to < cf11ce423eb12ce5fb774101e7e49ec397ed732a · e8521822c733c6deab0f339843cd37cd62c12795 to < 2eca9c14e66a1f71c089fe5c3afb2d339da3023a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e8521822c733c6deab0f339843cd37cd62c12795 to < af56f866f152afe843239818ed127994bb564eb2 (affected · git)e8521822c733c6deab0f339843cd37cd62c12795 to < cf11ce423eb12ce5fb774101e7e49ec397ed732a (affected · git)e8521822c733c6deab0f339843cd37cd62c12795 to < 2eca9c14e66a1f71c089fe5c3afb2d339da3023a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
RDMA/ionic: Fix XArray initialization to use XArray flags
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 669e050dee88c34bbcedad39195fb3e04630eb318188c04fc06caffc61b88b68
- Ingested
- 30 Nov 2026, 13:42:24 UTC
- Source record
- Official CVE record