summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-04-17 00:27:54 +0800
committerMark Brown <broonie@kernel.org>2026-04-27 08:32:54 +0900
commit565bdf45125a05aa8f622f58f598283f46ba43f4 (patch)
treef5432e97f1956cab04ec8126afef22e12969d71c /include/linux
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
spi: atcspi200: fix use-after-free when driver unbind
DMA resource is initialized after SPI controller registration. So when driver unbind, this can trigger a use-after-free when DMA is torn down while the controller is still alive and triggers DMA transfers. Fixes: 34e3815ea459 ("spi: atcspi200: Add ATCSPI200 SPI controller driver") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Link: https://patch.msgid.link/20260417-atcspi-v1-1-854831667d63@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions