summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-04-14 15:43:15 +0200
committerMark Brown <broonie@kernel.org>2026-04-20 12:39:27 +0100
commit706b3dc2ac7a998c55e14b3fd2e8f934c367e6e0 (patch)
treedea81f759160611dde0e436ef5df5113af29f999 /include/linux/workqueue.h
parent0f997fdae819a8c2cc83bd4ff7d935ad76c727c9 (diff)
spi: mpc52xx: fix use-after-free on unbind
The state machine work is scheduled by the interrupt handler and therefore needs to be cancelled after disabling interrupts to avoid a potential use-after-free. Fixes: 984836621aad ("spi: mpc52xx: Add cancel_work_sync before module remove") Cc: stable@vger.kernel.org Cc: Pei Xiao <xiaopei01@kylinos.cn> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260414134319.978196-5-johan@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions