In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08 Currently rsv_qp is freed before ib_unregister_device() is called on HIP08. During the time interval, users can still dereg MR and rsv_qp will be used in this process, leading to a UAF. Move the release of rsv_qp after calling ib_unregister_device() to fix it.
https://git.kernel.org/stable/c/fd8489294dd2beefb70f12ec4f6132aeec61a4d0
https://git.kernel.org/stable/c/dac2723d8bfa9cf5333f477741e6e5fa1ed34645
https://git.kernel.org/stable/c/d2d9c5127122745da6e887f451dd248cfeffca33
https://git.kernel.org/stable/c/60595923371c2ebe7faf82536c47eb0c967e3425
https://git.kernel.org/stable/c/2ccf1c75d39949d8ea043d04a2e92d7100ea723d