[GIT PULL] Thermal control fixes for v6.9-rc7

From: Rafael J. Wysocki
Date: Thu May 02 2024 - 07:08:55 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-6.9-rc7

with top-most commit d351eb0ab04c3e8109895fc33250cebbce9c11da

thermal/debugfs: Prevent use-after-free from occurring after cdev removal

on top of commit ed30a4a51bb196781c8058073ea720133a65596f

Linux 6.9-rc5

to receive thermal control fixes for 6.9-rc7.

These fix a memory leak and a few locking issues (that may cause the
kernel to crash in principle if all goes wrong) in the thermal debug
code introduced during the 6.8 development cycle.

Thanks!


---------------

Rafael J. Wysocki (3):
thermal/debugfs: Free all thermal zone debug memory on zone removal
thermal/debugfs: Fix two locking issues with thermal zone debug
thermal/debugfs: Prevent use-after-free from occurring after cdev removal

---------------

drivers/thermal/thermal_debugfs.c | 59 +++++++++++++++++++++++++++++----------
1 file changed, 45 insertions(+), 14 deletions(-)