linux-yocto/drivers/devfreq
Pengjie Zhang 469b0b8ce0 PM / devfreq: hisi: Fix potential UAF in OPP handling
[ Upstream commit 26dd44a40096468396b6438985d8e44e0743f64c ]

Ensure all required data is acquired before calling dev_pm_opp_put(opp)
to maintain correct resource acquisition and release order.

Fixes: 7da2fdaaa1 ("PM / devfreq: Add HiSilicon uncore frequency scaling driver")
Signed-off-by: Pengjie Zhang <zhangpengjie2@huawei.com>
Reviewed-by: Jie Zhan <zhanjie9@hisilicon.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://patchwork.kernel.org/project/linux-pm/patch/20250915062135.748653-1-zhangpengjie2@huawei.com/
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-18 14:03:11 +01:00
..
event PM / devfreq: rockchip-dfi: switch to FIELD_PREP_WM16 macro 2025-10-15 10:39:54 -04:00
devfreq-event.c PM / devfreq: event: Call of_node_put() only once in devfreq_event_get_edev_by_phandle() 2024-12-08 21:58:55 +09:00
devfreq.c PM / devfreq: Allow devfreq driver to add custom sysfs ABIs 2025-07-14 20:22:59 +09:00
exynos-bus.c PM / devfreq: exynos: remove unused function parameter 2025-01-11 21:03:07 +09:00
governor_passive.c
governor_performance.c PM/devfreq: governor: add missing MODULE_DESCRIPTION() macros 2024-09-05 00:33:00 +09:00
governor_powersave.c PM/devfreq: governor: add missing MODULE_DESCRIPTION() macros 2024-09-05 00:33:00 +09:00
governor_simpleondemand.c PM/devfreq: governor: add missing MODULE_DESCRIPTION() macros 2024-09-05 00:33:00 +09:00
governor_userspace.c PM / devfreq: governor: Replace sscanf() with kstrtoul() in set_freq_store() 2025-07-14 20:04:16 +09:00
governor.h
hisi_uncore_freq.c PM / devfreq: hisi: Fix potential UAF in OPP handling 2025-12-18 14:03:11 +01:00
imx-bus.c PM / devfreq: imx-bus: Use of_property_present() 2024-09-05 01:23:56 +09:00
imx8m-ddrc.c
Kconfig PM / devfreq: Add HiSilicon uncore frequency scaling driver 2025-07-14 20:23:57 +09:00
Makefile PM / devfreq: Add HiSilicon uncore frequency scaling driver 2025-07-14 20:23:57 +09:00
mtk-cci-devfreq.c PM / devfreq: mtk-cci: avoid redundant conditions 2025-09-08 17:19:25 +09:00
rk3399_dmc.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun8i-a33-mbus.c PM / devfreq: sun8i-a33-mbus: Simplify by using more devm functions 2025-07-14 20:04:17 +09:00
tegra30-devfreq.c