Skip to content
Commit 28076483 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

ACPI / CPPC: Fix per-CPU pointer management in acpi_cppc_processor_probe()



Fix a possible use-after-free scenario in acpi_cppc_processor_probe()
that can happen if the function returns without cleaning up the
per-CPU pointer set by it previously.

Reported-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 9e9d68da
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment