CVE-2026-46265
Memory Leak in Linux Kernel RDMA/hns
Publication date: 2026-06-03
Last updated on: 2026-06-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is related to the Linux kernel's RDMA (Remote Direct Memory Access) subsystem, specifically involving the hns (HiSilicon Network Subsystem) hardware driver. When the sunrpc (Sun Remote Procedure Call) is used and a reset is triggered, a workqueue (wq) may cause a warning related to WQ_MEM_RECLAIM, which is a mechanism to reclaim memory safely during workqueue operations.
The issue arises because the destruction of a Queue Pair (QP), which frees memory, requires the workqueue to have the WQ_MEM_RECLAIM flag set to avoid unsafe memory operations. Without this fix, the kernel logs warnings indicating improper flushing of workqueues, which could lead to instability or memory management issues.
How can this vulnerability impact me? :
This vulnerability can lead to kernel warnings and potentially unstable behavior in systems using the affected RDMA driver with sunrpc. Specifically, improper handling of memory reclamation during Queue Pair destruction could cause memory management issues, which might result in system instability or crashes under certain conditions.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability manifests as a warning in the Linux kernel logs related to workqueue memory reclaim issues when using RDMA and sunrpc. To detect it, you should monitor your system kernel logs for the specific warning message.
- Check kernel logs for the warning: "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]"
- Use the command: dmesg | grep WQ_MEM_RECLAIM
- Alternatively, check system logs with: journalctl -k | grep WQ_MEM_RECLAIM
What immediate steps should I take to mitigate this vulnerability?
The vulnerability is fixed in the Linux kernel by ensuring the workqueue has the WQ_MEM_RECLAIM flag when destroying QPs (Queue Pairs) in RDMA. Immediate mitigation involves updating your Linux kernel to a version that includes this fix.
- Update the Linux kernel to the latest version that contains the fix for this issue.
- Monitor kernel logs for the warning to verify if the issue persists after the update.