CVE-2025-38582
BaseFortify
Publication date: 2025-08-19
Last updated on: 2025-11-26
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-415 | The product calls free() twice on the same memory address. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability involves a double destruction (double free) of the rsv_qp object in the Linux kernel's RDMA/hns subsystem. The rsv_qp may be destroyed twice during error handling: once in free_mr_init() and again in hns_roce_exit(), which can lead to list corruption and kernel warnings/errors. The fix moves the free_mr_init() call into hns_roce_v2_init() to prevent this double destruction.
How can this vulnerability impact me? :
The double destruction of rsv_qp can cause kernel list corruption, leading to system instability, crashes, or potential denial of service. This may affect the reliability and availability of systems using the affected RDMA/hns kernel components.