spi: lpspi: Avoid potential use-after-free in probe()
JIRA: https://issues.redhat.com/browse/RHEL-33234 CVE: CVE-2024-26866 Omitted-fix: 6c6871cdaef9 ("spi: Merge spi_controller.{slave,target}_abort()") This fix would be nice to have, but isn't necessary at the moment, as RHEL doesn't enable CONFIG_SPI_SLAVE and therefore this fix would have no runtime effect.
Signed-off-by: Andrew Halaney ahalaney@redhat.com
Edited by Andrew Halaney