| 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-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 |
| =========================== |
| |
| Issue introduced in 5.7 with commit bbb6b2f9865b3ed23eb457131b9ea541a3173a66 and fixed in 5.16.19 with commit d4982ceb137e6ecd2b466a6de639790a148cf19a |
| Issue introduced in 5.7 with commit bbb6b2f9865b3ed23eb457131b9ea541a3173a66 and fixed in 5.17.2 with commit dac1438f347d3b8cf892105c94e254f29c5764de |
| Issue introduced in 5.7 with commit bbb6b2f9865b3ed23eb457131b9ea541a3173a66 and 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 |