# CVE-2026-74378: RDMA/rxe: Fix TOCTOU heap overflow in get\_srq\_wqe

> 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.19% (percentile 5, 2026-11-26)
- **Published:** 2026-08-15T05:58:56.381Z
- **Modified:** 2026-10-16T19:17:42.837Z

## Who should check

- Anyone running Linux \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< e48daa94ad2d406225b73491fc935064716f0ec7; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 3cfa2a3adc51b7c57729961a03446962ff10e3d2; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< cd19a6345e3727adafafa5954b58b13c92e13b80; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 3e07ea9579dc9553d2285c26c2823931358aa3b8; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 02558c86b6b761063e9399e6b939984500327ef1; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< b9800d7953d119bcc068c74587d48e4ba0313629; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 22b8fbded65b8c441b634a185f8da67657df6c50
- Anyone running Linux 4.8

## Description

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

RDMA/rxe: Fix TOCTOU heap overflow in get\_srq\_wqe

get\_srq\_wqe() reads wqe-\>dma.num\_sge from the shared receive queue
buffer, which is mapped into userspace. It validates num\_sge against
max\_sge, but then re-reads the same field to calculate the memcpy
size. A concurrent userspace thread can modify num\_sge between
validation and use, causing a heap buffer overflow when copying the
WQE into qp-\>resp.srq\_wqe.

Read num\_sge into a local variable and use it for both the bounds
check and the size calculation.

## Affected and fixed versions

- Linux: \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< e48daa94ad2d406225b73491fc935064716f0ec7; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 3cfa2a3adc51b7c57729961a03446962ff10e3d2; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< cd19a6345e3727adafafa5954b58b13c92e13b80; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 3e07ea9579dc9553d2285c26c2823931358aa3b8; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 02558c86b6b761063e9399e6b939984500327ef1; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< b9800d7953d119bcc068c74587d48e4ba0313629; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 22b8fbded65b8c441b634a185f8da67657df6c50 (cvelist)
- Linux: 4.8 (cvelist)

## Mitigation

- Upgrade Linux to 22b8fbded65b8c441b634a185f8da67657df6c50 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-74378. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74378.md
Affected: Linux >= 8700e3e7c4857d28ebaa824509934556da0b3e76, < c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe; >= 8700e3e7c4857d28ebaa824509934556da0b3e76, < e48daa94ad2d406225b73491fc935064716f0ec7; >= 8700e3e7c4857d28ebaa824509934556da0b3e76, < 3cfa2a3adc51b7c57729961a03446962ff10e3d2; >= 8700e3e7c4857d28ebaa824…
Fixed in: Linux 3cfa2a3adc51b7c57729961a03446962ff10e3d2, Linux 3e07ea9579dc9553d2285c26c2823931358aa3b8, Linux 02558c86b6b761063e9399e6b939984500327ef1, Linux 22b8fbded65b8c441b634a185f8da67657df6c50

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

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

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

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

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

Linux \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< e48daa94ad2d406225b73491fc935064716f0ec7; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 3cfa2a3adc51b7c57729961a03446962ff10e3d2; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< cd19a6345e3727adafafa5954b58b13c92e13b80; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 3e07ea9579dc9553d2285c26c2823931358aa3b8; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 02558c86b6b761063e9399e6b939984500327ef1; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< b9800d7953d119bcc068c74587d48e4ba0313629; \>= 8700e3e7c4857d28ebaa824509934556da0b3e76, \< 22b8fbded65b8c441b634a185f8da67657df6c50; Linux 4.8.

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

Yes. Fixed in Linux 3cfa2a3adc51b7c57729961a03446962ff10e3d2, Linux 3e07ea9579dc9553d2285c26c2823931358aa3b8, Linux 02558c86b6b761063e9399e6b939984500327ef1, Linux 22b8fbded65b8c441b634a185f8da67657df6c50. Upgrade Linux to 22b8fbded65b8c441b634a185f8da67657df6c50 or later.

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

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/c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe>
- other: <https://git.kernel.org/stable/c/e48daa94ad2d406225b73491fc935064716f0ec7>
- other: <https://git.kernel.org/stable/c/3cfa2a3adc51b7c57729961a03446962ff10e3d2>
- other: <https://git.kernel.org/stable/c/cd19a6345e3727adafafa5954b58b13c92e13b80>
- other: <https://git.kernel.org/stable/c/3e07ea9579dc9553d2285c26c2823931358aa3b8>
- other: <https://git.kernel.org/stable/c/02558c86b6b761063e9399e6b939984500327ef1>
- other: <https://git.kernel.org/stable/c/b9800d7953d119bcc068c74587d48e4ba0313629>
- other: <https://git.kernel.org/stable/c/22b8fbded65b8c441b634a185f8da67657df6c50>

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

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