Skip to contentSkip to conversation

CVE-2026-93037: RDMA/hfi1: Propagate sdma_txinit_ahg() errors

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

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/hfi1: Propagate sdma_txinit_ahg() errors

set_txreq_header_ahg() ignores the return value of sdma_txinit_ahg().

If sdma_txinit_ahg() fails, it returns before initializing tx->txreq. However, set_txreq_header_ahg() ignores the error and returns the AHG change count, causing the caller to continue processing the request as though initialization had succeeded.

Propagate sdma_txinit_ahg() failures to the caller and abort request processing when initialization fails.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

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

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

	Issue introduced in 4.14 with commit e3304b7cc4f14d365f46d6847a35563ae8b017f7 and fixed in 5.10.270 with commit cb73c2fe6e9cf563c99f22b7c8bca0d5f70d603e
	Issue introduced in 4.14 with commit e3304b7cc4f14d365f46d6847a35563ae8b017f7 and fixed in 5.15.221 with commit 122a730675565ff2ad210537c3fc3afb8291d482
	Issue introduced in 4.14 with commit e3304b7cc4f14d365f46d6847a35563ae8b017f7 and fixed in 6.1.188 with commit bf974994150cfd14bfc599748925f4d426e00d90
	Issue introduced in 4.14 with commit e3304b7cc4f14d365f46d6847a35563ae8b017f7 and fixed in 6.6.157 with commit fd6dee13f3857259b6b2ddd28e1ed95fd94ae2f9
	Issue introduced in 4.14 with commit e3304b7cc4f14d365f46d6847a35563ae8b017f7 and fixed in 6.12.110 with commit 5b7cefffd15d87c8103865f887cdcf9077d8094b
	Issue introduced in 4.14 with commit e3304b7cc4f14d365f46d6847a35563ae8b017f7 and fixed in 6.18.52 with commit 3416db552eb378e54cb2f2ce0db5f0df88654bda
	Issue introduced in 4.14 with commit e3304b7cc4f14d365f46d6847a35563ae8b017f7 and fixed in 7.2.6 with commit ca99431820e8cac19f6a091c04da54cbe8d64f52
	Issue introduced in 4.14 with commit e3304b7cc4f14d365f46d6847a35563ae8b017f7 and fixed in 7.3-rc1 with commit 091c6162c022cbdfb64219708a71728cfd1d4600

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-93037

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/hfi1/user_sdma.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/cb73c2fe6e9cf563c99f22b7c8bca0d5f70d603e
	https://git.kernel.org/stable/c/122a730675565ff2ad210537c3fc3afb8291d482
	https://git.kernel.org/stable/c/bf974994150cfd14bfc599748925f4d426e00d90
	https://git.kernel.org/stable/c/fd6dee13f3857259b6b2ddd28e1ed95fd94ae2f9
	https://git.kernel.org/stable/c/5b7cefffd15d87c8103865f887cdcf9077d8094b
	https://git.kernel.org/stable/c/3416db552eb378e54cb2f2ce0db5f0df88654bda
	https://git.kernel.org/stable/c/ca99431820e8cac19f6a091c04da54cbe8d64f52
	https://git.kernel.org/stable/c/091c6162c022cbdfb64219708a71728cfd1d4600