Files
linux/drivers
Johan Hovold 770b03c2ca staging: greybus: spilib: fix use-after-free after deregistration
Remove erroneous spi_master_put() after controller deregistration which
would access the already freed spi controller.

Note that spi_unregister_master() drops our only controller reference.

Fixes: ba3e67001b ("greybus: SPI: convert to a gpbridge driver")
Cc: stable <stable@vger.kernel.org>     # 4.9
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-02 11:42:16 +01:00
..
2017-08-09 22:43:50 -07:00
2017-10-07 13:17:07 +02:00
2017-10-23 14:29:43 +02:00
2017-10-23 14:29:43 +02:00
2017-08-29 13:46:35 +02:00
2017-10-09 09:02:35 +02:00
2017-08-22 11:04:51 -07:00
2017-09-19 08:36:19 +02:00
2017-10-23 14:29:43 +02:00
2017-08-30 14:03:42 -06:00
2017-08-24 09:57:28 +02:00