# CVE-2026-45852: RDMA/rxe: Fix double free in rxe\_srq\_from\_init

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-26)
- **CWE:** CWE-415, CWE-1341
- **Published:** 2026-05-27T12:15:26.084Z
- **Modified:** 2026-10-19T20:18:19.453Z

## Who should check

- Anyone running Linux \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< b98ab5494dbd48652561aa0b9c32f10500220745; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< d493e0bfc748a520c349d6c8791b262aa5ad2e4e; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 9abff51163aa1bc275ec356f74fe976291860a7f; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 26793db60925df1e88a29466813d586cbc190b8c; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< ce6f8e007682f378279d4cf83b240f12d52c723b; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 5c07aef09a121a4cd622a71eb0753a9e135c84a8; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 26a9cfe12f4ffdeaa136f252478986fa5f397ddc; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 0beefd0e15d962f497aad750b2d5e9c3570b66d1; 350703fae672d4d649c3562c199eab5ec9dc7c79; \>= 4.19.86, \< 4.20
- Anyone running Linux 4.20

## Description

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

RDMA/rxe: Fix double free in rxe\_srq\_from\_init

In rxe\_srq\_from\_init(), the queue pointer 'q' is assigned to
'srq-\>rq.queue' before copying the SRQ number to user space.
If copy\_to\_user() fails, the function calls rxe\_queue\_cleanup()
to free the queue, but leaves the now-invalid pointer in
'srq-\>rq.queue'.

The caller of rxe\_srq\_from\_init() (rxe\_create\_srq) eventually
calls rxe\_srq\_cleanup() upon receiving the error, which triggers
a second rxe\_queue\_cleanup() on the same memory, leading to a
double free.

The call trace looks like this:
   kmem\_cache\_free+0x.../0x...
   rxe\_queue\_cleanup+0x1a/0x30 \[rdma\_rxe\]
   rxe\_srq\_cleanup+0x42/0x60 \[rdma\_rxe\]
   rxe\_elem\_release+0x31/0x70 \[rdma\_rxe\]
   rxe\_create\_srq+0x12b/0x1a0 \[rdma\_rxe\]
   ib\_create\_srq\_user+0x9a/0x150 \[ib\_core\]

Fix this by moving 'srq-\>rq.queue = q' after copy\_to\_user.

## Affected and fixed versions

- Linux: \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< b98ab5494dbd48652561aa0b9c32f10500220745; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< d493e0bfc748a520c349d6c8791b262aa5ad2e4e; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 9abff51163aa1bc275ec356f74fe976291860a7f; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 26793db60925df1e88a29466813d586cbc190b8c; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< ce6f8e007682f378279d4cf83b240f12d52c723b; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 5c07aef09a121a4cd622a71eb0753a9e135c84a8; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 26a9cfe12f4ffdeaa136f252478986fa5f397ddc; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 0beefd0e15d962f497aad750b2d5e9c3570b66d1; 350703fae672d4d649c3562c199eab5ec9dc7c79; \>= 4.19.86, \< 4.20 (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- Upgrade Linux to 4.20 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-45852.md
Affected: Linux >= aae0484e15f062ad2c2502e68e15dfb8b8f84608, < b98ab5494dbd48652561aa0b9c32f10500220745; >= aae0484e15f062ad2c2502e68e15dfb8b8f84608, < d493e0bfc748a520c349d6c8791b262aa5ad2e4e; >= aae0484e15f062ad2c2502e68e15dfb8b8f84608, < 9abff51163aa1bc275ec356f74fe976291860a7f; >= aae0484e15f062ad2c2502e…
Fixed in: Linux 9abff51163aa1bc275ec356f74fe976291860a7f, Linux 26793db60925df1e88a29466813d586cbc190b8c, Linux 5c07aef09a121a4cd622a71eb0753a9e135c84a8, Linux 26a9cfe12f4ffdeaa136f252478986fa5f397ddc, Linux 0beefd0e15d962f497aad750b2d5e9c3570b66d1, Linux 4.20

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-2026-45852 being exploited?

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

### How serious is CVE-2026-45852?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-45852?

Linux \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< b98ab5494dbd48652561aa0b9c32f10500220745; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< d493e0bfc748a520c349d6c8791b262aa5ad2e4e; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 9abff51163aa1bc275ec356f74fe976291860a7f; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 26793db60925df1e88a29466813d586cbc190b8c; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< ce6f8e007682f378279d4cf83b240f12d52c723b; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 5c07aef09a121a4cd622a71eb0753a9e135c84a8; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 26a9cfe12f4ffdeaa136f252478986fa5f397ddc; \>= aae0484e15f062ad2c2502e68e15dfb8b8f84608, \< 0beefd0e15d962f497aad750b2d5e9c3570b66d1; 350703fae672d4d649c3562c199eab5ec9dc7c79; \>= 4.19.86, \< 4.20; Linux 4.20.

### Is there a fix for CVE-2026-45852?

Yes. Fixed in Linux 9abff51163aa1bc275ec356f74fe976291860a7f, Linux 26793db60925df1e88a29466813d586cbc190b8c, Linux 5c07aef09a121a4cd622a71eb0753a9e135c84a8, Linux 26a9cfe12f4ffdeaa136f252478986fa5f397ddc, Linux 0beefd0e15d962f497aad750b2d5e9c3570b66d1, Linux 4.20. Upgrade Linux to 4.20 or later.

### How do I check if I'm affected by CVE-2026-45852?

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

- vendor: <https://access.redhat.com/errata/RHSA-2026:35844>
- vendor: <https://access.redhat.com/errata/RHSA-2026:41236>
- vendor: <https://access.redhat.com/errata/RHSA-2026:27713>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34094>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25217>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25121>
- vendor: <https://access.redhat.com/errata/RHSA-2026:35896>
- vendor: <https://access.redhat.com/errata/RHSA-2026:33899>
- vendor: <https://access.redhat.com/errata/RHSA-2026:35863>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25120>
- patch: <https://git.kernel.org/stable/c/b98ab5494dbd48652561aa0b9c32f10500220745>
- patch: <https://git.kernel.org/stable/c/d493e0bfc748a520c349d6c8791b262aa5ad2e4e>
- patch: <https://git.kernel.org/stable/c/9abff51163aa1bc275ec356f74fe976291860a7f>
- patch: <https://git.kernel.org/stable/c/26793db60925df1e88a29466813d586cbc190b8c>
- patch: <https://git.kernel.org/stable/c/ce6f8e007682f378279d4cf83b240f12d52c723b>
- patch: <https://git.kernel.org/stable/c/5c07aef09a121a4cd622a71eb0753a9e135c84a8>
- patch: <https://git.kernel.org/stable/c/26a9cfe12f4ffdeaa136f252478986fa5f397ddc>
- patch: <https://git.kernel.org/stable/c/0beefd0e15d962f497aad750b2d5e9c3570b66d1>
- other: <https://access.redhat.com/security/cve/CVE-2026-45852>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2482166>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45852.json>

## 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-2026-45852>

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