CVE-2025-38582
published high CVSS 3.1 · 7.8RDMA/hns: Fix double destruction of rsv_qp
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2ccf1c75d39949d8ea043d04a2e92d7100ea723d to < 5a791715803304bf81ae2a3a278f606e36b82481 · d2d9c5127122745da6e887f451dd248cfeffca33 to < 067ca15be8b8342931536b66206c496e76864ecf · fd8489294dd2beefb70f12ec4f6132aeec61a4d0 to < dab173bae3303f074f063750a8dead2550d8c782 · fd8489294dd2beefb70f12ec4f6132aeec61a4d0 to < fc8b0f5b16bab2e032b4cfcd6218d5df3b80b2ea · fd8489294dd2beefb70f12ec4f6132aeec61a4d0 to < 10b083dbba22be19baa848432b6f25aa68ab2db5 · fd8489294dd2beefb70f12ec4f6132aeec61a4d0 to < c6957b95ecc5b63c5a4bb4ecc28af326cf8f6dc8 · dac2723d8bfa9cf5333f477741e6e5fa1ed34645 · 60595923371c2ebe7faf82536c47eb0c967e3425 · 6.1.113 to < 6.1.191 · 6.6.54 to < 6.6.160 · 6.10.13 to < 6.11 · 6.11.2 to < 6.12 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.12 (affected) · 0 to < 6.12 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.42 through 6.12.* (unaffected · semver) · 6.15.10 through 6.15.* (unaffected · semver) · 6.16.1 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.52.1 | SUSE-SU-2025:03272-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.52.1 | SUSE-SU-2025:03272-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.52.1 | SUSE-SU-2025:03272-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azureaarch64 | Advisory build | 6.4.0-150600.8.52.1 | SUSE-SU-2025:03634-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azurex86_64 | Advisory build | 6.4.0-150600.8.52.1 | SUSE-SU-2025:03634-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150600.8.52.1 | SUSE-SU-2025:03634-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150600.8.52.1 | SUSE-SU-2025:03634-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-cocox86_64 | Advisory build | 6.4.0-15061.32.coco15sp6.1 | SUSE-SU-2025:03602-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco-develx86_64 | Advisory build | 6.4.0-15061.32.coco15sp6.1 | SUSE-SU-2025:03602-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debugx86_64 | Advisory build | 6.4.0-15061.32.coco15sp6.1 | SUSE-SU-2025:03602-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debug-develx86_64 | Advisory build | 6.4.0-15061.32.coco15sp6.1 | SUSE-SU-2025:03602-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultaarch64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultppc64le | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaults390x | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultx86_64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150600.23.70.1.150600.12.30.2 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseppc64le | Advisory build | 6.4.0-150600.23.70.1.150600.12.30.2 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-basex86_64 | Advisory build | 6.4.0-150600.23.70.1.150600.12.30.2 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develaarch64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develppc64le | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-devels390x | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develx86_64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-develnoarch | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150600.8.52.1 | SUSE-SU-2025:03634-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-coconoarch | Advisory build | 6.4.0-15061.32.coco15sp6.1 | SUSE-SU-2025:03602-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150600.10.52.1 | SUSE-SU-2025:03272-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-docsnoarch | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_10_52-rtx86_64 | Advisory build | 1-150600.1.3.1 | SUSE-SU-2025:03272-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_70-defaultppc64le | Advisory build | 1-150600.13.3.2 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_70-defaults390x | Advisory build | 1-150600.13.3.2 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_70-defaultx86_64 | Advisory build | 1-150600.13.3.2 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-macrosnoarch | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-builds390x | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rtx86_64 | Advisory build | 6.4.0-150600.10.52.1 | SUSE-SU-2025:03272-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt-develx86_64 | Advisory build | 6.4.0-150600.10.52.1 | SUSE-SU-2025:03272-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debugx86_64 | Advisory build | 6.4.0-150600.10.52.1 | SUSE-SU-2025:03272-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debug-develx86_64 | Advisory build | 6.4.0-150600.10.52.1 | SUSE-SU-2025:03272-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-sourcenoarch | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-azurenoarch | Advisory build | 6.4.0-150600.8.52.1 | SUSE-SU-2025:03634-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-coconoarch | Advisory build | 6.4.0-15061.32.coco15sp6.1 | SUSE-SU-2025:03602-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-rtnoarch | Advisory build | 6.4.0-150600.10.52.1 | SUSE-SU-2025:03272-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsaarch64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsppc64le | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symss390x | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsx86_64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azureaarch64 | Advisory build | 6.4.0-150600.8.52.1 | SUSE-SU-2025:03634-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azurex86_64 | Advisory build | 6.4.0-150600.8.52.1 | SUSE-SU-2025:03634-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-cocox86_64 | Advisory build | 6.4.0-15061.32.coco15sp6.1 | SUSE-SU-2025:03602-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-rtx86_64 | Advisory build | 6.4.0-150600.10.52.1 | SUSE-SU-2025:03272-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.52.1 | SUSE-SU-2025:03272-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-cocox86_64 | Advisory build | 6.4.0-15061.32.coco15sp6.1 | SUSE-SU-2025:03602-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.70.1 | SUSE-SU-2025:03301-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.16.1 | SUSE-SU-2025:03290-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.16.1 | SUSE-SU-2025:03290-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150700.53.16.1 | SUSE-SU-2025:03290-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.16.1 | SUSE-SU-2025:03290-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.16.1 | SUSE-SU-2025:03382-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.16.1 | SUSE-SU-2025:03290-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.16.1 | SUSE-SU-2025:03290-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150700.53.16.1 | SUSE-SU-2025:03290-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.16.1 | SUSE-SU-2025:03290-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.16.1 | SUSE-SU-2025:03382-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.16.1 | SUSE-SU-2025:03290-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.16.1 | SUSE-SU-2025:03290-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150700.53.16.1 | SUSE-SU-2025:03290-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.16.1 | SUSE-SU-2025:03290-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.16.1 | SUSE-SU-2025:03382-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The defect lives in the hns_roce HIP08 device init/re-init path (`__hns_roce_hw_v2_init_instance()` → `free_mr_init()`), reached via driver probe, module load, or the hns3 NIC reset-recovery notifier — never from remote packet data. Reaching or influencing it requires local access to the machine (RDMA uverbs devices, memory/resource pressure, or a locally initiated reset). AC:L - The double destruction fires whenever `free_mr_alloc_res()` fails partway through creating the 8 reserved QPs, since the `create_failed_qp` unwind kfree()s `free_mr->rsv_qp[i]` without NULLing the array slot, leaving dangling pointers that `hns_roce_v2_exit()` → `free_mr_exit()` destroys and frees a second time. A local attacker can influence exactly that partial-failure window by driving slab/QP/CQ/PD resource exhaustion so one of the eight allocations fails after earlier ones succeeded, and the init/reset sequence is repeatable, so the required conditions are not beyond the attacker's control. PR:L - No authentication beyond ordinary local access is needed to create the precondition — an unprivileged user holding the usual `/dev/infiniband/uverbs*` access in an RDMA deployment can exhaust QP/CQ/PD and memory resources to make the reserved-resource allocation fail mid-loop. The init/reset trigger itself is not gated by any capability check inside the vulnerable code path. UI:N - The faulty unwind executes automatically inside the driver's own error path during device initialization or NIC reset recovery. No victim has to open a file, mount anything, or take any other action. S:U - The corrupted objects (`struct hns_roce_qp`, its lists and the kernel slab) all belong to the kernel's own security authority. There is no crossing into a hypervisor, IOMMU, or other separate security scope. C:H - The second `hns_roce_v2_destroy_qp()` operates entirely on freed memory — it reads `hr_qp->ibqp.send_cq`/`recv_cq` and passes them to `to_hr_cq()`/`__hns_roce_v2_cq_clean()`, and uses `hr_qp->qpn` for `__xa_erase()`. If the reclaimed slab object is groomed by the attacker, those become fully controlled pointers, yielding an arbitrary kernel-memory read primitive. I:H - `hns_roce_qp_remove()` performs three `list_del()` unlinks on the freed object, each writing `prev->next = next; next->prev = prev` with pointers taken from reclaimed slab memory — a classic controlled-write primitive — and the object is then kfree()d a second time, corrupting the freelist. That combination is exploitable for control-flow hijack and privilege escalation. A:H - The reported failure is an immediate `list_del corruption ... LIST_POISON1` WARNING in `__list_del_entry_valid()` from `hns_roce_qp_remove()`, and the double kfree() corrupts the slab allocator. This reliably produces an oops/panic and leaves the RDMA device unusable.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2ccf1c75d39949d8ea043d04a2e92d7100ea723d to < 5a791715803304bf81ae2a3a278f606e36b82481 (affected · git)d2d9c5127122745da6e887f451dd248cfeffca33 to < 067ca15be8b8342931536b66206c496e76864ecf (affected · git)fd8489294dd2beefb70f12ec4f6132aeec61a4d0 to < dab173bae3303f074f063750a8dead2550d8c782 (affected · git)fd8489294dd2beefb70f12ec4f6132aeec61a4d0 to < fc8b0f5b16bab2e032b4cfcd6218d5df3b80b2ea (affected · git)fd8489294dd2beefb70f12ec4f6132aeec61a4d0 to < 10b083dbba22be19baa848432b6f25aa68ab2db5 (affected · git)fd8489294dd2beefb70f12ec4f6132aeec61a4d0 to < c6957b95ecc5b63c5a4bb4ecc28af326cf8f6dc8 (affected · git)dac2723d8bfa9cf5333f477741e6e5fa1ed34645 (affected · git)60595923371c2ebe7faf82536c47eb0c967e3425 (affected · git)6.1.113 to < 6.1.191 (affected · semver)6.6.54 to < 6.6.160 (affected · semver)6.10.13 to < 6.11 (affected · semver)6.11.2 to < 6.12 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.12 (affected)0 to < 6.12 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.42 through 6.12.* (unaffected · semver)6.15.10 through 6.15.* (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/067ca15be8b8342931536b66206c496e76864ecf
- https://git.kernel.org/stable/c/10b083dbba22be19baa848432b6f25aa68ab2db5
- https://git.kernel.org/stable/c/5a791715803304bf81ae2a3a278f606e36b82481
- https://git.kernel.org/stable/c/c6957b95ecc5b63c5a4bb4ecc28af326cf8f6dc8
- https://git.kernel.org/stable/c/dab173bae3303f074f063750a8dead2550d8c782
- https://git.kernel.org/stable/c/fc8b0f5b16bab2e032b4cfcd6218d5df3b80b2ea
Provider assertions
1Linux · cna
RDMA/hns: Fix double destruction of rsv_qp
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9fb597796d06a03b7e40e06b1c9e822733959a1f0260a89fcc6863775cc9d931
- Ingested
- 30 Oct 2026, 12:31:36 UTC
- Source record
- Official CVE record