summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3client.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-09-23 15:10:26 +0200
committerMark Brown <broonie@kernel.org>2020-09-23 17:31:14 +0100
commit530b5affc675ade5db4a03f04ed7cd66806c8a1a (patch)
treed4070e5983f6f0416b7cc280bc9f44a405e360e9 /fs/nfs/nfs3client.c
parentb867eef4cf548cd9541225aadcdcee644669b9e1 (diff)
downloadlinux-530b5affc675ade5db4a03f04ed7cd66806c8a1a.tar.bz2
spi: fsl-dspi: fix use-after-free in remove path
spi_unregister_controller() not only unregisters the controller, but also frees the controller. This will free the driver data with it, so we must not access it later dspi_remove(). Solve this by allocating the driver data separately from the SPI controller. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.kernel.org/r/20200923131026.20707-1-s.hauer@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/nfs/nfs3client.c')
0 files changed, 0 insertions, 0 deletions