title: drm/amd/display: Fix 'panel_cntl' could be null in 'dcn21_set_backlight_level()'
description: In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix 'panel_cntl' could be null in 'dcn21_set_backlight_level()'
'panel_cntl' structure used to control the display panel could be null,
dereferencing it could lead to a null pointer access.
Fixes the below:
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn21/dcn21_hwseq.c:269 dcn21_set_backlight_level() error: we previously assumed 'panel_cntl' could be null (see line 250)
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 474ac4a875ca, lessThan: 2e150ccea131, status: affected, versionType: git
version: 474ac4a875ca, lessThan: 0c863cab0e91, status: affected, versionType: git
version: 474ac4a875ca, lessThan: e96fddb32931, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5.9, status: affected
version: 0, lessThan: 5.9, status: unaffected, versionType: custom
version: 6.6.17, lessThanOrEqual: 6.6.*, status: unaffected, versionType: custom
version: 6.7.5, lessThanOrEqual: 6.7.*, status: unaffected, versionType: custom
version: 6.8, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
