Medium · published May 27, 2026
In the Linux kernel, the following vulnerability has been resolved:
spi: fix resource leaks on device setup failure
Make sure to call controller cleanup() if spi_setup() fails while
registering a device to avoid leaking any resources allocated by
setup().
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 5.4.126, < 5.5 | 5.5 |
| linux/linux_kernel | ≥ 5.10.44, < 5.11 | 5.11 |
| linux/linux_kernel | ≥ 5.12.11, < 5.13 | 5.13 |
| linux/linux_kernel | ≥ 5.13.1, < 6.1.176 | 6.1.176 |
| linux/linux_kernel | ≥ 6.2, < 6.6.140 | 6.6.140 |
| linux/linux_kernel | ≥ 6.7, < 6.12.86 | 6.12.86 |
| linux/linux_kernel | ≥ 6.13, < 6.18.27 | 6.18.27 |
| linux/linux_kernel | ≥ 6.19, < 7.0.4 | 7.0.4 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |