| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2022-49120: scsi: pm8001: Fix task leak in pm8001_send_abort_all() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| scsi: pm8001: Fix task leak in pm8001_send_abort_all() |
| |
| In pm8001_send_abort_all(), make sure to free the allocated sas task |
| if pm8001_tag_alloc() or pm8001_mpi_build_cmd() fail. |
| |
| The Linux kernel CVE team has assigned CVE-2022-49120 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Fixed in 5.10.111 with commit 2051044d7901f1a9d7be95d0d32e53b88e9548f7 |
| Fixed in 5.15.34 with commit 2290dcad6f65864dec518fb2d5fb45f67d684150 |
| Fixed in 5.16.20 with commit 146cae06d2682d7563732544be334e8e6d3862b8 |
| Fixed in 5.17.3 with commit 34c79d16ee69cb53288c202bb1ab0ba0130d9674 |
| Fixed in 5.18 with commit f90a74892f3acf0cdec5844e90fc8686ca13e7d7 |
| |
| 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-2022-49120 |
| 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/pm8001/pm8001_hwi.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/2051044d7901f1a9d7be95d0d32e53b88e9548f7 |
| https://git.kernel.org/stable/c/2290dcad6f65864dec518fb2d5fb45f67d684150 |
| https://git.kernel.org/stable/c/146cae06d2682d7563732544be334e8e6d3862b8 |
| https://git.kernel.org/stable/c/34c79d16ee69cb53288c202bb1ab0ba0130d9674 |
| https://git.kernel.org/stable/c/f90a74892f3acf0cdec5844e90fc8686ca13e7d7 |