Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A82E8310652 for ; Sat, 14 Feb 2026 16:30:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771086601; cv=none; b=SgP5fEgqp9Sl0joe4WcBBU+txJtQn5lq3U2GSDhWQEVi6Wu6yI7p/OC+J8OZJZQQoBIHpIV6ZginQsnBSNkhHKG9GqooXuqp25NqKUnO+kzOZWt8CbzFGSy4ZitqvL1XtQS/WD5R+m/9kjva3HfNFhjnOocN+OTnhzN5zVh1EtI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771086601; c=relaxed/simple; bh=TQgLch8vpNqtKipbt/VHDc+DSzY+w5kYybbRfZJrHQs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mxCgbwhRNnOlfOEQjBfBnaUR4JmWFpZN5rx+KHLYcmif9NzLJXxwK77kcNQmL0l/Ig0GA7B32jFhed2cqsiRwD/9zP/W8L1ofcG9PUxrY/BEV1a8Edg/DGxa+rSEOPZlNNqv2p66MaCoDk3YCYkCez66TBoJNFjjlVbgV8J7imY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lfVJoT9H; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="lfVJoT9H" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A222C16AAE; Sat, 14 Feb 2026 16:30:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771086601; bh=TQgLch8vpNqtKipbt/VHDc+DSzY+w5kYybbRfZJrHQs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=lfVJoT9HLN8Dk4ZoD0cqrXP2u6fnXitRI+O6mPyh6jha2PJmy6zWISUAcTWv75V1/ 5rrer1AKE8LKi35ZsjZPI0gHqD5Tq2FyFxGOoX8HAFWXS0P3dfvgpy3kezZwmI+Fy4 UrFNDg4qTAnwdE8ALDW+XLZbiQ/aOeSKE0+kyT2U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23174: nvme-pci: handle changing device dma map requirements Date: Sat, 14 Feb 2026 17:28:31 +0100 Message-ID: <2026021427-CVE-2026-23174-0b41@gregkh> X-Mailer: git-send-email 2.53.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=2242; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SPLhX+GdU2QquFKY7EhlQYzbWeZ9q5tCUp9KZUlvqg8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkTFq0+t8N44pKFD9TDm+Lqiz5rnvX/mjenKPbP7E8zt TbfqCs41xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATybZhmO9jxHn7NJuw/89j pbLqHTkvTI6xGjIs2JUc+/3A88LQ1d9/+D2c16poH3h+KgA= 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-pci: handle changing device dma map requirements The initial state of dma_needs_unmap may be false, but change to true while mapping the data iterator. Enabling swiotlb is one such case that can change the result. The nvme driver needs to save the mapped dma vectors to be unmapped later, so allocate as needed during iteration rather than assume it was always allocated at the beginning. This fixes a NULL dereference from accessing an uninitialized dma_vecs when the device dma unmapping requirements change mid-iteration. The Linux kernel CVE team has assigned CVE-2026-23174 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit b8b7570a7ec872f2a27b775c4f8710ca8a357adf and fixed in 6.18.10 with commit f3ed399e9aa6f36e92d2d0fe88b387915e9705fe Issue introduced in 6.17 with commit b8b7570a7ec872f2a27b775c4f8710ca8a357adf and fixed in 6.19 with commit 071be3b0b6575d45be9df9c5b612f5882bfc5e88 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-23174 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/pci.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/f3ed399e9aa6f36e92d2d0fe88b387915e9705fe https://git.kernel.org/stable/c/071be3b0b6575d45be9df9c5b612f5882bfc5e88