# CVE-2025-21829: RDMA/rxe: Fix the warning "__rxe_cleanup+0x12c/0x170 [rdma_rxe]"

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2025-03-06T16:08:09.054Z
- Modified: 2026-08-05T11:54:46.464Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/rxe: Fix the warning "__rxe_cleanup+0x12c/0x170 [rdma_rxe]"

The Call Trace is as below:
"
  <TASK>
  ? show_regs.cold+0x1a/0x1f
  ? __rxe_cleanup+0x12c/0x170 [rdma_rxe]
  ? __warn+0x84/0xd0
  ? __rxe_cleanup+0x12c/0x170 [rdma_rxe]
  ? report_bug+0x105/0x180
  ? handle_bug+0x46/0x80
  ? exc_invalid_op+0x19/0x70
  ? asm_exc_invalid_op+0x1b/0x20
  ? __rxe_cleanup+0x12c/0x170 [rdma_rxe]
  ? __rxe_cleanup+0x124/0x170 [rdma_rxe]
  rxe_destroy_qp.cold+0x24/0x29 [rdma_rxe]
  ib_destroy_qp_user+0x118/0x190 [ib_core]
  rdma_destroy_qp.cold+0x43/0x5e [rdma_cm]
  rtrs_cq_qp_destroy.cold+0x1d/0x2b [rtrs_core]
  rtrs_srv_close_work.cold+0x1b/0x31 [rtrs_server]
  process_one_work+0x21d/0x3f0
  worker_thread+0x4a/0x3c0
  ? process_one_work+0x3f0/0x3f0
  kthread+0xf0/0x120
  ? kthread_complete_and_exit+0x20/0x20
  ret_from_fork+0x22/0x30
  </TASK>
"
When too many rdma resources are allocated, rxe needs more time to
handle these rdma resources. Sometimes with the current timeout, rxe
can not release the rdma resources correctly.

Compared with other rdma drivers, a bigger timeout is used.

(As written by CVE List.)

## Affected

- Linux Linux: from 215d0a755e1bcd92cbe6a71a21194ce7c82ec106 before 720653309dd31c8a927ef5d87964578ad544980f; from 215d0a755e1bcd92cbe6a71a21194ce7c82ec106 before 45e567800492088bc52c9abac35524b4d332a8f8; from 215d0a755e1bcd92cbe6a71a21194ce7c82ec106 before 7a2de8126ed3801f2396720e10a03cd546a3cea1; from 215d0a755e1bcd92cbe6a71a21194ce7c82ec106 before a7d15eaecf0d6e13226db629ae2401c8c02683e5; from 215d0a755e1bcd92cbe6a71a21194ce7c82ec106 before edc4ef0e0154096d6c0cf5e06af6fc330dbad9d1; 6.0 (not affected: before 6.0; from 6.1.129 up to 6.1.*; from 6.6.76 up to 6.6.*; from 6.12.13 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.0 before 6.1.129; from 6.2 before 6.6.76; from 6.7 before 6.12.13; from 6.13 before 6.13.2

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/720653309dd31c8a927ef5d87964578ad544980f> (patch)
- <https://git.kernel.org/stable/c/45e567800492088bc52c9abac35524b4d332a8f8> (patch)
- <https://git.kernel.org/stable/c/7a2de8126ed3801f2396720e10a03cd546a3cea1> (patch)
- <https://git.kernel.org/stable/c/a7d15eaecf0d6e13226db629ae2401c8c02683e5> (patch)
- <https://git.kernel.org/stable/c/edc4ef0e0154096d6c0cf5e06af6fc330dbad9d1> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>

## Sources

- CVE List: [CVE-2025-21829](https://www.cve.org/CVERecord?id=CVE-2025-21829), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-21829](https://nvd.nist.gov/vuln/detail/CVE-2025-21829), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-21829 · Whole record: https://cve.day/CVE-2025-21829.json · Rebuilt by cve.day 2026-11-25T22:58:55.022Z
