В ядре Linux устранена следующая уязвимость:
drm/amd/amdgpu/amdgpu_cs: исправлена утечка счетчика ссылок объекта dma_fence. Эта проблема возникает на пути ошибки в
amdgpu_cs_fence_to_handle_ioctl(). Когда `info->in.what` попадает в
случае по умолчанию функция просто возвращает -EINVAL, забывая
уменьшить счетчик ссылок объекта dma_fence, который сдвинут
ранее с помощью amdgpu_cs_get_fence().
Это может привести к подсчету ссылок утечки. Исправьте это, уменьшив счетчик ссылок конкретного объекта перед возвратом. код ошибки.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj This issue takes place in an error path in amdgpu_cs_fence_to_handle_ioctl(). When `info->in.what` falls into default case, the function simply returns -EINVAL, forgetting to decrement the reference count of a dma_fence obj, which is bumped earlier by amdgpu_cs_get_fence(). This may result in reference count leaks. Fix it by decreasing the refcount of specific object before returning the error code.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 6
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
— |
4.19.238
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.20
|
5.4.189
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.5
|
5.10.111
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
5.15.34
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
5.16.20
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.17
|
5.17.3
|