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.

Classification

CVE ID: CVE-2024-47750

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.03% (probability of being exploited)

EPSS Percentile: 8.02% (scored less or equal to compared to others)

EPSS Date: 2025-05-04 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-47750
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

Timeline