В ядре Linux была устранена следующая уязвимость: drm/amd/display: Add null check for pipe_ctx->plane_state in dcn20_program_pipe This commit адресует проблему удаления нулевого указателя в функции dcn20_program_pipe. Проблема может возникнуть, когда pipe_ctx->plane_state является нулевой. Исправление добавляет проверку, чтобы убедиться, что pipe_ctx->plane_state не является нулевым перед доступом.
Это предотвращает удаление нулевого указателя. Сообщено по smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn20/dcn20_hwseq.c:1925 dcn20_program_pipe() ошибка: мы ранее предполагали, что 'pipe_ctx->plane_state' может быть нулевым (см. строку 1877)
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add null check for pipe_ctx->plane_state in dcn20_program_pipe This commit addresses a null pointer dereference issue in the `dcn20_program_pipe` function. The issue could occur when `pipe_ctx->plane_state` is null. The fix adds a check to ensure `pipe_ctx->plane_state` is not null before accessing. This prevents a null pointer dereference. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn20/dcn20_hwseq.c:1925 dcn20_program_pipe() error: we previously assumed 'pipe_ctx->plane_state' could be null (see line 1877)
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 1
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
— |
6.11.3
|