In the Linux kernel, the following vulnerability has been resolved: spi: imx: fix use-after-free on unbind The SPI subsystem frees the controller and any subsystem allocated driver data as part of deregistration (unless the allocation is device managed). Take another reference before deregistering the controller so that the driver data is not freed until the driver is done with it.
https://git.kernel.org/stable/c/f99165ef067723221472ce1aff632bc74f562643
https://git.kernel.org/stable/c/aa9025a498036b6012769f7af36d421385386c17
https://git.kernel.org/stable/c/385a330083f8dd47c15b02e9a83aef9234a37003
https://git.kernel.org/stable/c/1c78c2002380a1fe31bfb01a3d5f29809e55a096
https://git.kernel.org/stable/c/132e47030b0b5e398e0da6c59df5a5dae9b52cff