CVE-2025-38582
Severity CVSS v4.0:
Pending analysis
Type:
CWE-415
Double Free
Publication date:
19/08/2025
Last modified:
26/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
RDMA/hns: Fix double destruction of rsv_qp<br />
<br />
rsv_qp may be double destroyed in error flow, first in free_mr_init(),<br />
and then in hns_roce_exit(). Fix it by moving the free_mr_init() call<br />
into hns_roce_v2_init().<br />
<br />
list_del corruption, ffff589732eb9b50->next is LIST_POISON1 (dead000000000100)<br />
WARNING: CPU: 8 PID: 1047115 at lib/list_debug.c:53 __list_del_entry_valid+0x148/0x240<br />
...<br />
Call trace:<br />
__list_del_entry_valid+0x148/0x240<br />
hns_roce_qp_remove+0x4c/0x3f0 [hns_roce_hw_v2]<br />
hns_roce_v2_destroy_qp_common+0x1dc/0x5f4 [hns_roce_hw_v2]<br />
hns_roce_v2_destroy_qp+0x22c/0x46c [hns_roce_hw_v2]<br />
free_mr_exit+0x6c/0x120 [hns_roce_hw_v2]<br />
hns_roce_v2_exit+0x170/0x200 [hns_roce_hw_v2]<br />
hns_roce_exit+0x118/0x350 [hns_roce_hw_v2]<br />
__hns_roce_hw_v2_init_instance+0x1c8/0x304 [hns_roce_hw_v2]<br />
hns_roce_hw_v2_reset_notify_init+0x170/0x21c [hns_roce_hw_v2]<br />
hns_roce_hw_v2_reset_notify+0x6c/0x190 [hns_roce_hw_v2]<br />
hclge_notify_roce_client+0x6c/0x160 [hclge]<br />
hclge_reset_rebuild+0x150/0x5c0 [hclge]<br />
hclge_reset+0x10c/0x140 [hclge]<br />
hclge_reset_subtask+0x80/0x104 [hclge]<br />
hclge_reset_service_task+0x168/0x3ac [hclge]<br />
hclge_service_task+0x50/0x100 [hclge]<br />
process_one_work+0x250/0x9a0<br />
worker_thread+0x324/0x990<br />
kthread+0x190/0x210<br />
ret_from_fork+0x10/0x18
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.1.113 (including) | 6.2 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.6.54 (including) | 6.7 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.10.13 (including) | 6.11 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.11.2 (including) | 6.12.42 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.15.10 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.16 (including) | 6.16.1 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



