PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-74378 Linux CVE debrief

A TOCTOU heap overflow vulnerability exists in the Linux kernel's RDMA/rxe component. The vulnerability is caused by a race condition between validation and use of the `num_sge` field in the shared receive queue buffer. This can lead to a heap buffer overflow when copying the WQE into `qp->resp.srq_wqe`. The issue arises from the `get_srq_wqe()` function reading `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. Linux kernel users,

Vendor
Linux
Product
Unknown
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-15
Original CVE updated
2026-10-16
Advisory published
2026-08-15
Advisory updated
2026-10-16

Who should care

Linux kernel developers and maintainers, Linux distribution maintainers, and users of Linux systems that use the RDMA/rxe component, as well as security teams and operators managing Linux systems in their environments, should assess exposure and apply patches or mitigations to prevent exploitation.

Why it matters

A TOCTOU heap overflow vulnerability in the Linux kernel's RDMA/rxe component can lead to denial of service or code execution. Linux kernel developers and maintainers, Linux distribution maintainers, and users of Linux systems that use the RDMA/rxe component should assess exposure and apply patches or mitigations to prevent exploitation.

  • Heap buffer overflow can lead to denial of service or code execution
  • Vulnerability requires patching or mitigation to prevent exploitation
  • Exploitation can result in system crashes or instability
  • Verification of patch application and system configuration is necessary

Technical summary

The `get_srq_wqe()` function in the Linux kernel's RDMA/rxe component is vulnerable to a TOCTOU heap overflow. The function 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`.

Defensive priority

High

Recommended defensive actions

  • Review and apply the provided patches to fix the vulnerability
  • Ensure that the Linux kernel is updated to a version that includes the fix
  • Monitor the Linux kernel's vulnerability management process for updates
  • Perform a thorough review of system configurations and patch application
  • Verify system stability after applying patches
  • Track changes to the Linux kernel's vulnerability management process
  • Review compensating controls for exposed systems while remediation is scheduled and verified

Evidence notes

The vulnerability is caused by a race condition between validation and use of the `num_sge` field in the shared receive queue buffer. The `get_srq_wqe()` function 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`.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-74378 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-74378

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-74378 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-74378

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • RDMA/rxe: Fix TOCTOU heap overflow in get_srq_wqe

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/74xxx/CVE-2026-74378.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/e48daa94ad2d406225b73491fc935064716f0ec7

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/3cfa2a3adc51b7c57729961a03446962ff10e3d2

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/cd19a6345e3727adafafa5954b58b13c92e13b80

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/3e07ea9579dc9553d2285c26c2823931358aa3b8

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/02558c86b6b761063e9399e6b939984500327ef1

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/b9800d7953d119bcc068c74587d48e4ba0313629

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.