spi: atcspi200: fix use-after-free when driver unbind
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
spi: atcspi200: fix use-after-free when driver unbind
DMA resource is initialized after SPI controller registration. So when driver unbind, this can trigger a use-after-free when DMA is torn down while the controller is still alive and triggers DMA transfers.
From the CVE record · Linux
The Linux kernel's atcspi200 SPI driver can encounter a use-after-free during driver unbind. This can happen if DMA is torn down while the SPI controller is still active and triggers DMA transfers. The input does not specify attacker access, authentication requirements, or user interaction.
Engineers running Linux kernels with the atcspi200 SPI driver should check whether their kernel is affected; no affected versions were provided.