# CVE-2024-57935: RDMA/hns: Fix accessing invalid dip_ctx during destroying QP

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-01-21T12:01:31.236Z
- Modified: 2026-06-17T08:14:16.187Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f48084857b9e3d73c1d290307b5a11f61e6f666a before a448c775f0aec6cfbee4bda561447c707153504a; from faa62440a5772b40bb7d78bf9e29556a82ecf153 before 0572eccf239ce4bd89bd531767ec5ab20e249290; 84707ec6f651df98a141cad59f726d30e6f15574; from 6.11.11 before 6.12; from 6.12.2 before 6.12.9
- linux linux_kernel: from 6.11.11 before 6.12; from 6.12.2 before 6.12.9; 6.13

## References

- <https://git.kernel.org/stable/c/a448c775f0aec6cfbee4bda561447c707153504a> (patch)
- <https://git.kernel.org/stable/c/0572eccf239ce4bd89bd531767ec5ab20e249290> (patch)

## Sources

- CVE List: [CVE-2024-57935](https://www.cve.org/CVERecord?id=CVE-2024-57935), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-57935](https://nvd.nist.gov/vuln/detail/CVE-2024-57935), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-57935 · Whole record: https://cve.day/CVE-2024-57935.json · Rebuilt by cve.day 2026-11-25T22:58:51.148Z
