Skip to contentSkip to conversation

CVE-2026-98353: RDMA/erdma: Use IRQ-safe XArray helpers for QP and CQ tables

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

RDMA/erdma: Use IRQ-safe XArray helpers for QP and CQ tables

Locked QP and CQ lookups from EQ interrupts can deadlock with create-path XArray updates. If an interrupt arrives while the create path holds the plain xa_lock, the lookup spins forever trying to acquire the same lock.

Use IRQ-safe XArray helpers for all QP and CQ create-path updates, including the GSI QP store and error paths. Initialize both arrays with XA_FLAGS_LOCK_IRQ so sleeping allocations preserve interrupt state.

The Linux kernel CVE team has assigned CVE-2026-98353 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 7.2.6 with commit 4545f355654d044d35a31cd01cc46f491a8a7c36 and fixed in 7.2.8 with commit 74d4085221a7ec5440996af199ccadfa75b9eb0e
	Issue introduced in 7.3-rc1 with commit 98df2aee1459ee1c62c70cbe9b370d2a532aea36 and fixed in 7.3-rc4 with commit 00baeade709fb66da647e8327e8398bb532e30f7
	Issue introduced in 6.1.188 with commit 610ef81797bb4f709e8675c1d8d093bb9ccdcbd8
	Issue introduced in 6.6.157 with commit c0a83f29a24c7e7f8516630848ef6db4c174deed
	Issue introduced in 6.12.110 with commit 05b8ca493dd02319bca93c640b259c2ba51ef321
	Issue introduced in 6.18.52 with commit 1fc9c1933959d2776a1ce7bf424251b8b5b586cd
	Issue introduced in 6.12.110 with commit 6e32f84b63c054e09392153125d7202abab2d14b
	Issue introduced in 6.18.52 with commit ec987c0654651036dad6a42f7fa2a6d7c16a3687
	Issue introduced in 7.2.6 with commit c92686867638cda954fdb2bdbac8a75e3aa6eaae

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98353

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/infiniband/hw/erdma/erdma_main.c
drivers/infiniband/hw/erdma/erdma_verbs.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/74d4085221a7ec5440996af199ccadfa75b9eb0e
	https://git.kernel.org/stable/c/00baeade709fb66da647e8327e8398bb532e30f7