CVE-2023-52513 RDMA/siw: Fix connection failure handling
A NULL pointer dereference in the Linux kernel RDMA subsystem allows attackers to cause a denial of service via connection failure handling.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-52513?
CVE-2023-52513 is a high-severity vulnerability in Linux kernel, published on 2 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
RDMA/siw: Fix connection failure handling
In case immediate MPA request processing fails, the newly created endpoint unlinks the listening endpoint and is ready to be dropped. This special case was not handled correctly by the code handling the later TCP socket close, causing a NULL dereference crash in siw_cm_work_handler() when dereferencing a NULL listener. We now also cancel the useless MPA timeout, if immediate MPA request processing fails.
This patch furthermore simplifies MPA processing in general: Scheduling a useless TCP socket read in sk_data_ready() upcall is now surpressed, if the socket is already moved out of TCP_ESTABLISHED state.
Weakness: CWE-476
Which versions are affected by CVE-2023-52513?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52513?
Apply the vendor's patch.
Is CVE-2023-52513 being exploited?
There is no known exploitation of CVE-2023-52513 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-52513, DEBIAN-CVE-2023-52513, GHSA-2m3h-p692-qjp7, UBUNTU-CVE-2023-52513.