9eb18136af
Tearing down a vcpu CPU interface involves freeing the private interrupt
array. If we don't hold the lock, we may race against another thread
trying to configure it. Yeah, fuzzers do wonderful things...
Taking the lock early solves this particular problem.
Fixes:
|
||
---|---|---|
.. | ||
hyp | ||
vgic | ||
.gitignore | ||
arch_timer.c | ||
arm.c | ||
debug.c | ||
emulate-nested.c | ||
fpsimd.c | ||
guest.c | ||
handle_exit.c | ||
hypercalls.c | ||
inject_fault.c | ||
Kconfig | ||
Makefile | ||
mmio.c | ||
mmu.c | ||
nested.c | ||
pauth.c | ||
pkvm.c | ||
pmu-emul.c | ||
pmu.c | ||
psci.c | ||
pvtime.c | ||
reset.c | ||
stacktrace.c | ||
sys_regs.c | ||
sys_regs.h | ||
trace.h | ||
trace_arm.h | ||
trace_handle_exit.h | ||
trng.c | ||
va_layout.c | ||
vgic-sys-reg-v3.c | ||
vmid.c |