SystemCoreClock
The CMSIS global holding the core clock frequency in hertz — accurate only if someone remembered to update it.
CMSIS requires three things in the vendor's system_*.c: SystemInit(), which the startup code calls before main() for basic clock setup; the variable SystemCoreClock; and SystemCoreClockUpdate(), which reads the clock registers and recomputes the value. Other code trusts the variable. SysTick_Config(SystemCoreClock / 1000) gives a millisecond tick, and RTOS ports derive their tick from the same number.
The variable is a memory of what the clock looked like, not a measurement. Reconfigure the PLL by hand, forget the update call, and SysTick is off by exactly the factor the clock changed — as is every delay in the system. The bug is easy to miss precisely because everything still works, just slower or faster than intended.