From mboxrd@z Thu Jan 1 00:00:00 1970 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 D9ED61A3BC0 for ; Wed, 26 Feb 2025 01:58:10 +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=1740535090; cv=none; b=Jyysytg9a7JsDKbglbdcsY+RjB6G5vIqgIbfbB+PsT0M/3opQOttaSSjlSAbthZMm4ybVUSm++D9tKg+RdSOkp9vzUimvGdWTAbN5TtjQuTAwFabe/f4tda1XSKcmXvDHZXCZKnvus496EycF09tDEtboe9DDKwyRgWIjQuA+Aw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535090; c=relaxed/simple; bh=7olQYrNDqpm+5AHe3UPJfbmMjgQE6GZX6JYD5ZR7rvg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nH+fcLk5pJcbLFOOT03TGDwnknO9iLSb4aEHEsCwahKxNHKPQTrcXBp0VPvNbZZq2dN2QM885a6cEic6z/YDdyiMQbO3IB+lnbvuzNycqi9agsqDRh9auWdZL7iC+W+WqLrCP7UgSPf+f9BQfyTPM328TaRYr48J4gK7xzLv6mA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=be34cA85; 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="be34cA85" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AEC53C4CEDD; Wed, 26 Feb 2025 01:58:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535090; bh=7olQYrNDqpm+5AHe3UPJfbmMjgQE6GZX6JYD5ZR7rvg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=be34cA857IQmQK6diZydZsFpJxHfK+bLI6M7FiINshOdEnWYXlTCrCyNd1dgMzXyL M/IJ+zBpsIJA26n0ZkAq1C0ZZSo7HDX81Qjl2nnU7aJs1bNTA9hPfGRMsOLGLW2WXI qA8+REDWGjQAT3V1ElF8MahUrIM1n91jGg8OPW+U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49095: scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one() Date: Wed, 26 Feb 2025 02:55:00 +0100 Message-ID: <2025022659-CVE-2022-49095-641f@gregkh> X-Mailer: git-send-email 2.48.1 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=3591; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7olQYrNDqpm+5AHe3UPJfbmMjgQE6GZX6JYD5ZR7rvg=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SsyDGHk6trqeil+b4LfVu+a8QnKZjqH2DYn15on6d idXSU/oiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgInM3cYwP2Dm2pP3VdTS4m16 0pS21SyXlSqIYljQuP7qxxCDw1U3MxXVZa3yk4LsvqgDAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit 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