Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

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

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 < 2ccf1c75d39949d8ea043d04a2e92d7100ea723daffected
  • 70f92521584f1d1e8268311ee84413307b0fdea8 to < d2d9c5127122745da6e887f451dd248cfeffca33affected
  • 70f92521584f1d1e8268311ee84413307b0fdea8 to < dac2723d8bfa9cf5333f477741e6e5fa1ed34645affected
  • 70f92521584f1d1e8268311ee84413307b0fdea8 to < 60595923371c2ebe7faf82536c47eb0c967e3425affected
  • 70f92521584f1d1e8268311ee84413307b0fdea8 to < fd8489294dd2beefb70f12ec4f6132aeec61a4d0affected

Linux Linux

Default version status: affected

  • 5.18affected
  • 0 to < 5.18unaffected
  • 6.1.113 to ≤ 6.1.*unaffected
  • 6.6.54 to ≤ 6.6.*unaffected
  • 6.10.13 to ≤ 6.10.*unaffected
  • 6.11.2 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References