[GIT PULL] Power management fixes for v7.0-rc7

From: Rafael J. Wysocki

Date: Fri Apr 03 2026 - 08:35:06 EST


Hi Linus,

Please pull from the tag

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

with top-most commit 744d5721d2d7abc84e5131c16002039c53465c89

Merge branch 'pm-em'

on top of commit 7aaa8047eafd0bd628065b15757d9b48c5f9c07d

Linux 7.0-rc6

to receive power management fixes for 7.0-rc7.

These fix a potential NULL pointer dereference in the energy model
netlink interface and a potential double free in an error path in
the common cpufreq governor management code:

- Fix a NULL pointer dereference in the energy model netlink
interface that may occur if a given perf domain ID is not
recognized (Changwoo Min)

- Avoid double free in the cpufreq_dbs_governor_init() error path
when kobject_init_and_add() fails (Guangshuo Li)

Thanks!


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

Changwoo Min (1):
PM: EM: Fix NULL pointer dereference when perf domain ID is not found

Guangshuo Li (1):
cpufreq: governor: fix double free in
cpufreq_dbs_governor_init() error path

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

drivers/cpufreq/cpufreq_governor.c | 6 +++---
kernel/power/em_netlink.c | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)