Description
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.
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
70f92521584f1d1e8268311ee84413307b0fdea8 to < 2ccf1c75d39949d8ea043d04a2e92d7100ea723daffected70f92521584f1d1e8268311ee84413307b0fdea8 to < d2d9c5127122745da6e887f451dd248cfeffca33affected70f92521584f1d1e8268311ee84413307b0fdea8 to < dac2723d8bfa9cf5333f477741e6e5fa1ed34645affected70f92521584f1d1e8268311ee84413307b0fdea8 to < 60595923371c2ebe7faf82536c47eb0c967e3425affected70f92521584f1d1e8268311ee84413307b0fdea8 to < fd8489294dd2beefb70f12ec4f6132aeec61a4d0affected
Linux Linux
Default version status: affected
5.18affected0 to < 5.18unaffected6.1.113 to ≤ 6.1.*unaffected6.6.54 to ≤ 6.6.*unaffected6.10.13 to ≤ 6.10.*unaffected6.11.2 to ≤ 6.11.*unaffected6.12 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/2ccf1c75d39949d8ea043d04a2e92d7100ea723d ↗
- https://git.kernel.org/stable/c/d2d9c5127122745da6e887f451dd248cfeffca33 ↗
- https://git.kernel.org/stable/c/dac2723d8bfa9cf5333f477741e6e5fa1ed34645 ↗
- https://git.kernel.org/stable/c/60595923371c2ebe7faf82536c47eb0c967e3425 ↗
- https://git.kernel.org/stable/c/fd8489294dd2beefb70f12ec4f6132aeec61a4d0 ↗
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html ↗