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 E1E1146F4AF for ; Fri, 25 Sep 2026 10:42:09 +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=1790332931; cv=none; b=ofN8WcwA0m1BH6TAZYL+nF12s4MvN+I1cF7RScSDLHuEUjZiEtC5P2QfhsJd+Vh5cY9Qf1EPO3mCjMdHir8Sm9RPiBv/mMaUtGe710kB/u81k3iyVgGk1X2c+Dre8RKip3Ha5SOvQPDD4Rl7hQ2mxh6UYcDx2lco+OT+YXVvYhI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332931; c=relaxed/simple; bh=LxCkNg7Tnobq/zzPEBJW6Dxc0VYbpgO+DrBw4nU/zkg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GWerZ6bbvy1Z2/dqz4pE4zqd6V0uxZJkYxl8JsptxpdPrx4J8izKyEdPjE+AEMFn20TguVyFhOK2+jylvb9OLdULVG8BvNBBQsByxHALYOAJ05k3A+YbpNv+iW4kY5rPD5t3/Nen85QXJr07h3ct8GcWhIYPB99whHmTPf/wqmo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=J4w2aIwQ; 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="J4w2aIwQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46A451F00893; Fri, 25 Sep 2026 10:42:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332929; bh=SfHFSxWtHmPo+i8YxoJEWq5AZPmeb1q4p+spxZH4Ebg=; h=From:To:Cc:Subject:Date:Reply-To; b=J4w2aIwQfmPoIvUIvfzj2W4DhWSmdtGS6nxsXl+tDJFqA1uLjiZou/GgyDEUCQSJ5 GlpUwevaftluewy9397Dt1qAPaYctsdZdlulDK0wNWMCN+QFsYaWW8IIUdJZ2RtzyA vuI4I9hjiI2+AMNsGgbEkrzzEXO/w8S+SoOGTMoA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98154: nvme-rdma: fix -EIO cleanup order in queue_rq Date: Fri, 25 Sep 2026 12:40:01 +0200 Message-ID: <2026092519-CVE-2026-98154-6701@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=2562; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CYjMbLBVP9Lrwys5gv27zp/VAEFQ1o+MR86YVjffCEI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnb/MNL5ytXdi9XOLt5VbvChNh+XrOz5xm9zxw2Ys86l Fq/gPNzRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEgpFhnvqi82t+P7o43WxB 5dnub3FekzTVdjHMT2eTbv1zd2qU7x7FDJZ1PZtq1l1RAQA= 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: nvme-rdma: fix -EIO cleanup order in queue_rq On -EIO, the RDMA queue_rq path reports a host path error and then still cleans up the command and unmaps the SQE DMA. The path error helper completes the request, so that is double cleanup and DMA unmap after the request is already complete. Unmap the SQE first, then report the host path error. Skip the outer command cleanup on that path. The Linux kernel CVE team has assigned CVE-2026-98154 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit 62eca39722fd997e3621fc903229917b9f0fb271 and fixed in 6.12.111 with commit a41e7fc8d244d9cfc6273051aed85b67adedbb89 Issue introduced in 5.12 with commit 62eca39722fd997e3621fc903229917b9f0fb271 and fixed in 6.18.53 with commit cf3e706963ffbd3ee2568fa0d08ab016f0575ea8 Issue introduced in 5.12 with commit 62eca39722fd997e3621fc903229917b9f0fb271 and fixed in 7.2.7 with commit 171b993a4aed9889159df4815b6a6ba141e61975 Issue introduced in 5.12 with commit 62eca39722fd997e3621fc903229917b9f0fb271 and fixed in 7.3-rc2 with commit d61828199c6cb4b76d48403c77023cd4bb9d09fc 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-98154 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/nvme/host/rdma.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/a41e7fc8d244d9cfc6273051aed85b67adedbb89 https://git.kernel.org/stable/c/cf3e706963ffbd3ee2568fa0d08ab016f0575ea8 https://git.kernel.org/stable/c/171b993a4aed9889159df4815b6a6ba141e61975 https://git.kernel.org/stable/c/d61828199c6cb4b76d48403c77023cd4bb9d09fc