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 9EC6A25B69B for ; Fri, 2 May 2025 16:01:53 +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=1746201713; cv=none; b=uqwm/CS1lCYhz2he4IwkR5suZ/UaHe6fTOvPHhSaGoG3LckXe3IlzAtquxXbLEECCC2ZkZ9njz7n/BU+5phttbjjd/oaAbJVaMpbe5qRgoqtet04sZX50aeWBsjDYzHqVFbAJ0ZEpmb8EKw4MkE1fBze+u/vee6wVK3ZbdQNMTw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746201713; c=relaxed/simple; bh=5Mzrc4h4DNgdxCgJlG+UWnOuLyYNcLYgoFDie6dAZlM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VOV1F/21jdeht/l9sveQYmV3HruK8JLIUI8+mnxmSUmISBR566kcMd5l3fq7E3yiKTmVOzyxqlZpGw14gaCUgd7zyfTUJquNngVM9c/F61SGQz9g+up6diN4YE4Y0LDOzSzlb456BX9ppO+n5CuW3SIepTq+8nXqhA1Q/k53YCU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Th6ijqNb; 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="Th6ijqNb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E286C4CEE4; Fri, 2 May 2025 16:01:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746201713; bh=5Mzrc4h4DNgdxCgJlG+UWnOuLyYNcLYgoFDie6dAZlM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Th6ijqNb8uEO855GdxH/Lqd5U54vQlpOGG5wER2qMEU16o99+DQYyXwOffqAZZRRo +fOLoBOY3ZSV1Niznh4ygkMfaZDCOp5ne8oKxr+aFHsLBjkzTyuyfsleKWo5y1qUtl pHLZVxQGk8ZRJc62BEOTsMElinIvX69Au5eWLzC0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53115: scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc() Date: Fri, 2 May 2025 17:56:20 +0200 Message-ID: <2025050229-CVE-2023-53115-0a1f@gregkh> X-Mailer: git-send-email 2.49.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=2052; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=K24b2YFV+wxM3QtQzy8Q+deK9wdZ+T4h8dWdvE3CAc8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkirz7yZK/e0rLVfdV1F9ZJVdIHMgxNY603+r2oU05ep tS6bb5PRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEvJxhwdFDue8PXdnE/YLr wt26m+fnrVFdFMqwYM77qG3/+r6WF+3957Tcgn1i5EJTfwA= 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: mpi3mr: Fix memory leaks in mpi3mr_init_ioc() Don't allocate memory again when IOC is being reinitialized. The Linux kernel CVE team has assigned CVE-2023-53115 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit fe6db615156573d3f6a37564b8a590cb03bbaf25 and fixed in 6.1.21 with commit 5aab9342f12f980b64617a034d121efbbf09100a Issue introduced in 5.17 with commit fe6db615156573d3f6a37564b8a590cb03bbaf25 and fixed in 6.2.8 with commit 7277b4eec2f25a0653646ba95b1f25fa16be1d6c Issue introduced in 5.17 with commit fe6db615156573d3f6a37564b8a590cb03bbaf25 and fixed in 6.3 with commit c798304470cab88723d895726d17fcb96472e0e9 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-53115 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/mpi3mr/mpi3mr_fw.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/5aab9342f12f980b64617a034d121efbbf09100a https://git.kernel.org/stable/c/7277b4eec2f25a0653646ba95b1f25fa16be1d6c https://git.kernel.org/stable/c/c798304470cab88723d895726d17fcb96472e0e9