summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-12 16:18:13 +0100
committerMark Brown <broonie@kernel.org>2026-03-16 18:36:03 +0000
commit8634e05b08ead636e926022f4a98416e13440df9 (patch)
tree49f39f51dda3e245295267bfc2f38d4c4e0a6e94 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux-stable.git
parentba3402f6c85bbeee5c11732c3aa4050a717e8f8f (diff)
spi: fix use-after-free on controller registration failure
Make sure to deregister from driver core also in the unlikely event that per-cpu statistics allocation fails during controller registration to avoid use-after-free (of driver resources) and unclocked register accesses. Fixes: 6598b91b5ac3 ("spi: spi.c: Convert statistics to per-cpu u64_stats_t") Cc: stable@vger.kernel.org # 6.0 Cc: David Jander <david@protonic.nl> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260312151817.32100-2-johan@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions