{"api_version":"1","generated_at":"2026-10-02T21:36:53+00:00","cve":"CVE-2026-92525","urls":{"html":"https://cve.report/CVE-2026-92525","api":"https://cve.report/api/cve/CVE-2026-92525.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-92525","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-92525"},"summary":{"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":"PUBLISHED","assigner":"Linux","published_at":"2026-09-17 17:17:55","updated_at":"2026-09-18 18:18:14"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.1","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.1","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","data":{"baseScore":7.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/69d3ccf6543f24c452a020c8028ca6f46cb1e8db","name":"https://git.kernel.org/stable/c/69d3ccf6543f24c452a020c8028ca6f46cb1e8db","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/13cb7160e5b791f5e3ecf9311cf32849fe7e9b62","name":"https://git.kernel.org/stable/c/13cb7160e5b791f5e3ecf9311cf32849fe7e9b62","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/126c757e4cd46f866ddc283143b58eb4d9bf52cd","name":"https://git.kernel.org/stable/c/126c757e4cd46f866ddc283143b58eb4d9bf52cd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5ec111ddc1f727c1e4580aea459842ae5a8359a5","name":"https://git.kernel.org/stable/c/5ec111ddc1f727c1e4580aea459842ae5a8359a5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/750bba6ce9bb0b11d6a166031c9728ae3f21765e","name":"https://git.kernel.org/stable/c/750bba6ce9bb0b11d6a166031c9728ae3f21765e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c067aa7b231e91a18a1b3666201ab14dfb00347a","name":"https://git.kernel.org/stable/c/c067aa7b231e91a18a1b3666201ab14dfb00347a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-92525","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92525","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8700e3e7c4857d28ebaa824509934556da0b3e76 69d3ccf6543f24c452a020c8028ca6f46cb1e8db git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8700e3e7c4857d28ebaa824509934556da0b3e76 750bba6ce9bb0b11d6a166031c9728ae3f21765e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8700e3e7c4857d28ebaa824509934556da0b3e76 c067aa7b231e91a18a1b3666201ab14dfb00347a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8700e3e7c4857d28ebaa824509934556da0b3e76 13cb7160e5b791f5e3ecf9311cf32849fe7e9b62 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8700e3e7c4857d28ebaa824509934556da0b3e76 5ec111ddc1f727c1e4580aea459842ae5a8359a5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8700e3e7c4857d28ebaa824509934556da0b3e76 126c757e4cd46f866ddc283143b58eb4d9bf52cd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.8","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.8 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.188 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.157 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.110 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.52 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.6 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"92525","cve":"CVE-2026-92525","epss":"0.001590000","percentile":"0.055210000","score_date":"2026-09-21","updated_at":"2026-09-22 00:03:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/infiniband/sw/rxe/rxe_req.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"69d3ccf6543f24c452a020c8028ca6f46cb1e8db","status":"affected","version":"8700e3e7c4857d28ebaa824509934556da0b3e76","versionType":"git"},{"lessThan":"750bba6ce9bb0b11d6a166031c9728ae3f21765e","status":"affected","version":"8700e3e7c4857d28ebaa824509934556da0b3e76","versionType":"git"},{"lessThan":"c067aa7b231e91a18a1b3666201ab14dfb00347a","status":"affected","version":"8700e3e7c4857d28ebaa824509934556da0b3e76","versionType":"git"},{"lessThan":"13cb7160e5b791f5e3ecf9311cf32849fe7e9b62","status":"affected","version":"8700e3e7c4857d28ebaa824509934556da0b3e76","versionType":"git"},{"lessThan":"5ec111ddc1f727c1e4580aea459842ae5a8359a5","status":"affected","version":"8700e3e7c4857d28ebaa824509934556da0b3e76","versionType":"git"},{"lessThan":"126c757e4cd46f866ddc283143b58eb4d9bf52cd","status":"affected","version":"8700e3e7c4857d28ebaa824509934556da0b3e76","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/infiniband/sw/rxe/rxe_req.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.8"},{"lessThan":"4.8","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.188","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.157","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.110","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.52","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.188","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.157","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.110","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.52","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"4.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"4.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"baseScore":7.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The attacker writes dma.num_sge/dma.cur_sge into the mmap'd send queue (rxe_init_sq→vmalloc_user, rxe_mmap); ib_uverbs_post_send only doorbells rxe_post_send, which for qp->is_user skips validate_send_wr() and schedules rxe_requester(). Inbound RoCE/UDP packets do not carry these WQE index fields.\nAC:L - The attacker fully controls the mmap'd SQ slot (cur_sge, num_sge, resid, opcode) and the producer_index, then issues IB_USER_VERBS_CMD_POST_SEND; rxe_requester→finish_packet→copy_data indexes sge[] with no race and no victim-side state.\nPR:L - uverbs_devnode() publishes /dev/infiniband/uverbsN as 0666; ib_uverbs_open, ib_uverbs_create_qp, ib_uverbs_modify_qp and ib_uverbs_post_send require no capability for IB_QPT_UD/RC, so an unprivileged local user can create a user QP, mmap the SQ and post the malformed WQE.\nUI:N - The attacker creates their own user QP, writes the malformed send WQE into their mmap'd SQ and doorbells post_send; no other user must mount, open a file, or otherwise act.\nS:U - The vmalloc OOB in copy_data() runs in the host kernel rxe requester on behalf of the local process and does not cross a VM, guest-to-host, or IOMMU/DMA authority boundary.\nC:H - copy_data() does &dma->sge[dma->cur_sge] with attacker-controlled u32 cur_sge/num_sge into the vmalloc SQ and then reads sge->length/lkey/addr; an oversized num_sge also lets the sge++ loop walk unbounded kernel vmalloc (KASAN vmalloc-out-of-bounds).\nI:N - finish_packet() calls copy_data(..., RXE_FROM_MR_OBJ), which only reads MR contents into the SKB; the OOB is a read of sge descriptors, dma updates stay in the attacker's mmap'd WQE, and lookup_mr/rxe_mr_copy remain confined to MRs in the caller's PD.\nA:H - Indexing &wqe->dma.sge[cur_sge] past the vmalloc_user send-queue object is a KASAN-reproduced vmalloc-out-of-bounds in copy_data() that oopses/panics the kernel."}]}],"providerMetadata":{"dateUpdated":"2026-09-18T17:55:38.904Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/69d3ccf6543f24c452a020c8028ca6f46cb1e8db"},{"url":"https://git.kernel.org/stable/c/750bba6ce9bb0b11d6a166031c9728ae3f21765e"},{"url":"https://git.kernel.org/stable/c/c067aa7b231e91a18a1b3666201ab14dfb00347a"},{"url":"https://git.kernel.org/stable/c/13cb7160e5b791f5e3ecf9311cf32849fe7e9b62"},{"url":"https://git.kernel.org/stable/c/5ec111ddc1f727c1e4580aea459842ae5a8359a5"},{"url":"https://git.kernel.org/stable/c/126c757e4cd46f866ddc283143b58eb4d9bf52cd"}],"title":"RDMA/rxe: Validate num_sge/cur_sge before indexing wqe->dma.sge[]","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-92525","datePublished":"2026-09-17T16:10:30.789Z","dateReserved":"2026-09-16T12:21:13.875Z","dateUpdated":"2026-09-18T17:55:38.904Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-17 17:17:55","lastModifiedDate":"2026-09-18 18:18:14","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"92525","Ordinal":"1","Title":"RDMA/rxe: Validate num_sge/cur_sge before indexing wqe->dma.sge[","CVE":"CVE-2026-92525","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"92525","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"RDMA/rxe: Validate num_sge/cur_sge before indexing wqe->dma.sge["}]}}}