# CVE-2025-21829: RDMA/rxe: Fix the warning "\_\_rxe\_cleanup+0x12c/0x170 \[rdma\_rxe\]"

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.80% (percentile 54, 2026-11-26)
- **Published:** 2025-03-06T16:08:09.054Z
- **Modified:** 2026-08-05T11:54:46.464Z

## Who should check

- Anyone running Linux \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< 720653309dd31c8a927ef5d87964578ad544980f; \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< 45e567800492088bc52c9abac35524b4d332a8f8; \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< 7a2de8126ed3801f2396720e10a03cd546a3cea1; \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< a7d15eaecf0d6e13226db629ae2401c8c02683e5; \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< edc4ef0e0154096d6c0cf5e06af6fc330dbad9d1
- Anyone running Linux 6.0

## 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.

## Affected and fixed versions

- Linux: \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< 720653309dd31c8a927ef5d87964578ad544980f; \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< 45e567800492088bc52c9abac35524b4d332a8f8; \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< 7a2de8126ed3801f2396720e10a03cd546a3cea1; \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< a7d15eaecf0d6e13226db629ae2401c8c02683e5; \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< edc4ef0e0154096d6c0cf5e06af6fc330dbad9d1 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-21829. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21829.md
Affected: Linux >= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, < 720653309dd31c8a927ef5d87964578ad544980f; >= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, < 45e567800492088bc52c9abac35524b4d332a8f8; >= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, < 7a2de8126ed3801f2396720e10a03cd546a3cea1; >= 215d0a755e1bcd92cbe6a71…
Fixed in: Linux 720653309dd31c8a927ef5d87964578ad544980f, Linux 45e567800492088bc52c9abac35524b4d332a8f8, Linux 7a2de8126ed3801f2396720e10a03cd546a3cea1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-21829 being exploited?

There is no confirmed exploitation: CVE-2025-21829 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-21829?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-21829?

Linux \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< 720653309dd31c8a927ef5d87964578ad544980f; \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< 45e567800492088bc52c9abac35524b4d332a8f8; \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< 7a2de8126ed3801f2396720e10a03cd546a3cea1; \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< a7d15eaecf0d6e13226db629ae2401c8c02683e5; \>= 215d0a755e1bcd92cbe6a71a21194ce7c82ec106, \< edc4ef0e0154096d6c0cf5e06af6fc330dbad9d1; Linux 6.0.

### Is there a fix for CVE-2025-21829?

Yes. Fixed in Linux 720653309dd31c8a927ef5d87964578ad544980f, Linux 45e567800492088bc52c9abac35524b4d332a8f8, Linux 7a2de8126ed3801f2396720e10a03cd546a3cea1. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-21829?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-21829>

HTML: <https://flawdb.com/CVE-2025-21829> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-21829>
