Loading
drm/amd/display: added NULL check at start of dc_validate_stream
mainline inclusion from mainline-v6.11-rc1 commit 26c56049cc4f1705b498df013949427692a4b0d5 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAU9N4 CVE: CVE-2024-46802 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=26c56049cc4f1705b498df013949427692a4b0d5 -------------------------------- [Why] prevent invalid memory access [How] check if dc and stream are NULL Co-authored-by:winstang <winstang@amd.com> Reviewed-by:
Alvin Lee <alvin.lee2@amd.com> Acked-by:
Zaeem Mohamed <zaeem.mohamed@amd.com> Signed-off-by:
winstang <winstang@amd.com> Tested-by:
Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> Signed-off-by:
Yu Liao <liaoyu15@huawei.com>