В ядре Linux была устранена следующая уязвимость: drm/amd/display: исправить проверки NULL для adev->dm.dc в amdgpu_dm_fini() Since 'adev->dm.dc' в amdgpu_dm_fini() может оказаться NULL перед вызовом dc_enable_dmub_notifications(), заранее проверьте, чтобы там не было возможного NULL-ptr-deref. Кроме того, поскольку commit 1e88eb1b2c25 ("drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP»), есть две отдельные проверки для NULL в 'adev->dm.dc' перед dc_deinit_callbacks() и dc_dmub_srv_destroy(). Очистить, объединив их все под одним 'if'.
Найден Linux Verification Center (linuxtesting.org) с помощью инструмента статического анализа SVACE.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: fix NULL checks for adev->dm.dc in amdgpu_dm_fini() Since 'adev->dm.dc' in amdgpu_dm_fini() might turn out to be NULL before the call to dc_enable_dmub_notifications(), check beforehand to ensure there will not be a possible NULL-ptr-deref there. Also, since commit 1e88eb1b2c25 ("drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP") there are two separate checks for NULL in 'adev->dm.dc' before dc_deinit_callbacks() and dc_dmub_srv_destroy(). Clean up by combining them all under one 'if'. Found by Linux Verification Center (linuxtesting.org) with static analysis tool SVACE.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 3
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.14
|
6.6.23
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.7.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.8
|
6.8.2
|