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 0C151259C8D for ; Fri, 2 May 2025 15:56:52 +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=1746201412; cv=none; b=M0S5UriMFD7vueJRFyY5+TQw5m+SIYrkDy4sSrZ2MjcKL8nah0Cp5tfgyAz1TB1Oe5r8QdWNI3c4tTUR1bcVxyGpojyTkgXhm7keKy28ukkzrGUqGRP7OSX24XqPFFYq1QVKOzDiCq7wW1EIJyUViC27pyAxR8sk5n8wxEUSyqo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746201412; c=relaxed/simple; bh=JKJi6DuLwX0hbv3BZDiGlWMYIj0Yl3coQjeTktjtI2k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=vEbQsbq8ELlNwMcb4RjrBrFqPGDavo5noRlNcgvd9pdqpNGH8Qbpm8AxTSR+8I7E2ip81YsxaEnwQva9wBrarUfAYVncSO+O5RfX6gOm7UvzJo5VdL3a06Z9lXZ0Oao2j5p33hZ/rRNVL6LlXbNKZFfB+4WzIL/yyZ8vFxUaNos= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XBT4tLx2; 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="XBT4tLx2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90614C4CEE4; Fri, 2 May 2025 15:56:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746201411; bh=JKJi6DuLwX0hbv3BZDiGlWMYIj0Yl3coQjeTktjtI2k=; h=From:To:Cc:Subject:Date:Reply-to:From; b=XBT4tLx2kahtAoWlaA48xWfYgYhxe27ILvD47i5AX1KIqboymGXTqzubuxAupcMM4 4KI2gKxYvS4qyaBQtYlprEJ7qZMqLME2SxNpXjLemF3qE9hcBdjaiXlWYHyn4DYAcM rsg2DIbEiG9zjIbi8TweQj3OHSZGc/AyCPZQ7SKQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53037: scsi: mpi3mr: Bad drive in topology results kernel crash Date: Fri, 2 May 2025 17:55:02 +0200 Message-ID: <2025050201-CVE-2023-53037-afe2@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=2195; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wjbyfo1ffWkUk67oU6R4uaF56PLZg7AEEv9yGfO6V4Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkir652/38/tfxroDP/zM9LhOUma69UKHj9261uvsiTK 7v+vz1W1xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATKdjKsGC1R/r2869mzn63 xfHpy+kPJzgdfLiQYZ5anKTIil6z/xOztKVC6zKeqQv/eQgA 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: Bad drive in topology results kernel crash When the SAS Transport Layer support is enabled and a device exposed to the OS by the driver fails INQUIRY commands, the driver frees up the memory allocated for an internal HBA port data structure. However, in some places, the reference to the freed memory is not cleared. When the firmware sends the Device Info change event for the same device again, the freed memory is accessed and that leads to memory corruption and OS crash. The Linux kernel CVE team has assigned CVE-2023-53037 to this issue. Affected and fixed versions =========================== Fixed in 6.1.22 with commit 1f822ae8fb2a20fffa71e9bfa9b203c03d72d3ba Fixed in 6.2.9 with commit aa11e4b6cdb403b9fdef6939550f6b36dd61624d Fixed in 6.3 with commit 8e45183978d64699df639e795235433a60f35047 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-53037 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_transport.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/1f822ae8fb2a20fffa71e9bfa9b203c03d72d3ba https://git.kernel.org/stable/c/aa11e4b6cdb403b9fdef6939550f6b36dd61624d https://git.kernel.org/stable/c/8e45183978d64699df639e795235433a60f35047