7.5high
xprtrdma: Fix cwnd update ordering
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.75% (higher than 56% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2ae50ad68cd79224198b525f7bd645c9da98b6ff before eddae8be7944096419c2ae29477a45f767d0fcd4, from 2ae50ad68cd79224198b525f7bd645c9da98b6ff before 8834ecb5df22b7ff3c9b0deba7726579bb613f95, from 2ae50ad68cd79224198b525f7bd645c9da98b6ff before 19b5fa9489b5706bc878c3a522a7f771079e2fa0, from 2ae50ad68cd79224198b525f7bd645c9da98b6ff before 35d8b10a25884050bb3b0149b62c3818ec59f77c, 3791c5982ba1eebf2900ee7ca7b9a89619c26d54, from 5.4.13 before 5.5, 5.5 Not affected: before 5.5, from 5.10.38 up to 5.10.*, from 5.11.22 up to 5.11.*, from 5.12.5 up to 5.12.*, from 5.13 up to * | CVE List |
| linux linux_kernel | from 5.5 before 5.10.38, from 5.11 before 5.11.22, from 5.12 before 5.12.5 | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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().
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: xprtrdma: corrige el orden de actualización de cwnd Después de una reconexión, el controlador de respuesta abre cwnd (y así permite que se envíen más llamadas RPC) /antes/ rpcrdma_post_recvs() puede publicar suficiente recepción WR para recibir sus respuestas. Esto provoca un RNR y la nueva conexión se pierde inmediatamente. La ejecución se expone más claramente cuando KASAN y la inyección de desconexión están habilitados. Esto ralentiza rpcrdma_rep_create() lo suficiente como para permitir que el lado de envío publique un montón de llamadas RPC antes de que el controlador de finalización de recepción pueda invocar ib_post_recv().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47001 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2021-47001 changed 2026-08-04 | Public domain |