Description
In the Linux kernel, the following vulnerability has been resolved:

RDMA/hns: Fix warning in poll cq direct mode

CQs allocated by ib_alloc_cq() always have a comp_handler. Though
in direct mode this handler is never expected to be called, it
is still called when the driver is reset, triggering the following
WARN_ONCE():

Call trace:
ib_cq_completion_direct+0x38/0x60
hns_roce_cq_completion+0x54/0x90 (hns_roce_hw_v2]
hns_roce_handle_device_err+Ox1c8/0x340 [hns_roce_hw_v2]
hns_roce_hw_v2_uninit_instance.constprop.0+0x34/0x70 [hns_roce_hw_v2]
hns_roce_hw_v2_reset_notify+0xc4/0xe0 [hns_roce_hw_v2]
hclge_notify_roce_client+0x60/0xbc [hclge]
hclge_reset_rebuild+0x48/0x34c [hclge]
hclge_reset_subtask+0xcc/0xec [hclge]
hclge_reset_service_task+0x80/0x160 [hclge]
hclge_service_task+0x50/0x80 (hclge]
process_one_work+0x1cc/0x4d0
worker_thread+0x154/0x414
kthread+0x104/0x144
ret_from_fork+0x10/0x18
Published: 2026-08-28
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Minor Kernel Warning
Action: Assess Impact
AI Analysis

Impact

An RDMA driver bug causes a completion handler to be invoked for a completion queue operating in direct mode, which contradicts the driver’s expectation that the handler should never be called in that mode. This leads to a WARN_ONCE in the kernel log during a device reset, signaling an unexpected event but not exposing any vulnerabilities that would allow code execution or data disclosure. The weakness falls under CWE-663, reflecting improper validation of control flow.

Affected Systems

The issue affects the Linux kernel, specifically the RDMA/hns device drivers shipped with the standard Linux distribution. No precise kernel version numbers are listed; the vulnerability applies to any kernel that includes the RDMA/hns driver implementation as currently found in the stable tree.

Risk and Exploitability

The CVSS score of 5.5 indicates medium severity, while the EPSS score of less than 1% indicates a very low likelihood of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog. The only practical impact is a kernel warning logged during a device reset, which may signal driver instability but does not provide a remote code execution or data disclosure vector. The likely attack vector is a scenario that forces an RDMA device reset, causing the WARN_ONCE message to appear. No publicly documented exploitation pathway exists.

Generated by OpenCVE AI on September 2, 2026 at 05:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that incorporates the patch from commits 16138ea9833d6bb1bed37a3321f282242704bf02 and related updates
  • Monitor kernel logs for WARN_ONCE messages related to ib_cq_completion_direct or hns_roce_cq_completion and investigate any frequent driver resets
  • Ensure RDMA/hns drivers and firmware are up‑to‑date to prevent excessive device resets

Generated by OpenCVE AI on September 2, 2026 at 05:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-398

Tue, 01 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-663
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 28 Aug 2026 09:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-398

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix warning in poll cq direct mode CQs allocated by ib_alloc_cq() always have a comp_handler. Though in direct mode this handler is never expected to be called, it is still called when the driver is reset, triggering the following WARN_ONCE(): Call trace: ib_cq_completion_direct+0x38/0x60 hns_roce_cq_completion+0x54/0x90 (hns_roce_hw_v2] hns_roce_handle_device_err+Ox1c8/0x340 [hns_roce_hw_v2] hns_roce_hw_v2_uninit_instance.constprop.0+0x34/0x70 [hns_roce_hw_v2] hns_roce_hw_v2_reset_notify+0xc4/0xe0 [hns_roce_hw_v2] hclge_notify_roce_client+0x60/0xbc [hclge] hclge_reset_rebuild+0x48/0x34c [hclge] hclge_reset_subtask+0xcc/0xec [hclge] hclge_reset_service_task+0x80/0x160 [hclge] hclge_service_task+0x50/0x80 (hclge] process_one_work+0x1cc/0x4d0 worker_thread+0x154/0x414 kthread+0x104/0x144 ret_from_fork+0x10/0x18
Title RDMA/hns: Fix warning in poll cq direct mode
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-28T06:48:56.879Z

Reserved: 2026-08-26T14:34:25.779Z

Link: CVE-2026-80647

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:49.677

Modified: 2026-08-28T08:16:49.677

Link: CVE-2026-80647

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-28T00:00:00Z

Links: CVE-2026-80647 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-02T05:30:08Z

Weaknesses
  • CWE-663

    Use of a Non-reentrant Function in a Concurrent Context