| 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-49095: scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one() |
| |
| The error handling path of the probe releases a resource that is not freed |
| in the remove function. In some cases, a ioremap() must be undone. |
| |
| Add the missing iounmap() call in the remove function. |
| |
| The Linux kernel CVE team has assigned CVE-2022-49095 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 2.6.23 with commit 45804fbb00eea27bdf4d62751681228a9e2844e9 and fixed in 4.9.311 with commit ce430cfad6a5385d5b7f7c1dc3fa50f10abfd41b |
| Issue introduced in 2.6.23 with commit 45804fbb00eea27bdf4d62751681228a9e2844e9 and fixed in 4.14.276 with commit 1e0c01319dedf1e63ec5df37ead048e17afd92ba |
| Issue introduced in 2.6.23 with commit 45804fbb00eea27bdf4d62751681228a9e2844e9 and fixed in 4.19.238 with commit db863ab2baf058ed05c7b723612e3c40c9dd6885 |
| Issue introduced in 2.6.23 with commit 45804fbb00eea27bdf4d62751681228a9e2844e9 and fixed in 5.4.189 with commit 34a47f7ddb4fd1cbd12397aa6f7dad1de08b4050 |
| Issue introduced in 2.6.23 with commit 45804fbb00eea27bdf4d62751681228a9e2844e9 and fixed in 5.10.111 with commit c5f77b595379b5191316edd365a542f8b1526066 |
| Issue introduced in 2.6.23 with commit 45804fbb00eea27bdf4d62751681228a9e2844e9 and fixed in 5.15.34 with commit aefd755a96051aa56b198cb7ecd168b22ba384f6 |
| Issue introduced in 2.6.23 with commit 45804fbb00eea27bdf4d62751681228a9e2844e9 and fixed in 5.16.20 with commit de6aee0978f164d3d0c771ce03e3066a26c371c5 |
| Issue introduced in 2.6.23 with commit 45804fbb00eea27bdf4d62751681228a9e2844e9 and fixed in 5.17.3 with commit a845c678e094894f38cc9526d212b21933ce44c7 |
| Issue introduced in 2.6.23 with commit 45804fbb00eea27bdf4d62751681228a9e2844e9 and fixed in 5.18 with commit 16ed828b872d12ccba8f07bcc446ae89ba662f9c |
| |
| 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-49095 |
| 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/zorro7xx.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/ce430cfad6a5385d5b7f7c1dc3fa50f10abfd41b |
| https://git.kernel.org/stable/c/1e0c01319dedf1e63ec5df37ead048e17afd92ba |
| https://git.kernel.org/stable/c/db863ab2baf058ed05c7b723612e3c40c9dd6885 |
| https://git.kernel.org/stable/c/34a47f7ddb4fd1cbd12397aa6f7dad1de08b4050 |
| https://git.kernel.org/stable/c/c5f77b595379b5191316edd365a542f8b1526066 |
| https://git.kernel.org/stable/c/aefd755a96051aa56b198cb7ecd168b22ba384f6 |
| https://git.kernel.org/stable/c/de6aee0978f164d3d0c771ce03e3066a26c371c5 |
| https://git.kernel.org/stable/c/a845c678e094894f38cc9526d212b21933ce44c7 |
| https://git.kernel.org/stable/c/16ed828b872d12ccba8f07bcc446ae89ba662f9c |