Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.113, 6.10.13, 6.11.2, 6.6.54
CVEs
CVE-2024-47750
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 04:16 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 21 Oct 2024, 12:14 UTC

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.

osv:CVE-2024-47750

Kernel

Fixed versions: 6.1.113, 6.6.54, 6.10.13, 6.11.2

Complete source record
{
  "id": "7dd31b69c4211aeb761c632233a9faa0d69373d23e17891c7a6dbd27b38442b4",
  "url": "https://osv.dev/vulnerability/CVE-2024-47750",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08",
    "summary": "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.",
    "evidence": "osv:CVE-2024-47750",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.54",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.13",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.11.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-47750",
      "aliases": [
        "CVE-2024-47750"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "70f92521584f1d1e8268311ee84413307b0fdea8"
                },
                {
                  "fixed": "2ccf1c75d39949d8ea043d04a2e92d7100ea723d"
                },
                {
                  "fixed": "d2d9c5127122745da6e887f451dd248cfeffca33"
                },
                {
                  "fixed": "dac2723d8bfa9cf5333f477741e6e5fa1ed34645"
                },
                {
                  "fixed": "60595923371c2ebe7faf82536c47eb0c967e3425"
                },
                {
                  "fixed": "fd8489294dd2beefb70f12ec4f6132aeec61a4d0"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47750.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.18.0"
                },
                {
                  "fixed": "6.1.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.54"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.13"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.11.0"
                },
                {
                  "fixed": "6.11.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47750.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.680777882Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2ccf1c75d39949d8ea043d04a2e92d7100ea723d",
        "https://git.kernel.org/stable/c/60595923371c2ebe7faf82536c47eb0c967e3425",
        "https://git.kernel.org/stable/c/d2d9c5127122745da6e887f451dd248cfeffca33",
        "https://git.kernel.org/stable/c/dac2723d8bfa9cf5333f477741e6e5fa1ed34645",
        "https://git.kernel.org/stable/c/fd8489294dd2beefb70f12ec4f6132aeec61a4d0",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47750.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-47750",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47750.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-47750",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510212,
  "published_at": "2024-10-21T12:14:15.786+00:00"
}