CVE-2026-46265 (GCVE-0-2026-46265)
Vulnerability from cvelistv5
Published
2026-06-03 15:50
Modified
2026-08-05 12:30
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix WQ_MEM_RECLAIM warning When sunrpc is used, if a reset triggered, our wq may lead the following trace: workqueue: WQ_MEM_RECLAIM xprtiod:xprt_rdma_connect_worker [rpcrdma] is flushing !WQ_MEM_RECLAIM hns_roce_irq_workq:flush_work_handle [hns_roce_hw_v2] WARNING: CPU: 0 PID: 8250 at kernel/workqueue.c:2644 check_flush_dependency+0xe0/0x144 Call trace: check_flush_dependency+0xe0/0x144 start_flush_work.constprop.0+0x1d0/0x2f0 __flush_work.isra.0+0x40/0xb0 flush_work+0x14/0x30 hns_roce_v2_destroy_qp+0xac/0x1e0 [hns_roce_hw_v2] ib_destroy_qp_user+0x9c/0x2b4 rdma_destroy_qp+0x34/0xb0 rpcrdma_ep_destroy+0x28/0xcc [rpcrdma] rpcrdma_ep_put+0x74/0xb4 [rpcrdma] rpcrdma_xprt_disconnect+0x1d8/0x260 [rpcrdma] xprt_rdma_connect_worker+0xc0/0x120 [rpcrdma] process_one_work+0x1cc/0x4d0 worker_thread+0x154/0x414 kthread+0x104/0x144 ret_from_fork+0x10/0x18 Since QP destruction frees memory, this wq should have the WQ_MEM_RECLAIM.
Impacted products
Vendor Product Version
Linux Linux Version: ffd541d45726341c1830ff595fd7352b6d1cfbcd
Version: ffd541d45726341c1830ff595fd7352b6d1cfbcd
Version: ffd541d45726341c1830ff595fd7352b6d1cfbcd
Version: ffd541d45726341c1830ff595fd7352b6d1cfbcd
Version: ffd541d45726341c1830ff595fd7352b6d1cfbcd
Version: ffd541d45726341c1830ff595fd7352b6d1cfbcd
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/hns/hns_roce_hw_v2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "12761bd0ae16a80f237c2a65ab1b1064076cc74a",
              "status": "affected",
              "version": "ffd541d45726341c1830ff595fd7352b6d1cfbcd",
              "versionType": "git"
            },
            {
              "lessThan": "70a5eb757ace5bd627a36f04d871eaf85def424d",
              "status": "affected",
              "version": "ffd541d45726341c1830ff595fd7352b6d1cfbcd",
              "versionType": "git"
            },
            {
              "lessThan": "562c96b1393da2df3ea62173c84117b39da353b9",
              "status": "affected",
              "version": "ffd541d45726341c1830ff595fd7352b6d1cfbcd",
              "versionType": "git"
            },
            {
              "lessThan": "0cbec8b49270f3f0600b8e3ef5e8f0d233dcea27",
              "status": "affected",
              "version": "ffd541d45726341c1830ff595fd7352b6d1cfbcd",
              "versionType": "git"
            },
            {
              "lessThan": "c5ef9a1bcf5b597695d9c2e6ac452e9f89521862",
              "status": "affected",
              "version": "ffd541d45726341c1830ff595fd7352b6d1cfbcd",
              "versionType": "git"
            },
            {
              "lessThan": "c0a26bbd3f99b7b03f072e3409aff4e6ec8af6f6",
              "status": "affected",
              "version": "ffd541d45726341c1830ff595fd7352b6d1cfbcd",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/hns/hns_roce_hw_v2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.7"
            },
            {
              "lessThan": "5.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.165",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.128",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.165",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.128",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.75",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.14",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.4",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hns: Fix WQ_MEM_RECLAIM warning\n\nWhen sunrpc is used, if a reset triggered, our wq may lead the\nfollowing trace:\n\nworkqueue: WQ_MEM_RECLAIM xprtiod:xprt_rdma_connect_worker [rpcrdma]\nis flushing !WQ_MEM_RECLAIM hns_roce_irq_workq:flush_work_handle\n[hns_roce_hw_v2]\nWARNING: CPU: 0 PID: 8250 at kernel/workqueue.c:2644 check_flush_dependency+0xe0/0x144\nCall trace:\n  check_flush_dependency+0xe0/0x144\n  start_flush_work.constprop.0+0x1d0/0x2f0\n  __flush_work.isra.0+0x40/0xb0\n  flush_work+0x14/0x30\n  hns_roce_v2_destroy_qp+0xac/0x1e0 [hns_roce_hw_v2]\n  ib_destroy_qp_user+0x9c/0x2b4\n  rdma_destroy_qp+0x34/0xb0\n  rpcrdma_ep_destroy+0x28/0xcc [rpcrdma]\n  rpcrdma_ep_put+0x74/0xb4 [rpcrdma]\n  rpcrdma_xprt_disconnect+0x1d8/0x260 [rpcrdma]\n  xprt_rdma_connect_worker+0xc0/0x120 [rpcrdma]\n  process_one_work+0x1cc/0x4d0\n  worker_thread+0x154/0x414\n  kthread+0x104/0x144\n  ret_from_fork+0x10/0x18\n\nSince QP destruction frees memory, this wq should have the WQ_MEM_RECLAIM."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The bug is reached when an RPC-over-RDMA path tears down a HiSilicon HNS queue pair; remote NFS/RDMA peers can force disconnect/reconnect and QP destruction on internet- or fabric-facing storage nodes (svc_rdma / rpcrdma), which is network-driven rather than purely local ioctl access.\nAC:L - Once NFS-over-RDMA and HNS RoCE are enabled, a remote peer can repeatedly trigger disconnect and failed reconnect work; combined with routine memory-reclaim pressure (PF_MEMALLOC on the NFS swap path) or NIC reset, the WARN/deadlock path is attacker-influenceable without rare one-off victim state.\nPR:N - On an NFS-over-RDMA server the vulnerable ib_destroy_qp/flush_work path runs while handling RDMA CM disconnects from network clients, before any per-file NFS authorization; no local UNIX privileges on the victim are required beyond the service already being exposed.\nUI:N - Exploitation requires only network traffic and kernel-side RPC/RDMA handling; no end-user actions such as mounting a filesystem or clicking a link are needed on the victim.\nS:U - Impact is confined to kernel workqueue forward-progress and availability on the host running the HNS driver; it does not cross VM, container, or IOMMU security boundaries.\nC:N - The flaw is a missing WQ_MEM_RECLAIM flag leading to check_flush_dependency WARN_ONCE and possible reclaim deadlock; there is no memory corruption, out-of-bounds access, or use-after-free that could yield information disclosure.\nI:N - No attacker-controlled writes, type confusion, or code-execution primitive exist; the failure mode is a workqueue dependency violation during QP flush/destroy, not integrity compromise of data or code.\nA:H - Violating the workqueue forward-progress rule can deadlock memory reclaim, and the observed WARN_ONCE becomes a kernel panic when panic_on_warn is enabled; even without panic, a stuck reclaim path is a full host availability failure."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:30:52.435Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/12761bd0ae16a80f237c2a65ab1b1064076cc74a"
        },
        {
          "url": "https://git.kernel.org/stable/c/70a5eb757ace5bd627a36f04d871eaf85def424d"
        },
        {
          "url": "https://git.kernel.org/stable/c/562c96b1393da2df3ea62173c84117b39da353b9"
        },
        {
          "url": "https://git.kernel.org/stable/c/0cbec8b49270f3f0600b8e3ef5e8f0d233dcea27"
        },
        {
          "url": "https://git.kernel.org/stable/c/c5ef9a1bcf5b597695d9c2e6ac452e9f89521862"
        },
        {
          "url": "https://git.kernel.org/stable/c/c0a26bbd3f99b7b03f072e3409aff4e6ec8af6f6"
        }
      ],
      "title": "RDMA/hns: Fix WQ_MEM_RECLAIM warning",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-46265",
    "datePublished": "2026-06-03T15:50:05.933Z",
    "dateReserved": "2026-05-13T15:03:33.108Z",
    "dateUpdated": "2026-08-05T12:30:52.435Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…