В ядре Linux устранена следующая уязвимость:
drm/vc4: остановить активный монитор перед его уничтожением. После закрытия файлового дескриптора активный монитор производительности не активируется.
остановился. Хотя все мониторы производительности уничтожаются в `vc4_perfmon_close_file()`,
указатель активного монитора производительности (`vc4->active_perfmon`) по-прежнему
сохранено.
Если мы откроем новый файловый дескриптор и отправим несколько заданий с производительностью мониторы, драйвер попытается остановить активный монитор производительности используя устаревший указатель в `vc4->active_perfmon`. Однако этот указатель больше недействителен, поскольку предыдущий процесс уже завершился, и все связанные с ним мониторы производительности были уничтожены и освобожден. Чтобы исправить это, когда активный монитор производительности принадлежит данному процесс, явно остановите его, прежде чем уничтожить и освободить.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: drm/vc4: Stop the active perfmon before being destroyed Upon closing the file descriptor, the active performance monitor is not stopped. Although all perfmons are destroyed in `vc4_perfmon_close_file()`, the active performance monitor's pointer (`vc4->active_perfmon`) is still retained. If we open a new file descriptor and submit a few jobs with performance monitors, the driver will attempt to stop the active performance monitor using the stale pointer in `vc4->active_perfmon`. However, this pointer is no longer valid because the previous process has already terminated, and all performance monitors associated with it have been destroyed and freed. To fix this, when the active performance monitor belongs to a given process, explicitly stop it before destroying and freeing it.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.17
|
6.1.113
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.2
|
6.6.57
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.11.4
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
|
— | — |