GPU VulnDB

Database/Kernel, userspace & hypervisor

Linux kernel RDMA/hns: reserved QP destroyed twice on error paths, corrupting a kernel list

CVSS 7.8CVE-2025-38582Kernel, userspace & hypervisorcurated

Impact

The hns RoCE driver's reserved QP could be destroyed once in free_mr_init() and again in hns_roce_exit(), producing list_del corruption with a LIST_POISON1 next pointer and a WARN in __list_del_entry_valid, reached through the driver's reset-notify path. On a HiSilicon-NIC node this is the RDMA provider for the fabric, so the damage lands on the interconnect: a corrupted kernel list during driver reset or teardown risks a host crash and takes the node's RoCE traffic - and any collective running across it - down with it. The trigger in the published trace is an error flow inside driver init during a hardware reset, not an operation a tenant issues, so treat this as a reliability and crash-robustness fix rather than something an attacker drives on demand. Only hosts with hns_roce_hw_v2 hardware are affected.

Who can reach it

Local, and in practice not directly attacker-driven: the path runs during hns RoCE driver initialization after a hardware reset notification. A local user cannot be shown to reach it from the record as published.

What to do

Take a stable kernel carrying commits 067ca15be8b8, 10b083dbba22, c6957b95ecc5, dab173bae330 or fc8b0f5b16ba and reboot the affected nodes. No module reload or runtime mitigation covers it, and nodes with no HiSilicon RoCE hardware need no action.

References

Related entries

All Kernel, userspace & hypervisor entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.