Menu

Star on GitHub · 3.2k

CVE-2025-38582

7.8 · HIGH

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 h…

Published Aug 19, 2025CWE-415EPSS 0.17%

Overview

CVE-2025-38582 is a high-severity vulnerability. It was published on August 19, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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+0

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-38582?

CVE-2025-38582 is a high-severity vulnerability. It was published on August 19, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-38582?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38582?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38582?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-38582 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2025

View all