Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: spi: core: Abort active target transfer on controller suspend When an SPI controller operating in target mode has a transfer in progress at the time of system suspend, the suspend path proceeds without aborting the ongoing transfer. This can leave the hardware in an inconsistent state, potentially causing the system to hang or fail to resume cleanly. Fix this by invoking the controller's target_abort callback from spi_controller_suspend() when the controller is in target mode and the callback is registered. This ensures any active target transfer is cleanly terminated before the controller is suspended.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6c364062bfed3c34490e85bea52ff6e2d4f0f281 before a75d9eb78c89d3fa8d503966c91a51f02eced768; affected 6c364062bfed3c34490e85bea52ff6e2d4f0f281 before 1cc84ca8599b8fa64014821bca453ebb3326c71e; affected 6c364062bfed3c34490e85bea52ff6e2d4f0f281 before b81ac605763c319ca9928a237818ab4e8ab7bb59; affected 6c364062bfed3c34490e85bea52ff6e2d4f0f281 before f6a0cafa265c8a4aed585d873747e3b88b146eed; affected 6c364062bfed3c34490e85bea52ff6e2d4f0f281 before c1bab046d4786c5b17aab7c5225bf0d4a2a2d19b |
| Linux / Linux | affected 4.13; unaffected 0 before 4.13; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/a75d9eb78c89d3fa8d503966c91a51f02eced768
- https://git.kernel.org/stable/c/1cc84ca8599b8fa64014821bca453ebb3326c71e
- https://git.kernel.org/stable/c/b81ac605763c319ca9928a237818ab4e8ab7bb59
- https://git.kernel.org/stable/c/f6a0cafa265c8a4aed585d873747e3b88b146eed
- https://git.kernel.org/stable/c/c1bab046d4786c5b17aab7c5225bf0d4a2a2d19b