summaryrefslogtreecommitdiff
path: root/include/linux/memory_hotplug.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-04-21 14:58:00 +0200
committerMark Brown <broonie@kernel.org>2026-04-22 13:43:09 +0100
commitf62c060272b9d7423b1650b844e8e4e7b8f9f925 (patch)
tree6cf62363a6884c04d928abbc7b3cb46ae619ef5a /include/linux/memory_hotplug.h
parent922f8c28811f266fe5fc52a6d2852871e40ce098 (diff)
spi: mpc52xx: fix use-after-free on registration failure
Make sure to disable and free the interrupts in case controller registration fails to avoid a potential use-after-free and resource leak. This issue was flagged by Sashiko when reviewing a controller deregistration fix. Fixes: 42bbb70980f3 ("powerpc/5200: Add mpc5200-spi (non-PSC) device driver") Cc: stable@vger.kernel.org # 2.6.33 Cc: Grant Likely <grant.likely@secretlab.ca> Link: https://sashiko.dev/#/patchset/20260414134319.978196-1-johan%40kernel.org?part=3 Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260421125800.1537361-1-johan@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions