В ядре Linux устранена следующая уязвимость:
drm/v3d: исправлен подсчет ссылок на глобальный монитор производительности. В SET_GLOBAL ioctl v3d_perfmon_find() увеличивает счетчик ссылок
производительность, которую он возвращает, но v3d_perfmon_set_global_ioctl() и
v3d_perfmon_delete() не может освободить эту ссылку по нескольким путям:
1. v3d_perfmon_set_global_ioctl() теряет ссылку на свою ошибку
пути.
2. CLEAR_GLOBAL пропускает как ссылку поиска, так и ссылку.
ранее спрятано в v3d->global_perfmon с помощью SET_GLOBAL ioctl
это настроило его.
3. Уничтожение монитора производительности, который является текущим глобальным монитором производительности, приводит к утечке
ссылка, спрятанная в SET_GLOBAL ioctl.
Освободите каждую из этих ссылок явно.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: drm/v3d: Fix global performance monitor reference counting In the SET_GLOBAL ioctl, v3d_perfmon_find() bumps the reference count on the perfmon it returns, but v3d_perfmon_set_global_ioctl() and v3d_perfmon_delete() fail to release that reference on several paths: 1. v3d_perfmon_set_global_ioctl() leaks the reference on its error paths. 2. CLEAR_GLOBAL leaks both the find reference and the reference previously stashed in v3d->global_perfmon by the SET_GLOBAL ioctl that configured it. 3. Destroying a perfmon that is the current global perfmon leaks the reference stashed by the SET_GLOBAL ioctl. Release each of these references explicitly.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 8
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.14
|
6.18.36
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
7.0.13
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*
|
— | — |