{"id":"CVE-2026-92525","revision":"58e99bd4692242ccbdcbb0a64d86173d","records":[{"revision":"58e99bd4692242ccbdcbb0a64d86173d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-92525","aliases":[],"title":"RDMA/rxe: Validate num_sge/cur_sge before indexing wqe->dma.sge[]","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Validate num_sge/cur_sge before indexing wqe->dma.sge[]\n\nFor a user QP, qp->sq.queue is a ring the application writes directly,\nso rxe_post_send() takes the is_user branch and only schedules send_task\nwithout validating the WQE. rxe_requester() consumes it in place via\nreq_next_wqe() and calls copy_data(), which indexes\n&wqe->dma.sge[cur_sge] with the attacker-controlled num_sge/cur_sge.\nOnly the kernel path bounds num_sge (validate_send_wr()); the user WQE\nis never checked, so a local unprivileged user can post a WQE with an\nout-of-range cur_sge or oversized num_sge and force an out-of-bounds\nread of the per-WQE sge array in copy_data() (vmalloc OOB read, local\nDoS).\n\nBound num_sge to qp->sq.max_sge in rxe_requester() before use, the way\nget_srq_wqe() already guards SRQ entries, and bound cur_sge only when\nthe WQE carries payload (dma.resid): copy_data() returns early on a\nzero-length copy before touching dma->sge[], so a zero-payload WQE --\nthe only kind a max_sge == 0 QP can post -- stays valid.\n\nReproduced under KASAN; the vmalloc-out-of-bounds in copy_data() is gone.","state":0,"publishedAt":"2026-09-17T16:10:30.789+00:00","modifiedAt":"2026-10-19T09:04:31.432+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/infiniband/sw/rxe/rxe_req.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"8700e3e7c4857d28ebaa824509934556da0b3e76\",\n                            \"lessThan\": \"69d3ccf6543f24c452a020c8028ca6f46cb1e8db\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8700e3e7c4857d28ebaa824509934556da0b3e76\",\n                            \"lessThan\": \"750bba6ce9bb0b11d6a166031c9728ae3f21765e\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8700e3e7c4857d28ebaa824509934556da0b3e76\",\n                            \"lessThan\": \"c067aa7b231e91a18a1b3666201ab14dfb00347a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8700e3e7c4857d28ebaa824509934556da0b3e76\",\n                            \"lessThan\": \"13cb7160e5b791f5e3ecf9311cf32849fe7e9b62\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8700e3e7c4857d28ebaa824509934556da0b3e76\",\n                            \"lessThan\": \"5ec111ddc1f727c1e4580aea459842ae5a8359a5\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8700e3e7c4857d28ebaa824509934556da0b3e76\",\n                            \"lessThan\": \"126c757e4cd46f866ddc283143b58eb4d9bf52cd\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/infiniband/sw/rxe/rxe_req.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"4.8\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"4.8\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.188\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.157\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.110\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.52\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.6\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/69d3ccf6543f24c452a020c8028ca6f46cb1e8db","https://git.kernel.org/stable/c/750bba6ce9bb0b11d6a166031c9728ae3f21765e","https://git.kernel.org/stable/c/c067aa7b231e91a18a1b3666201ab14dfb00347a","https://git.kernel.org/stable/c/13cb7160e5b791f5e3ecf9311cf32849fe7e9b62","https://git.kernel.org/stable/c/5ec111ddc1f727c1e4580aea459842ae5a8359a5","https://git.kernel.org/stable/c/126c757e4cd46f866ddc283143b58eb4d9bf52cd"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-92525","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-92525","identifiers":["CVE-2026-92525"]},"retained":false,"historicalAffected":[]}],"coverage":[]}