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