CVE-2024-57935 RDMA/hns: Fix accessing invalid dip_ctx during destroying QP
A null pointer dereference in the Linux kernel RDMA driver allows attackers to cause a denial of service by triggering an invalid memory access during QP destruction.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-57935?
CVE-2024-57935 is a medium-severity vulnerability in Linux kernel, published on 21 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2024-57935?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-57935?
Apply the vendor's patch.
Is CVE-2024-57935 being exploited?
There is no known exploitation of CVE-2024-57935 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-57935, DEBIAN-CVE-2024-57935, GHSA-9g3f-2224-m2qq, UBUNTU-CVE-2024-57935.