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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-10-21T12:14:15.786Z
- Modified: 2026-08-05T11:39:58.173Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 70f92521584f1d1e8268311ee84413307b0fdea8 before 2ccf1c75d39949d8ea043d04a2e92d7100ea723d; from 70f92521584f1d1e8268311ee84413307b0fdea8 before d2d9c5127122745da6e887f451dd248cfeffca33; from 70f92521584f1d1e8268311ee84413307b0fdea8 before dac2723d8bfa9cf5333f477741e6e5fa1ed34645; from 70f92521584f1d1e8268311ee84413307b0fdea8 before 60595923371c2ebe7faf82536c47eb0c967e3425; from 70f92521584f1d1e8268311ee84413307b0fdea8 before fd8489294dd2beefb70f12ec4f6132aeec61a4d0; 5.18 (not affected: before 5.18; from 6.1.113 up to 6.1.*; from 6.6.54 up to 6.6.*; from 6.10.13 up to 6.10.*; from 6.11.2 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 5.18 before 6.1.113; from 6.2 before 6.6.54; from 6.7 before 6.10.13; from 6.11 before 6.11.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/2ccf1c75d39949d8ea043d04a2e92d7100ea723d> (patch)
- <https://git.kernel.org/stable/c/d2d9c5127122745da6e887f451dd248cfeffca33> (patch)
- <https://git.kernel.org/stable/c/dac2723d8bfa9cf5333f477741e6e5fa1ed34645> (patch)
- <https://git.kernel.org/stable/c/60595923371c2ebe7faf82536c47eb0c967e3425> (patch)
- <https://git.kernel.org/stable/c/fd8489294dd2beefb70f12ec4f6132aeec61a4d0> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-47750](https://www.cve.org/CVERecord?id=CVE-2024-47750), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-47750](https://nvd.nist.gov/vuln/detail/CVE-2024-47750), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-47750 · Whole record: https://cve.day/CVE-2024-47750.json · Rebuilt by cve.day 2026-11-25T22:58:47.001Z
