CVE-2024-40992 RDMA/rxe: Fix responder length checking for UD request packets
A flaw in the Linux kernel RDMA subsystem allows remote attackers to cause a denial of service by sending malformed UD request packets that trigger an error state.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-40992?
CVE-2024-40992 is a high-severity denial of service vulnerability in Linux kernel, published on 12 Jul 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/rxe: Fix responder length checking for UD request packets
According to the IBA specification: If a UD request packet is detected with an invalid length, the request shall be an invalid request and it shall be silently dropped by the responder. The responder then waits for a new request packet.
commit 689c5421bfe0 ("RDMA/rxe: Fix incorrect responder length checking") defers responder length check for UD QPs in function `copy_data`. But it introduces a regression issue for UD QPs.
When the packet size is too large to fit in the receive buffer. `copy_data` will return error code -EINVAL. Then `send_data_in` will return RESPST_ERR_MALFORMED_WQE. UD QP will transfer into ERROR state.
Which versions are affected by CVE-2024-40992?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-40992?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-40992 being exploited?
There is no known exploitation of CVE-2024-40992 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-40992, DEBIAN-CVE-2024-40992, GHSA-pq93-v2j7-gw4w, UBUNTU-CVE-2024-40992.