What’s Vulnerable › Vulnerabilities
CVE-2024-57935: RDMA/hns: Fix accessing invalid dip_ctx during destroying QP
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-01-21 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix accessing invalid dip_ctx during destroying QP If it fails to modify QP to RTR, dip_ctx will not be attached. And during detroying QP, the invalid dip_ctx pointer will be accessed.
Affected products
- Linux kernel: from 6.11.11 before 6.12; from 6.12.2 before 6.12.9; 6.13-rc1, 6.13-rc2, 6.13-rc3, 6.13-rc4, 6.13-rc5 — fixed in 6.12, 6.12.9
How to fix
Upgrade to a fixed version: Linux kernel 6.12, 6.12.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0572eccf239ce4bd89bd531767ec5ab20e249290
- https://git.kernel.org/stable/c/a448c775f0aec6cfbee4bda561447c707153504a
Get alerted when CVE-2024-57935 or the next vulnerability affects your stack