CVE-2024-57935Published Jan 21, 2025 · Jan 21Updated 2d ago
RDMA/hns: Fix accessing invalid dip_ctx during destroying QP
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
| No fix yet |
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.
From the CVE record · Linux
The Linux kernel's RDMA/hns code can access an invalid dip_ctx pointer while destroying a queue pair if modifying that queue pair to RTR failed. The input does not establish how an attacker could trigger this condition or whether access, authentication, or user interaction is required.
Engineers running Linux kernels that use RDMA/hns should check their kernel versions; affected versions were not provided.