[GIT PULL] Thermal control fixes for v7.0-rc7
From: Rafael J. Wysocki
Date: Fri Apr 03 2026 - 08:33:07 EST
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-7.0-rc7
with top-most commit 9e07e3b81807edd356e1f794cffa00a428eff443
thermal: core: Fix thermal zone device registration error path
on top of commit 7aaa8047eafd0bd628065b15757d9b48c5f9c07d
Linux 7.0-rc6
to receive thermal control fixes for 7.0-rc7.
These address potential races between thermal zone removal and system
resume that may lead to a use-after-free (in two different ways) and
a potential use-after-free in the thermal zone unregistration path.
Thanks!
---------------
Rafael J. Wysocki (2):
thermal: core: Address thermal zone removal races with resume
thermal: core: Fix thermal zone device registration error path
---------------
drivers/thermal/thermal_core.c | 32 +++++++++++++++++++++++++++-----
1 file changed, 27 insertions(+), 5 deletions(-)