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 81F922957DE for ; Wed, 9 Jul 2025 10:44:36 +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=1752057876; cv=none; b=JJOi1yRWvVAiOyhipvbR5kniRtK/C6IFcNIDQpQw83HUjaD5n9BcyYbr+j5r5tbQ8ql0kPCAga5pzbPFInhnTatOi24FcASBxRwSmysL6LuAX6LlsCU5FzWWvjfdGG6jRphUOLsIZHoceHmeS4mBN2cBqt30u2KCfZMzee+5Z1Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752057876; c=relaxed/simple; bh=dhRYQcYu3g52+m/X5FD3YtUZqCar3y3Z588pa5RKRyI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YYIRzzK4WgS+pvWid2p4W7dLbgtmffChfjEhQvUpdHv/GEhT5oyamvBAd8DZ1PRK5WWyULIPPRF8RUEqwyBKB/T003YDUytBPfz7z4R+5Sp8cs6dIl649Jf/3a/j8h5I1FGdCFC4FuylcsdankvzDOQiASnOdh6da4wgMAvo+cA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0KrDnxX8; 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="0KrDnxX8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1655C4CEEF; Wed, 9 Jul 2025 10:44:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752057876; bh=dhRYQcYu3g52+m/X5FD3YtUZqCar3y3Z588pa5RKRyI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=0KrDnxX8y/B501koS+r3ALAbqLh0TKNtNs5XrnNIKodwquaeQE0oDTrP6crFw1Z/E YpbfubihHPTv9//tha5C8afq7/jvVg4zB+RG6D8wfPeo1DxMDI1Ec0/irca2gyD7Ay hnU1j1sOiQV9SJxnLqRtzVnEDljR/c+zZBHOJ/uE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38264: nvme-tcp: sanitize request list handling Date: Wed, 9 Jul 2025 12:42:56 +0200 Message-ID: <2025070937-CVE-2025-38264-ffd2@gregkh> X-Mailer: git-send-email 2.50.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1896; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=siRUW+TmreMBH+3cWtwzR0WgBTUVvayvEv1eHH1hKlU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl57nMbt7yblG159aiyqief8j+FOWcZuMTSfV2WBx2xm v/mtMfVjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgI1z6G+R4Nq2e/WvojoF0j 5k9dgb9NQ/qJwwwLlt5f8HjqsgKmCw97Trz7IL/P+fmMWgA= 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-tcp: sanitize request list handling Validate the request in nvme_tcp_handle_r2t() to ensure it's not part of any list, otherwise a malicious R2T PDU might inject a loop in request list processing. The Linux kernel CVE team has assigned CVE-2025-38264 to this issue. Affected and fixed versions =========================== Fixed in 6.12.36 with commit 78a4adcd3fedb0728436e8094848ebf4c6bae006 Fixed in 6.15.5 with commit f054ea62598197714a6ca7b3b387a027308f8b13 Fixed in 6.16-rc1 with commit 0bf04c874fcb1ae46a863034296e4b33d8fbd66c 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-2025-38264 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/tcp.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/78a4adcd3fedb0728436e8094848ebf4c6bae006 https://git.kernel.org/stable/c/f054ea62598197714a6ca7b3b387a027308f8b13 https://git.kernel.org/stable/c/0bf04c874fcb1ae46a863034296e4b33d8fbd66c