RDMA/hfi1: Propagate sdma_txinit_ahg() errors
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e3304b7cc4f14d365f46d6847a35563ae8b017f7 · < 3416db552eb378e54cb2f2ce0db5f0df88654bda| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s RDMA/hfi1 component ignores an initialization error, allowing request processing to continue when tx->txreq has not been initialized. The input does not establish what an attacker could do or whether exploitation requires network access, local access, authentication, or user interaction.
Teams running Linux kernels with the RDMA/hfi1 component should check their versions; affected versions are not specified.