В ядре Linux устранена следующая уязвимость:
drm/xe/client: добавить отсутствующую блокировку bo в show_meminfo()
bo_meminfo() хочет проверить состояние bo, такое как tt и ресурс ttm,
однако это состояние может измениться в любой момент, что приведет к таким вещам, как NPD и
УАФ, если болок не держится. Берите замок при звонке
bo_meminfo(), гарантируя, что мы сначала отбросим все спин-блокировки. В случае
object_idr нам теперь также нужно хранить ссылку.
v2 (МаттБ)
- Также добавьте xe_bo_assert_held().
(вишня выбрана из коммита 4f63d712fa104c3ebefcb289d1e733e86d8698c7)
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: drm/xe/client: add missing bo locking in show_meminfo() bo_meminfo() wants to inspect bo state like tt and the ttm resource, however this state can change at any point leading to stuff like NPD and UAF, if the bo lock is not held. Grab the bo lock when calling bo_meminfo(), ensuring we drop any spinlocks first. In the case of object_idr we now also need to hold a ref. v2 (MattB) - Also add xe_bo_assert_held() (cherry picked from commit 4f63d712fa104c3ebefcb289d1e733e86d8698c7)
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 8
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.8
|
6.10.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc6:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.11:rc7:*:*:*:*:*:*
|
— | — |