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 CB2CE1F63D5 for ; Fri, 27 Dec 2024 15:02:44 +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=1735311764; cv=none; b=pijjjQrsdOTdAQTMRfSrB5+whkBZJ9W+9Juhw4XCfXPFYN8OOEpG39aRxLD7bN8sqG4b2JjZu46pwsUuCptvpddejL6zr4CcJGrMYZMhzlBaKmPd1YB/m+slBt26ko9an8to2XV4PPO01gbr/pV9yA9W3ydEJaIaEqdDPyEPGH4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735311764; c=relaxed/simple; bh=TzYNtbk/tH5KZBjUUZbUf2c0yFemgm1ff28SITVXo4A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oPQl+08zQYTzkBLak29xS3l4Fu6gmaWDMluwTPolWAv2oPyvEP3W5wrhUVr5mLXVkwkDYadRDvOTnp40WpIHg87iLwxqxeFn6tUEke1Ybe1e7NbuiS6P1QlWsMLIEoR+PjsFwoYm3cMxe8dluwZmZqnBmF/NXoDhpX3jfW321ss= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=t+93PSxH; 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="t+93PSxH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D85BDC4CED0; Fri, 27 Dec 2024 15:02:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735311764; bh=TzYNtbk/tH5KZBjUUZbUf2c0yFemgm1ff28SITVXo4A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=t+93PSxHdwkOyDP3Pw2QM7vtRYSXqyrdgEKE1jVQOpjMKI9G6B4SOP1jVUGRxJFdz FARhlabdVV1kng/zSC6fPsqq3k0VRsLrS18ywg5fbmRgQ9qLeY8UW4f6XGzAJaP2v5 +J8ztDEw7qJU9w88HYaUyCm490mmcu1SuXJTg8dc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56632: nvme-tcp: fix the memleak while create new ctrl failed Date: Fri, 27 Dec 2024 16:02:33 +0100 Message-ID: <2024122733-CVE-2024-56632-ea20@gregkh> X-Mailer: git-send-email 2.47.1 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=1869; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TzYNtbk/tH5KZBjUUZbUf2c0yFemgm1ff28SITVXo4A=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5BzuNWXY4//mm4DVf6rZ/Taj812OPr/rO6OyaoLVC6 dX7JTdcOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAifD0MC67YqJUmPGmxSLOb u+mhVti+qd9qoxgWtKh+4vCyNqo9pmqR6J4pWX/loIg/AA== 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-tcp: fix the memleak while create new ctrl failed Now while we create new ctrl failed, we have not free the tagset occupied by admin_q, here try to fix it. The Linux kernel CVE team has assigned CVE-2024-56632 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit fd1418de10b9ca03d78404cf00a95138689ea369 and fixed in 6.12.5 with commit ceff9ac13a2478afddce85414d404e6aff6425f6 Issue introduced in 6.7 with commit fd1418de10b9ca03d78404cf00a95138689ea369 and fixed in 6.13-rc2 with commit fec55c29e54d3ca6fe9d7d7d9266098b4514fd34 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-56632 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/ceff9ac13a2478afddce85414d404e6aff6425f6 https://git.kernel.org/stable/c/fec55c29e54d3ca6fe9d7d7d9266098b4514fd34