In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: quiesce SDMA asynchronous cleanup on exit The SDMA state reference and completion cover the software cleanup tasklet, but not the hardware cleanup tasklet, err_halt_worker, or flush_worker. Queued instances can therefore access an SDMA engine after per_sdma is released. After the state machine has stopped, cancel err_halt_worker first because it can publish the hardware cleanup tasklet. Then kill that tasklet and drain the remaining flush work.
https://git.kernel.org/stable/c/e95d076bc1fca7cc36fc8f2f0e9687f79fd314bd
https://git.kernel.org/stable/c/ceb008814681931093fb2a52e60dc646974ae903
https://git.kernel.org/stable/c/cd9a53f5b6c253382d14e2aca38e2d445a7d98c0
https://git.kernel.org/stable/c/be76293ecef8e59d0530af2dadcc621771d44ba9
https://git.kernel.org/stable/c/a0eab0771433f9bb79cfbfaefeb129a4892d16c4
https://git.kernel.org/stable/c/4ee2792525f6f1a7e09921b1c460c0a2a7162842
https://git.kernel.org/stable/c/2d00d87638a2ecfbe43b05604e49a8be9eae8f68
https://git.kernel.org/stable/c/282f78dd148cfde38af525c82faf32a18fa565e3