RDMA/hns: Fix double destruction of rsv_qp
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-415 and the CVSS impact.
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix double destruction of rsv_qp rsv_qp may be double destroyed in error flow, first in free_mr_init(), and then in hns_roce_exit(). Fix it by moving the free_mr_init() call into hns_roce_v2_init(). list_del corruption, ffff589732eb9b50->next is LIST_POISON1 (dead000000000100) WARNING: CPU: 8 PID: 1047115 at lib/list_debug.c:53 __list_del_entry_valid+0x148/0x240 ... Call trace: __list_del_entry_valid+0x148/0x240 hns_roce_qp_remove+0x4c/0x3f0 [hns_roce_hw_v2] hns_roce_v2_destroy_qp_common+0x1dc/0x5f4 [hns_roce_hw_v2] hns_roce_v2_destroy_qp+0x22c/0x46c [hns_roce_hw_v2] free_mr_exit+0x6c/0x120 [hns_roce_hw_v2] hns_roce_v2_exit+0x170/0x200 [hns_roce_hw_v2] hns_roce_exit+0x118/0x350 [hns_roce_hw_v2] __hns_roce_hw_v2_init_instance+0x1c8/0x304 [hns_roce_hw_v2] hns_roce_hw_v2_reset_notify_init+0x170/0x21c [hns_roce_hw_v2] hns_roce_hw_v2_reset_notify+0x6c/0x190 [hns_roce_hw_v2] hclge_notify_roce_client+0x6c/0x160 [hclge] hclge_reset_rebuild+0x150/0x5c0 [hclge] hclge_reset+0x10c/0x140 [hclge] hclge_reset_subtask+0x80/0x104 [hclge] hclge_reset_service_task+0x168/0x3ac [hclge] hclge_service_task+0x50/0x100 [hclge] process_one_work+0x250/0x9a0 worker_thread+0x324/0x990 kthread+0x190/0x210 ret_from_fork+0x10/0x18
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 6.1.113 to before 6.1.191; 6.6.54 to before 6.6.160; 6.10.13 to before 6.11; 6.11.2 to before 6.12 | 6.1.191, 6.6.160, 6.11, 6.12 | Patch available | CNA |
| Linux | Linux | 6.12 and later | 6.1.191, 6.6.160, 6.12.42, 6.15.10, 6.16.1, 6.17 | Patch available | CNA |
- Linux VendorLinux Affected 6.1.113 to before 6.1.191; 6.6.54 to before 6.6.160; 6.10.13 to before 6.11; 6.11.2 to before 6.12 Fixed in 6.1.191, 6.6.160, 6.11, 6.12 Patch available CNA
- Linux VendorLinux Affected 6.12 and later Fixed in 6.1.191, 6.6.160, 6.12.42, 6.15.10, 6.16.1, 6.17 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.1.113 to before 6.2; 6.6.54 to before 6.7; 6.10.13 to before 6.11; 6.11.2 to before 6.12.42; 6.13 to before 6.15.10; 6.16 to before 6.16.1 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 6.1.113 to before 6.2; 6.6.54 to before 6.7; 6.10.13 to before 6.11; 6.11.2 to before 6.12.42; 6.13 to before 6.15.10; 6.16 to before 6.16.1 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.6.160, 6.11, 6.12
- Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.6.160, 6.12.42, 6.15.10, 6.16.1, 6.17
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2025-38582
- 2026-10-03 Alias added: GHSA-5569-859r-969g
- 2026-10-21 Fix available: Linux/Linux@067ca15be8b8342931536b66206c496e76864ecf, Linux/[email protected] · CNA
- 2026-10-21 1 new reference · CNA
- 2026-10-30 Fix available: Linux/Linux@5a791715803304bf81ae2a3a278f606e36b82481, Linux/[email protected] · CNA
- 2026-10-30 1 new reference · CNA
- 2026-11-07 Affected versions changed · Red Hat
References
Patch 4
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-38582 · CVE Program
- CVE-2025-38582 · NVD
- FIRST EPSS
- GHSA-5569-859r-969g · GitHub Advisory Database · CC BY 4.0
- CVE-2025-38582 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences