summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-24 09:23:22 +0100
committerMark Brown <broonie@kernel.org>2026-03-24 14:25:47 +0000
commit1c78c2002380a1fe31bfb01a3d5f29809e55a096 (patch)
tree2bd86325b18a91259269a19a87fd6a57582d2fd4 /tools/perf/scripts/python/bin/stackcollapse-record
parentc369299895a591d96745d6492d4888259b004a9e (diff)
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. Fixes: 307c897db762 ("spi: spi-imx: replace struct spi_imx_data::bitbang by pointer to struct spi_controller") Cc: stable@vger.kernel.org # 5.19 Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260324082326.901043-2-johan@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions