{"id":"CVE-2026-74378","aliases":["CVE-2026-74378"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/rxe: Fix TOCTOU heap overflow in get_srq_wqe","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Fix TOCTOU heap overflow in get_srq_wqe\n\nget_srq_wqe() reads wqe->dma.num_sge from the shared receive queue\nbuffer, which is mapped into userspace. It validates num_sge against\nmax_sge, but then re-reads the same field to calculate the memcpy\nsize. A concurrent userspace thread can modify num_sge between\nvalidation and use, causing a heap buffer overflow when copying the\nWQE into qp->resp.srq_wqe.\n\nRead num_sge into a local variable and use it for both the bounds\ncheck and the size calculation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Fix TOCTOU heap overflow in get_srq_wqe\n\nget_srq_wqe() reads wqe->dma.num_sge from the shared receive queue\nbuffer, which is mapped into userspace. It validates num_sge against\nmax_sge, but then re-reads the same field to calculate the memcpy\nsize. A concurrent userspace thread can modify num_sge between\nvalidation and use, causing a heap buffer overflow when copying the\nWQE into qp->resp.srq_wqe.\n\nRead num_sge into a local variable and use it for both the bounds\ncheck and the size calculation.","source":"cvelist"}],"published":"2026-08-15T05:58:56.381Z","modified":"2026-10-16T19:17:42.837Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"e48daa94ad2d406225b73491fc935064716f0ec7","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"3cfa2a3adc51b7c57729961a03446962ff10e3d2","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"cd19a6345e3727adafafa5954b58b13c92e13b80","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"3e07ea9579dc9553d2285c26c2823931358aa3b8","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"02558c86b6b761063e9399e6b939984500327ef1","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"b9800d7953d119bcc068c74587d48e4ba0313629","status":"affected"},{"type":"git","introduced":"8700e3e7c4857d28ebaa824509934556da0b3e76","fixed":"22b8fbded65b8c441b634a185f8da67657df6c50","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e48daa94ad2d406225b73491fc935064716f0ec7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3cfa2a3adc51b7c57729961a03446962ff10e3d2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd19a6345e3727adafafa5954b58b13c92e13b80","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3e07ea9579dc9553d2285c26c2823931358aa3b8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02558c86b6b761063e9399e6b939984500327ef1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b9800d7953d119bcc068c74587d48e4ba0313629","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/22b8fbded65b8c441b634a185f8da67657df6c50","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:54:53.282Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74378","url":"https://www.cve.org/CVERecord?id=CVE-2026-74378","licence":"CVE Terms of Use","modified":"2026-10-16T18:55:36.455Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74378","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74378","licence":"Public domain","modified":"2026-10-16T19:17:42.837Z"}],"updatedAt":"2026-11-25T22:59:33.188Z","epss":{"score":0.0019,"percentile":0.04986,"date":"2026-11-30T12:00:22.000Z"}}