Loading
drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules
stable inclusion from stable-v5.10.224 commit c1749313f35b98e2e655479f037db37f19756622 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAMMCR CVE: CVE-2024-43907 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c1749313f35b98e2e655479f037db37f19756622 -------------------------------- [ Upstream commit d19fb10085a49b77578314f69fff21562f7cd054 ] Check the pointer value to fix potential null pointer dereference Acked-by:Yang <Wang<kevinyang.wang@amd.com> Signed-off-by:
Ma Jun <Jun.Ma2@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Yongqiang Liu <liuyongqiang13@huawei.com>