Bug 2516865 (CVE-2026-74378) - CVE-2026-74378 kernel: RDMA/rxe: Fix TOCTOU heap overflow in get_srq_wqe
Summary: CVE-2026-74378 kernel: RDMA/rxe: Fix TOCTOU heap overflow in get_srq_wqe
Keywords:
Status: NEW
Alias: CVE-2026-74378
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 06:37 UTC by OSIDB Bzimport
Modified: 2026-08-20 19:43 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 06:37:31 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.