Ad

CVE-2026-99150

NONE EPSS 0.22%
Обновлено 30 октября 2026
Linux
Параметр Значение
Уязвимые версии 1 — 0
Поставщик Linux
Публичный эксплойт Нет

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr amdgpu_debugfs_gpr_read() drops its runtime PM reference right after reading the wave registers. Когда копирование их в пользовательское пространство терпит неудачу, оно переходит на метку err, которая сбрасывает ссылку во второй раз. Чтение в плохом буфере на Navi31 либо крадет ссылку, которую держит кто-то другой (power/runtime_usage идет от 1 до 0), либо подводит счет: amdgpu 0000:03:00.0: Runtime PM use count underflow! Регистры уже находятся в буфере ядра в этот момент, поэтому сначала завершите аппаратный доступ и скопируйте буфер с помощью одного copy_to_user() вместо цикла put_user() со своим собственным путем ошибки. (Вишня выбрана из commit 31035bbd74f7c3e10c163db875b8e67f8b50ee6a)

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: don't drop the runtime PM reference twice in amdgpu_gpr amdgpu_debugfs_gpr_read() drops its runtime PM reference right after reading the wave registers. When copying them to userspace fails, it jumps to the err label, which drops the reference a second time. A read into a bad buffer on Navi31 either steals a reference somebody else holds (power/runtime_usage goes from 1 to 0) or underflows the count: amdgpu 0000:03:00.0: Runtime PM usage count underflow! The registers are already in the kernel buffer at that point, so finish the hardware access first and copy the buffer with a single copy_to_user() instead of the put_user() loop with its own error path. (cherry picked from commit 31035bbd74f7c3e10c163db875b8e67f8b50ee6a)