A use-after-free vulnerability in the Linux kernel's intel_pstate driver was fixed by ensuring that pending hardware performance notification work is cancelled before freeing per-CPU data during driver cleanup. This prevents the work function from accessing freed memory, which could otherwise lead to undefined behavior or system instability.