spi: fsi: Implement a timeout for polling status
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.16.195.17.25.18In 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.
From the CVE record · Linux
The Linux kernel’s SPI FSI data-transfer routines can poll a status register indefinitely if the hardware enters a bad state. This can cause a transfer to hang; the input does not specify an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels that use the SPI FSI driver should check their kernel version against the vendor advisory; affected versions are not specified.