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 6EFF819E999 for ; Wed, 26 Feb 2025 01:59:05 +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=1740535145; cv=none; b=sOXTgAB+FmlJKixllui9xld9Zj+XtLui5tSsNkTe85uuPhkCIzUTdYRcmoVdSaYxXTJIqGJYrnC+DubJwbAT1GsyPNFto607lN2Y9dT/Gt4lZmfzEWQHPbXwSZh384bY9owGZe7RbUgE30mqr+l/nkELyGh4zzhe0RTFGmKlowo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535145; c=relaxed/simple; bh=rlqG5ORe5EswbjQ+bEMLFZXaPruXROEnAECeLLiyIaw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PcE0oj/eMIMqW9Zyiw5AVsu0ebi2StCpDGPicNTVVwHSFmlCMPyMQn+sDbZyGizio1ZkahFyp3mv8LSk9ql2gE8aBSdSfpsYudvHeozdsU3v0Pbt4KALDethOqMuTVouuNEA61auYZcGwHGzVpc29nFSZpH68hUUL67mY694n1A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zhZynMPW; 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="zhZynMPW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DC02C4CEDD; Wed, 26 Feb 2025 01:59:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535145; bh=rlqG5ORe5EswbjQ+bEMLFZXaPruXROEnAECeLLiyIaw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zhZynMPWvxToPevOwexMSn2DpIBc7Tsb+Q4XTM7YeAsr3ULgp+HJe3b0Gr0d1/2t+ xnuTJju7sMVvSzh+HXNtVHWqX2uE0d51931PhpRJq6u57Xa/+tuQ6BqXAabRj8ICHJ 6+sESKIUmxer+S/2YWE164OSc8Jp569SFXRfh/DY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49173: spi: fsi: Implement a timeout for polling status Date: Wed, 26 Feb 2025 02:56:18 +0100 Message-ID: <2025022613-CVE-2022-49173-4844@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=1985; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rlqG5ORe5EswbjQ+bEMLFZXaPruXROEnAECeLLiyIaw=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7Slz9uQ49vHh0sfZdp8dCvfHtl9MFbbqLtm7sMDTfN PH80s6kjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIuZ8MC3o3fM4T2Z+fv473 bFnPI1YltUNNegwL1vyadOVrf8zCV7k1Dq8KNhuXT5fRAwA= 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: spi: fsi: Implement a timeout for polling status The data transfer routines must poll the status register to determine when more data can be shifted in or out. If the hardware gets into a bad state, these polling loops may never exit. Prevent this by returning an error if a timeout is exceeded. The Linux kernel CVE team has assigned CVE-2022-49173 to this issue. Affected and fixed versions =========================== Fixed in 5.16.19 with commit d4982ceb137e6ecd2b466a6de639790a148cf19a Fixed in 5.17.2 with commit dac1438f347d3b8cf892105c94e254f29c5764de Fixed in 5.18 with commit 89b35e3f28514087d3f1e28e8f5634fbfd07c554 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-49173 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/spi/spi-fsi.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/d4982ceb137e6ecd2b466a6de639790a148cf19a https://git.kernel.org/stable/c/dac1438f347d3b8cf892105c94e254f29c5764de https://git.kernel.org/stable/c/89b35e3f28514087d3f1e28e8f5634fbfd07c554