CVE-2024-47750
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 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.2NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: RDMA/hns: Se corrige el use after free de rsv_qp en HIP08 Actualmente, rsv_qp se libera antes de que se llame a ib_unregister_device() en HIP08. Durante el intervalo de tiempo, los usuarios aún pueden anular la regulación de MR y rsv_qp se usará en este proceso, lo que genera un UAF. Mueva la liberación de rsv_qp después de llamar a ib_unregister_device() para solucionarlo.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-47750 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-47750 changed 2026-08-04Public domain