CVE-2023-53128: scsi: mpi3mr: Fix throttle_groups memory leak
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
scsi: mpi3mr: Fix throttle_groups memory leak
Add a missing kfree().
The Linux kernel CVE team has assigned CVE-2023-53128 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.0 with commit f10af057325c251c0dfcba7f3e3b607634d0bb25 and fixed in 6.1.21 with commit 574cc10edaa7dba833764efed8c57ee0e6bf7574 Issue introduced in 6.0 with commit f10af057325c251c0dfcba7f3e3b607634d0bb25 and fixed in 6.2.8 with commit 85349a227eb4a56520adc190c666075f80d4ae70 Issue introduced in 6.0 with commit f10af057325c251c0dfcba7f3e3b607634d0bb25 and fixed in 6.3 with commit f305a7b6ca21a665e8d0cf70b5936991a298c93c
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-53128
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/574cc10edaa7dba833764efed8c57ee0e6bf7574 https://git.kernel.org/stable/c/85349a227eb4a56520adc190c666075f80d4ae70 https://git.kernel.org/stable/c/f305a7b6ca21a665e8d0cf70b5936991a298c93c