What’s Vulnerable › Vulnerabilities

CVE-2024-47750: RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08

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

How to fix

Upgrade to a fixed version: Linux kernel 6.1.113, 6.10.13, 6.11.2, 6.6.54. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-47750 or the next vulnerability affects your stack