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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e3304b7cc4f14d365f46d6847a35563ae8b017f7 to < cb73c2fe6e9cf563c99f22b7c8bca0d5f70d603eaffectede3304b7cc4f14d365f46d6847a35563ae8b017f7 to < 122a730675565ff2ad210537c3fc3afb8291d482affectede3304b7cc4f14d365f46d6847a35563ae8b017f7 to < bf974994150cfd14bfc599748925f4d426e00d90affectede3304b7cc4f14d365f46d6847a35563ae8b017f7 to < fd6dee13f3857259b6b2ddd28e1ed95fd94ae2f9affectede3304b7cc4f14d365f46d6847a35563ae8b017f7 to < 5b7cefffd15d87c8103865f887cdcf9077d8094baffectede3304b7cc4f14d365f46d6847a35563ae8b017f7 to < 3416db552eb378e54cb2f2ce0db5f0df88654bdaaffectede3304b7cc4f14d365f46d6847a35563ae8b017f7 to < ca99431820e8cac19f6a091c04da54cbe8d64f52affectede3304b7cc4f14d365f46d6847a35563ae8b017f7 to < 091c6162c022cbdfb64219708a71728cfd1d4600affected
Linux Linux
Default version status: affected
4.14affected0 to < 4.14unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- 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 ↗