CVE-2024-47750

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

State
Published
Severity
7.8 High
Published
Oct 21, 2024
Updated
Aug 5, 2026
Reserved
Sep 30, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 70f92521584f1d1e8268311ee84413307b0fdea8 to before 2ccf1c75d39949d8ea043d04a2e92d7100ea723dAffected
  • 70f92521584f1d1e8268311ee84413307b0fdea8 to before d2d9c5127122745da6e887f451dd248cfeffca33Affected
  • 70f92521584f1d1e8268311ee84413307b0fdea8 to before dac2723d8bfa9cf5333f477741e6e5fa1ed34645Affected
  • 70f92521584f1d1e8268311ee84413307b0fdea8 to before 60595923371c2ebe7faf82536c47eb0c967e3425Affected
  • 70f92521584f1d1e8268311ee84413307b0fdea8 to before fd8489294dd2beefb70f12ec4f6132aeec61a4d0Affected
LinuxLinux
  • 5.18Affected
  • before 5.18Not affected
  • 6.1.113 through 6.1.*Not affected
  • 6.6.54 through 6.6.*Not affected
  • 6.10.13 through 6.10.*Not affected
  • 6.11.2 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.