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 6BC34274FDB for ; Wed, 1 Oct 2025 11:57:25 +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=1759319845; cv=none; b=KkhMe303j+cjHoPhkv4TANVPvr5dD6/R+cssOpNG+FBL+P+MQ1oUJA2jsaC/cLY/b6aVhno7hHygKWYJcfOOH0T+q4PXjYYcKma9XZF/rZqDhG45H8boXfBZnNiWC4jclPff/itJCyqlPFdIvvJvLJB/huuCIVdBrdb6bU2Qa8E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319845; c=relaxed/simple; bh=VRtRXTMxEfacf4qAFR2d2FnX9KwaHVE8V+jBX3hRWMo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UbQ2oeLLZVcrDTOh1T9L1+KpjnI64ajHSKX/UxkksYSn9PNV9RaPSQlH3CkPcUT82X2KwcTZ2hRmF5mb2UlobfteXf5URqL+UX/wdEeEtoHngGqnez8w+GpjaDa7sdrNtG098VUIsBXtFT9MdIRKWBjPbvO9f0PdI6ldA2v7Fnk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HxY4Mn4B; 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="HxY4Mn4B" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0745C4CEF4; Wed, 1 Oct 2025 11:57:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319845; bh=VRtRXTMxEfacf4qAFR2d2FnX9KwaHVE8V+jBX3hRWMo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=HxY4Mn4BGL8nDcnS/gD2kE55rUc2OWqxWeICoEIBkebCtVPYnm08PvDAKr2xGNRCs EnPgTmAfuATlBIIzRZPKwu3Fg1WtNOU/Zk1j5+GTDTJUm+4h+W/pmeigOwMhsxLoFL 9dzS4zd9pWyPp6422Yqj1lqnef77Khk4XqmtFx+s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53512: scsi: mpt3sas: Fix a memory leak Date: Wed, 1 Oct 2025 13:46:04 +0200 Message-ID: <2025100130-CVE-2023-53512-10c7@gregkh> X-Mailer: git-send-email 2.51.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=2460; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rmA2R20OKCjZmzjlK6nguH8p/FW2KAKT0mpkMg0XuZI=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3RaKebtrM+pj9sXruvDO3mJJYD7ReypQK5Nt55pryz 6mKfkHRHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARJW2GuXJn563oj47cdN69 +MOZbu8ln5cEPmJYcP3goaKejEtSzzWX3u17qe15ZvHxzwA= 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: scsi: mpt3sas: Fix a memory leak Add a forgotten kfree(). The Linux kernel CVE team has assigned CVE-2023-53512 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit dbec4c9040edc15442c3ebdb65408aa9d3b82c24 and fixed in 5.10.173 with commit 30c7c72b6cf9d8c95f9b219c9d2e4e31b15bebe5 Issue introduced in 4.16 with commit dbec4c9040edc15442c3ebdb65408aa9d3b82c24 and fixed in 5.15.99 with commit 378cc0eec4aa546ce1ae17515e2dfab719d4fb1e Issue introduced in 4.16 with commit dbec4c9040edc15442c3ebdb65408aa9d3b82c24 and fixed in 6.1.16 with commit 847cdbdcd5a24c1eec9595161a23b88fef91ff42 Issue introduced in 4.16 with commit dbec4c9040edc15442c3ebdb65408aa9d3b82c24 and fixed in 6.2.3 with commit 28137ea3eb05a87329a7154a8ff410d9e8bcc0a5 Issue introduced in 4.16 with commit dbec4c9040edc15442c3ebdb65408aa9d3b82c24 and fixed in 6.3 with commit 54dd96015e8d7a2a07359e2dfebf05b529d1780c 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-2023-53512 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/scsi/mpt3sas/mpt3sas_base.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/30c7c72b6cf9d8c95f9b219c9d2e4e31b15bebe5 https://git.kernel.org/stable/c/378cc0eec4aa546ce1ae17515e2dfab719d4fb1e https://git.kernel.org/stable/c/847cdbdcd5a24c1eec9595161a23b88fef91ff42 https://git.kernel.org/stable/c/28137ea3eb05a87329a7154a8ff410d9e8bcc0a5 https://git.kernel.org/stable/c/54dd96015e8d7a2a07359e2dfebf05b529d1780c