CVE-2025-38582: linux Double Free
Vulnerability summary
CVE-2025-38582 is a high (CVSS 7.8) Double Free vulnerability in linux. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 6.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 38 · Related 38Timeline
- 19-08-2025PublishedVulnerability first disclosed.
- 21-10-2026Last modifiedVulnerability information updated.
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+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
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.18%
Chance of exploitation in the next 30 days
Percentile
7%
Versus all other CVEs
30-day change
+0.01 pp
From 0.17% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu121 products
- linux< 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ d2d9c5127122745da6e887f451dd248cfeffca33, < 067ca15be8b8342931536b66206c496e76864ecf | ≥ fd8489294dd2beefb70f12ec4f6132aeec61a4d0, < dab173bae3303f074f063750a8dead2550d8c782 | ≥ fd8489294dd2beefb70f12ec4f6132aeec61a4d0, < fc8b0f5b16bab2e032b4cfcd6218d5df3b80b2ea | ≥ fd8489294dd2beefb70f12ec4f6132aeec61a4d0, < 10b083dbba22be19baa848432b6f25aa68ab2db5 | ≥ fd8489294dd2beefb70f12ec4f6132aeec61a4d0, < c6957b95ecc5b63c5a4bb4ecc28af326cf8f6dc8 | 2ccf1c75d39949d8ea043d04a2e92d7100ea723d | dac2723d8bfa9cf5333f477741e6e5fa1ed34645 | 60595923371c2ebe7faf82536c47eb0c967e3425 | ≥ 6.6.54, < 6.6.160 | ≥ 6.1.113, < 6.2 | ≥ 6.10.13, < 6.11 | ≥ 6.11.2, < 6.12 | 6.12
- linux_kernel≥ 6.1.113, < 6.2 | ≥ 6.6.54, < 6.7 | ≥ 6.10.13, < 6.11 | ≥ 6.11.2, < 6.12.42 | ≥ 6.13, < 6.15.10 | ≥ 6.16, < 6.16.1
Debian1 product
- linuxAll versions (No fix recorded) | < 6.12.43-1 | < 6.16.3-1
3 vendors · 124 products