[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022613-CVE-2022-49173-4844@gregkh>
Date: Wed, 26 Feb 2025 02:56:18 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-49173: spi: fsi: Implement a timeout for polling status
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
Powered by blists - more mailing lists