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 EBE281A3A8A for ; Wed, 26 Feb 2025 01:58:56 +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=1740535137; cv=none; b=pqB5QN5hKLVxmVOtmImwt0WZ9KmGd7aPBkKNt0SHIUQ8ezyC0NBfoyEJ0ixEK+rlIKr6IKi2A2xE2cRqjr7mhHCdCVNDeV2qQ/DF51oMI0e8I+1TFZFnygwR01fgNYAno4PbS1eHDgUZeRpIfWMrEf+Usnd2LuQ2UyC5ZD14RNQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535137; c=relaxed/simple; bh=re5Sep2HL56rpRWFfn8Js3C5WlFee2up64wqO/PAihU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j88APktbckoFb2NV45b7U7ooi8UibQQVI90cqM+yyyusU2XxJ7J76n7EeXFde6UTO6SZS/Ec025vr5nHpM/BVuRgC27ztPiavFt8ogvZjYlKBMQovohugQaEjvHJa820rhIwv1blrgO0DoYka1P3o9YlV74/v9x2AA9TiZgXVCs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fuJNy/Rc; 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="fuJNy/Rc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFAA2C4CEDD; Wed, 26 Feb 2025 01:58:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535136; bh=re5Sep2HL56rpRWFfn8Js3C5WlFee2up64wqO/PAihU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=fuJNy/RccTq8T2Lz6XG7614PjlWJ+cwJRPZGvItFxyO03MaAIA07WKQngIx2KwDKi AQVx9AkK7E4b0vqByHaygPprhDKD45QrcJZ8nEeLkSdet+Tq6IfXlziAw0mqmCDvbm aOnmBpF39rM1tOozvnyofJvV1LUzpkEF6ua3s1JI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49120: scsi: pm8001: Fix task leak in pm8001_send_abort_all() Date: Wed, 26 Feb 2025 02:55:25 +0100 Message-ID: <2025022603-CVE-2022-49120-5357@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=2171; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=re5Sep2HL56rpRWFfn8Js3C5WlFee2up64wqO/PAihU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SqxzMvybFl88bF4dMUmxu3H7rvL4C0LLeu3iwoUZg 1lOPUjoiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIkU/GOYp35GpGV+0uGmwu17 y9YqnDt9xH3RV4YFjQf4dd49ybN6eG+XxU7fjsUa4ctvAAA= 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: 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