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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-15 · Modified: 2026-10-16
- Aliases: UBUNTU-CVE-2026-74378, DEBIAN-CVE-2026-74378
- Record: https://cvemate.com/vulnerability/CVE-2026-74378 · JSON: https://cvemate.com/vulnerability/CVE-2026-74378/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.143%, percentile 3.752%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 170)

- debian linux (Debian): \< 6.1.180-1 \| \< 6.12.100-1 \| \< 7.1.5-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-202.212 \| \< 6.8.0-147.147 \| \< 7.0.0-38.38
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126 \| \< 6.8.0-1067.70 \| \< 7.0.0-1014.14
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): \< 7.0.0-1014.14~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126+fips1 \| \< 6.8.0-1067.70+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)

## References (first 20 of 34)

- <https://git.kernel.org/stable/c/c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe>
- <https://git.kernel.org/stable/c/e48daa94ad2d406225b73491fc935064716f0ec7>
- <https://git.kernel.org/stable/c/3cfa2a3adc51b7c57729961a03446962ff10e3d2>
- <https://git.kernel.org/stable/c/cd19a6345e3727adafafa5954b58b13c92e13b80>
- <https://git.kernel.org/stable/c/3e07ea9579dc9553d2285c26c2823931358aa3b8>
- <https://git.kernel.org/stable/c/02558c86b6b761063e9399e6b939984500327ef1>
- <https://git.kernel.org/stable/c/b9800d7953d119bcc068c74587d48e4ba0313629>
- <https://git.kernel.org/stable/c/22b8fbded65b8c441b634a185f8da67657df6c50>
- <https://ubuntu.com/security/CVE-2026-74378>
- <https://www.cve.org/CVERecord?id=CVE-2026-74378>
- <https://git.kernel.org/linus/22b8fbded65b8c441b634a185f8da67657df6c50>
- <https://ubuntu.com/security/notices/USN-8888-1>
- <https://ubuntu.com/security/notices/USN-8889-1>
- <https://ubuntu.com/security/notices/USN-8887-1>
- <https://ubuntu.com/security/notices/USN-8886-1>
- <https://ubuntu.com/security/notices/USN-8888-2>
- <https://ubuntu.com/security/notices/USN-8887-2>
- <https://ubuntu.com/security/notices/USN-8887-3>
- <https://security-tracker.debian.org/tracker/CVE-2026-74378>
- <https://ubuntu.com/security/notices/USN-8917-1>

---

Data as of 2026-12-06T04:32:57.846Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
