CVE-2024-57935: RDMA/hns: Fix accessing invalid dip_ctx during destroying QP
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.
Security readout for executives and security teams
Plain-English summary
This Linux kernel issue can make the RDMA/hns driver access an invalid internal pointer while cleaning up a Queue Pair after a failed state change. The business risk is currently unclear because no CVSS score, CWE, exploit report, or impact statement is provided in the source bundle.
Executive priority
Treat as targeted infrastructure hygiene unless RDMA/hns is used in production. For RDMA-enabled Linux fleets, prioritize patch validation because kernel driver pointer faults can affect host reliability even when exploitation evidence is absent.
Technical view
The flaw is in RDMA/hns Queue Pair teardown. If modifying a QP to RTR fails, dip_ctx is not attached, but the destroy path still accesses the invalid dip_ctx pointer. The referenced Linux stable commits resolve that invalid access condition.
Likely exposure
Exposure appears limited to Linux systems using the RDMA/hns kernel driver and affected kernel builds. Systems without this driver loaded or relevant RDMA hardware paths are less likely to be exposed. The source bundle does not clearly define affected version ranges.
Exploitation context
The source bundle does not report active exploitation, and KEV status is false. It describes a kernel driver cleanup bug, not a public exploit path. Any exploitability beyond local or driver-reachable fault conditions is not established by the cited sources.
Researcher notes
The key condition is QP modify-to-RTR failure followed by destroy. The incomplete public metadata leaves impact, affected ranges, and triggerability uncertain. Focus analysis on patched RDMA/hns teardown logic and downstream vendor backports.
Mitigation direction
Apply Linux vendor kernel updates that include the referenced stable fixes.
Check distribution advisories for exact affected and fixed kernel packages.
Prioritize systems using RDMA/hns or relevant RDMA hardware.
If RDMA/hns is unnecessary, review vendor-supported hardening or disablement options.
Validation and detection
Inventory Linux hosts for kernel versions and loaded RDMA/hns driver usage.
Map installed kernels against distribution advisories for CVE-2024-57935.
Confirm fixed commits or downstream backports are present.
Review kernel logs for RDMA/hns QP failure or teardown errors.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-57935 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
0ADP providers
3Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Jan 21, 2025, 12:01 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.