Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A13DC5AEC61 for ; Thu, 17 Sep 2026 16:35:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662940; cv=none; b=M8PeRk7PUhHkGkQj1/G0LxkNZKU2nxT2fb/Lqs8iZuRWFWD/9bqXd4Qm5Dr5sNuYrvhIYRU91SlRmOiB+tG9Oq6Xg3ONIA+0YrbF/NqW5wqrHU+rtr3Jn/Bn92DM/a8h6NGGi+nQhBSuF/HjfgAUUPsg4eO+/nCSjArPjnPjmhM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662940; c=relaxed/simple; bh=iJy+QE9PD1Oplo1t0Dq6C02C6UIerGQhbj+AyvhMWo8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UbjTK33zUgrSBctL1alqc+JPOyX586YuA00HWhVDj+n08HuOZzT0b/OU+ZcPSVDn54NG/IFHbTs0KaXpTJqXK5imLqYJgn5SCRAeNW1xRnwGbJc1R+pEcKxghPnrtD6zRq3lBpPjFKz1nCNeFZiVc9RmEgmYMHEFyj6QKk/H86s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kuSBCO6T; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kuSBCO6T" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC8B21F00893; Thu, 17 Sep 2026 16:35:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662938; bh=UZSCbVu9jVC9mtIXckbinn0ktjukrSTr1mviBOU7rNs=; h=From:To:Cc:Subject:Date:Reply-To; b=kuSBCO6TkaPF8gV/IN0UhLPlZafLzPoe61OyZuaCtqx02LfMfSnKLbR1YmMtwSBWF oCtwLlRoyWoqKtFqe3xkgbMZV11VzgMAZcFr5cWnVCHXw0X4w4OGPX/p085ynBGLL9 BOqIMr+RRYK3jrxnbHxa8lFe5gvnDBAitjfkZZy8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-92525: RDMA/rxe: Validate num_sge/cur_sge before indexing wqe->dma.sge[] Date: Thu, 17 Sep 2026 17:15:15 +0100 Message-ID: <2026091731-CVE-2026-92525-2613@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3745; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UrIYzHv5HHX/tVGplcQ8kpjrustGNSz+T4Kqjz2ClxE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBHZv/aOR9eRk24++JyHLf39SYb39zf2JQynbJS6zB bxZ27Ys74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ/LrMME93053mE0Z351x7 897aMnghq8Ab25sM8z3aZOuMEjp0JlgYTp7EYij255NVOgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Validate num_sge/cur_sge before indexing wqe->dma.sge[] For a user QP, qp->sq.queue is a ring the application writes directly, so rxe_post_send() takes the is_user branch and only schedules send_task without validating the WQE. rxe_requester() consumes it in place via req_next_wqe() and calls copy_data(), which indexes &wqe->dma.sge[cur_sge] with the attacker-controlled num_sge/cur_sge. Only the kernel path bounds num_sge (validate_send_wr()); the user WQE is never checked, so a local unprivileged user can post a WQE with an out-of-range cur_sge or oversized num_sge and force an out-of-bounds read of the per-WQE sge array in copy_data() (vmalloc OOB read, local DoS). Bound num_sge to qp->sq.max_sge in rxe_requester() before use, the way get_srq_wqe() already guards SRQ entries, and bound cur_sge only when the WQE carries payload (dma.resid): copy_data() returns early on a zero-length copy before touching dma->sge[], so a zero-payload WQE -- the only kind a max_sge == 0 QP can post -- stays valid. Reproduced under KASAN; the vmalloc-out-of-bounds in copy_data() is gone. The Linux kernel CVE team has assigned CVE-2026-92525 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 8700e3e7c4857d28ebaa824509934556da0b3e76 and fixed in 6.1.188 with commit 69d3ccf6543f24c452a020c8028ca6f46cb1e8db Issue introduced in 4.8 with commit 8700e3e7c4857d28ebaa824509934556da0b3e76 and fixed in 6.6.157 with commit 750bba6ce9bb0b11d6a166031c9728ae3f21765e Issue introduced in 4.8 with commit 8700e3e7c4857d28ebaa824509934556da0b3e76 and fixed in 6.12.110 with commit c067aa7b231e91a18a1b3666201ab14dfb00347a Issue introduced in 4.8 with commit 8700e3e7c4857d28ebaa824509934556da0b3e76 and fixed in 6.18.52 with commit 13cb7160e5b791f5e3ecf9311cf32849fe7e9b62 Issue introduced in 4.8 with commit 8700e3e7c4857d28ebaa824509934556da0b3e76 and fixed in 7.2.6 with commit 5ec111ddc1f727c1e4580aea459842ae5a8359a5 Issue introduced in 4.8 with commit 8700e3e7c4857d28ebaa824509934556da0b3e76 and fixed in 7.3-rc1 with commit 126c757e4cd46f866ddc283143b58eb4d9bf52cd Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-92525 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/infiniband/sw/rxe/rxe_req.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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