summaryrefslogtreecommitdiff
path: root/kernel/debug/debug_core.c
diff options
context:
space:
mode:
authorJiale Yao <yaojiale02@163.com>2026-10-28 12:48:24 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-11-04 14:14:17 +0100
commit2022f170e5655c40b93ed98629f7d0adb98cea49 (patch)
tree05f4c3c0418a600e1fc0f68ae1c3915475cf7a0d /kernel/debug/debug_core.c
parentc0eadd2e06e52563cae2b80491e56eb9712eb727 (diff)
misc: ibmvmc: initialize HMC state before device registration
misc_register() exposes the IBM VMC device before the HMC state and spinlocks are initialized. A userspace operation racing module initialization can therefore access an HMC through an uninitialized spinlock. Initialize all HMC state before registering the misc device. Fixes: 0eca353e7ae7 ("misc: IBM Virtual Management Channel Driver (VMC)") Cc: stable <stable@kernel.org> Signed-off-by: Jiale Yao <yaojiale02@163.com> Link: https://patch.msgid.link/20261028044828.96177-5-yaojiale02@163.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/debug/debug_core.c')
0 files changed, 0 insertions, 0 deletions