# CVE-2025-68379: RDMA/rxe: Fix null deref on srq-\>rq.queue after resize failure

> 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.23% (percentile 9, 2026-11-26)
- **Published:** 2025-12-24T10:33:07.538Z
- **Modified:** 2026-10-30T13:18:22.470Z

## Who should check

- Anyone running Linux \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 3733e80e32d1479a8b9bbffffac644068483c720; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 58aca869babd48cb9c3d6ee9e1452c4b9f5266a6; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< b8f6eeb87a76b6fb1f6381b0b2894568e1b784f7; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 5dbeb421e137824aa9bd8358bdfc926a3965fc0d; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< bc4c14a3863cc0e03698caec9a0cdabd779776ee; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 503a5e4690ae14c18570141bc0dcf7501a8419b0
- Anyone running Linux 4.8

## Description

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

RDMA/rxe: Fix null deref on srq-\>rq.queue after resize failure

A NULL pointer dereference can occur in rxe\_srq\_chk\_attr() when
ibv\_modify\_srq() is invoked twice in succession under certain error
conditions. The first call may fail in rxe\_queue\_resize(), which leads
rxe\_srq\_from\_attr() to set srq-\>rq.queue = NULL. The second call then
triggers a crash (null deref) when accessing
srq-\>rq.queue-\>buf-\>index\_mask.

Call Trace:
\<TASK\>
rxe\_modify\_srq+0x170/0x480 \[rdma\_rxe\]
? \_\_pfx\_rxe\_modify\_srq+0x10/0x10 \[rdma\_rxe\]
? uverbs\_try\_lock\_object+0x4f/0xa0 \[ib\_uverbs\]
? rdma\_lookup\_get\_uobject+0x1f0/0x380 \[ib\_uverbs\]
ib\_uverbs\_modify\_srq+0x204/0x290 \[ib\_uverbs\]
? \_\_pfx\_ib\_uverbs\_modify\_srq+0x10/0x10 \[ib\_uverbs\]
? tryinc\_node\_nr\_active+0xe6/0x150
? uverbs\_fill\_udata+0xed/0x4f0 \[ib\_uverbs\]
ib\_uverbs\_handler\_UVERBS\_METHOD\_INVOKE\_WRITE+0x2c0/0x470 \[ib\_uverbs\]
? \_\_pfx\_ib\_uverbs\_handler\_UVERBS\_METHOD\_INVOKE\_WRITE+0x10/0x10 \[ib\_uverbs\]
? uverbs\_fill\_udata+0xed/0x4f0 \[ib\_uverbs\]
ib\_uverbs\_run\_method+0x55a/0x6e0 \[ib\_uverbs\]
? \_\_pfx\_ib\_uverbs\_handler\_UVERBS\_METHOD\_INVOKE\_WRITE+0x10/0x10 \[ib\_uverbs\]
ib\_uverbs\_cmd\_verbs+0x54d/0x800 \[ib\_uverbs\]
? \_\_pfx\_ib\_uverbs\_cmd\_verbs+0x10/0x10 \[ib\_uverbs\]
? \_\_pfx\_\_\_raw\_spin\_lock\_irqsave+0x10/0x10
? \_\_pfx\_do\_vfs\_ioctl+0x10/0x10
? ioctl\_has\_perm.constprop.0.isra.0+0x2c7/0x4c0
? \_\_pfx\_ioctl\_has\_perm.constprop.0.isra.0+0x10/0x10
ib\_uverbs\_ioctl+0x13e/0x220 \[ib\_uverbs\]
? \_\_pfx\_ib\_uverbs\_ioctl+0x10/0x10 \[ib\_uverbs\]
\_\_x64\_sys\_ioctl+0x138/0x1c0
do\_syscall\_64+0x82/0x250
? fdget\_pos+0x58/0x4c0
? ksys\_write+0xf3/0x1c0
? \_\_pfx\_ksys\_write+0x10/0x10
? do\_syscall\_64+0xc8/0x250
? \_\_pfx\_vm\_mmap\_pgoff+0x10/0x10
? fget+0x173/0x230
? fput+0x2a/0x80
? ksys\_mmap\_pgoff+0x224/0x4c0
? do\_syscall\_64+0xc8/0x250
? do\_user\_addr\_fault+0x37b/0xfe0
? clear\_bhb\_loop+0x50/0xa0
? clear\_bhb\_loop+0x50/0xa0
? clear\_bhb\_loop+0x50/0xa0
entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e

## Affected and fixed versions

- Linux: \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 3733e80e32d1479a8b9bbffffac644068483c720; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 58aca869babd48cb9c3d6ee9e1452c4b9f5266a6; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< b8f6eeb87a76b6fb1f6381b0b2894568e1b784f7; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 5dbeb421e137824aa9bd8358bdfc926a3965fc0d; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< bc4c14a3863cc0e03698caec9a0cdabd779776ee; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 503a5e4690ae14c18570141bc0dcf7501a8419b0 (cvelist)
- Linux: 4.8 (cvelist)

## Mitigation

- Upgrade Linux to 503a5e4690ae14c18570141bc0dcf7501a8419b0 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68379.md
Affected: Linux >= 8700e3e7c4857d28ebaa824509934556da0b3e76, < 3733e80e32d1479a8b9bbffffac644068483c720; >= 8700e3e7c4857d28ebaa824509934556da0b3e76, < 58aca869babd48cb9c3d6ee9e1452c4b9f5266a6; >= 8700e3e7c4857d28ebaa824509934556da0b3e76, < b8f6eeb87a76b6fb1f6381b0b2894568e1b784f7; >= 8700e3e7c4857d28ebaa824…
Fixed in: Linux 3733e80e32d1479a8b9bbffffac644068483c720, Linux 58aca869babd48cb9c3d6ee9e1452c4b9f5266a6, Linux 5dbeb421e137824aa9bd8358bdfc926a3965fc0d, Linux 503a5e4690ae14c18570141bc0dcf7501a8419b0

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-68379 being exploited?

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

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

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

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

Linux \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 3733e80e32d1479a8b9bbffffac644068483c720; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 58aca869babd48cb9c3d6ee9e1452c4b9f5266a6; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< b8f6eeb87a76b6fb1f6381b0b2894568e1b784f7; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 5dbeb421e137824aa9bd8358bdfc926a3965fc0d; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< bc4c14a3863cc0e03698caec9a0cdabd779776ee; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 503a5e4690ae14c18570141bc0dcf7501a8419b0; Linux 4.8.

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

Yes. Fixed in Linux 3733e80e32d1479a8b9bbffffac644068483c720, Linux 58aca869babd48cb9c3d6ee9e1452c4b9f5266a6, Linux 5dbeb421e137824aa9bd8358bdfc926a3965fc0d, Linux 503a5e4690ae14c18570141bc0dcf7501a8419b0. Upgrade Linux to 503a5e4690ae14c18570141bc0dcf7501a8419b0 or later.

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

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

- other: <https://git.kernel.org/stable/c/3733e80e32d1479a8b9bbffffac644068483c720>
- other: <https://git.kernel.org/stable/c/58aca869babd48cb9c3d6ee9e1452c4b9f5266a6>
- other: <https://git.kernel.org/stable/c/b8f6eeb87a76b6fb1f6381b0b2894568e1b784f7>
- other: <https://git.kernel.org/stable/c/5dbeb421e137824aa9bd8358bdfc926a3965fc0d>
- other: <https://git.kernel.org/stable/c/bc4c14a3863cc0e03698caec9a0cdabd779776ee>
- other: <https://git.kernel.org/stable/c/503a5e4690ae14c18570141bc0dcf7501a8419b0>

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

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