← CVE Intelligence

CVE-2024-47750

RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08 PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 70f92521584f1d1e8268311ee84413307b0fdea8 before 2ccf1c75d39949d8ea043d04a2e92d7100ea723d; affected 70f92521584f1d1e8268311ee84413307b0fdea8 before d2d9c5127122745da6e887f451dd248cfeffca33; affected 70f92521584f1d1e8268311ee84413307b0fdea8 before dac2723d8bfa9cf5333f477741e6e5fa1ed34645; affected 70f92521584f1d1e8268311ee84413307b0fdea8 before 60595923371c2ebe7faf82536c47eb0c967e3425; affected 70f92521584f1d1e8268311ee84413307b0fdea8 before fd8489294dd2beefb70f12ec4f6132aeec61a4d0
Linux / Linuxaffected 5.18; unaffected 0 before 5.18; unaffected 6.1.113 through 6.1.*; unaffected 6.6.54 through 6.6.*; unaffected 6.10.13 through 6.10.*; unaffected 6.11.2 through 6.11.*; unaffected 6.12 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.