Vulnerability record
cpufreq: intel_pstate: cancel HWP notify work in driver cleanup
In the Linux kernel, the following vulnerability has been resolved:
cpufreq: intel_pstate: cancel HWP notify work in driver cleanup
intel_pstate_driver_cleanup() frees per-CPU data without cancelling the pending HWP notify delayed work. If hwp_notify_work is still scheduled or running when the struct is freed, the work function accesses freed memory via container_of().
Call intel_pstate_disable_hwp_interrupt() before kfree() to disable the interrupt source and cancel the pending work, matching the pattern used in intel_pstate_suspend() and intel_pstate_hwp_offline().
[ rjw: Fixed the…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources