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 BCEF314601E for ; Mon, 29 Jul 2024 14:59:11 +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=1722265151; cv=none; b=ltxXaV++WjUlB7vJvUTIPpfH9Cl/L21btAQsf13IagDt+O3XEFiqfTfeLq8kHi47AA1FRleH8zhi384MHyV6MSMJLAM0uLJ2KMaPWIqK7n0+cow9kEOocdMRPAlNhuODLJyJphtojBWpFfUUJoUaEfVOQrMLnwVit/RMWzEuF+I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722265151; c=relaxed/simple; bh=Zf3Wg+qQJag7cwahO6XZK31eI9CPN4stEqNZ21KDdkQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Czp3XE5tx7m8OLfdEVzjV9e3BPEeWgOaM+WvGpSRWLn4ip7Bva1mJk7V53kH8R7q9JLBo0zxnZYqvoFFHMTvNGJvcPnh3r3mBOPSsduQuLqu4GSKMn50b+OqQuPr7eWIwc6YdU/5hWSQh51Fa2OGAM23TO7/YeUPK3kP3DlL8hM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FKsdc4/D; 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="FKsdc4/D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2139CC4AF12; Mon, 29 Jul 2024 14:59:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722265151; bh=Zf3Wg+qQJag7cwahO6XZK31eI9CPN4stEqNZ21KDdkQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FKsdc4/D8di++JpsnJflebzikYLQWgNipLC4+6oX1lyBD3tCiUxNeMvFzBiGdd8yo 3dKerw3kc42dzhb+yhvICxRJkicDDZtvZfuuO7CcHG7N85M4dOtAOW4fqXxSFHJ3uS d/KbrtXIjbmhCn8JPO3xddoFzqrDv3GOuuyi2dk4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-41073: nvme: avoid double free special payload Date: Mon, 29 Jul 2024 16:58:19 +0200 Message-ID: <2024072909-CVE-2024-41073-1fb9@gregkh> X-Mailer: git-send-email 2.45.2 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=2073; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Zf3Wg+qQJag7cwahO6XZK31eI9CPN4stEqNZ21KDdkQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnL1zGmtHAd3LPo7cvZy1mjW/73n+k1bT/yrHrN+iuiz oX/d7Owd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEEqQZ5sq/f558bE7yb7Wp 75asSt0xd9uNKecYFrQYF9ws0uOt33k2JX+1yOlv/nOUnwEA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: nvme: avoid double free special payload If a discard request needs to be retried, and that retry may fail before a new special payload is added, a double free will result. Clear the RQF_SPECIAL_LOAD when the request is cleaned. The Linux kernel CVE team has assigned CVE-2024-41073 to this issue. Affected and fixed versions =========================== Fixed in 5.15.164 with commit c5942a14f795 Fixed in 6.1.101 with commit f3ab45aacd25 Fixed in 6.6.42 with commit ae84383c96d6 Fixed in 6.9.11 with commit 1b9fd1265fac Fixed in 6.10 with commit e5d574ab37f5 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-2024-41073 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/core.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/c5942a14f795de957ae9d66027aac8ff4fe70057 https://git.kernel.org/stable/c/f3ab45aacd25d957547fb6d115c1574c20964b3b https://git.kernel.org/stable/c/ae84383c96d6662c24697ab6b44aae855ab670aa https://git.kernel.org/stable/c/1b9fd1265fac85916f90b4648de02adccdb7220b https://git.kernel.org/stable/c/e5d574ab37f5f2e7937405613d9b1a724811e5ad