Skip to contentSkip to conversation

CVE-2023-53127: scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 2, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()

Add a missing resource clean up in .remove.

The Linux kernel CVE team has assigned CVE-2023-53127 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.1 with commit e22bae30667a7e74ed057e00fb6e8c79e0738de3 and fixed in 6.1.21 with commit 0023972a7593720f8878aed06c03ac9e541078be
	Issue introduced in 6.1 with commit e22bae30667a7e74ed057e00fb6e8c79e0738de3 and fixed in 6.2.8 with commit cf9777be5683c5e55680c089df02ee27d2226aa8
	Issue introduced in 6.1 with commit e22bae30667a7e74ed057e00fb6e8c79e0738de3 and fixed in 6.3 with commit ce756daa36e1ba271bb3334267295e447aa57a5c

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-53127

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.h
drivers/scsi/mpi3mr/mpi3mr_os.c
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/0023972a7593720f8878aed06c03ac9e541078be
	https://git.kernel.org/stable/c/cf9777be5683c5e55680c089df02ee27d2226aa8
	https://git.kernel.org/stable/c/ce756daa36e1ba271bb3334267295e447aa57a5c