CVE-2021-47001 xprtrdma: Fix cwnd update ordering
A race condition in the Linux kernel's xprtrdma module causes immediate connection loss and denial of service after reconnects.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-47001?
CVE-2021-47001 is a high-severity vulnerability in Linux kernel, published on 28 Feb 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:
xprtrdma: Fix cwnd update ordering
After a reconnect, the reply handler is opening the cwnd (and thus enabling more RPC Calls to be sent) /before/ rpcrdma_post_recvs() can post enough Receive WRs to receive their replies. This causes an RNR and the new connection is lost immediately.
The race is most clearly exposed when KASAN and disconnect injection are enabled. This slows down rpcrdma_rep_create() enough to allow the send side to post a bunch of RPC Calls before the Receive completion handler can invoke ib_post_recv().
Which versions are affected by CVE-2021-47001?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2021-47001?
Apply the vendor's patch.
Is CVE-2021-47001 being exploited?
There is no known exploitation of CVE-2021-47001 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2021-47001, GHSA-h3qj-j9m5-8ffr, UBUNTU-CVE-2021-47001.