Ad

CVE-2026-31486

HIGH CVSS 3.1: 7,1 EPSS 0.10%
Обновлено 30 октября 2026
Linux
Параметр Значение
CVSS 7,1 (HIGH)
Уязвимые версии 3.19.1 — 6.19.11
Устранено в версии 6.18.21
Тип уязвимости CWE-667, CWE-362 (Состояние гонки)
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux устранена следующая уязвимость: hwmon: (pmbus/core) Регуляторные операции Protect с мьютексом Регуляторные операции pmbus_regulator_get_voltage(), pmbus_regulator_set_voltage(), и pmbus_regulator_list_voltage() получают доступ к регистрам PMBus и общим данным, но не были защищены мьютексом update_lock. Это может привести к расовым условиям. Однако добавление защиты мютекса непосредственно к этим функциям вызывает тупик, потому что pmbus_regulator_notify() (который вызывает regulator_notifier_call_chain()) часто вызывается с уже удерживаемым мютексом (например, из pmbus_fault_handler()).

Если вызов регулятора вызовет одну из теперь защищенных функций напряжения, он попытается получить тот же мьютекс. Переработайте pmbus_regulator_notify(), чтобы использовать рабочую функцию для отправки уведомлений вне защиты мьютекса. События хранятся в виде атомов в битовой маске на странице и обрабатываются работником.

Инициализируйте работника и связанные с ним данные во время регистрации регулятора и убедитесь, что он отменен при удалении устройства с помощью devm_add_action_or_reset(). Удалите ненужное включение linux/of.h.

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

In the Linux kernel, the following vulnerability has been resolved: hwmon: (pmbus/core) Protect regulator operations with mutex The regulator operations pmbus_regulator_get_voltage(), pmbus_regulator_set_voltage(), and pmbus_regulator_list_voltage() access PMBus registers and shared data but were not protected by the update_lock mutex. This could lead to race conditions. However, adding mutex protection directly to these functions causes a deadlock because pmbus_regulator_notify() (which calls regulator_notifier_call_chain()) is often called with the mutex already held (e.g., from pmbus_fault_handler()). If a regulator callback then calls one of the now-protected voltage functions, it will attempt to acquire the same mutex. Rework pmbus_regulator_notify() to utilize a worker function to send notifications outside of the mutex protection. Events are stored as atomics in a per-page bitmask and processed by the worker. Initialize the worker and its associated data during regulator registration, and ensure it is cancelled on device removal using devm_add_action_or_reset(). While at it, remove the unnecessary include of linux/of.h.

Характеристики атаки

Способ атаки
Локальный
Нужен локальный доступ
Сложность
Низкая
Легко эксплуатировать
Нужны права
Низкие
Нужны базовые права
Участие пользователя
Не требуется
Не нужно действие пользователя

Последствия

Конфиденциальность
Нет
Нет утечки данных
Целостность
Высокое
Полная модификация данных
Доступность
Высокое
Полный отказ в обслуживании

Строка CVSS v3.1

Уязвимые продукты 10

Конфигурация От (включительно) До (исключительно)
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
3.19.1 6.18.21
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
6.19 6.19.11
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:3.19:-:*:*:*:*:*:*
— —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
— —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
— —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
— —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
— —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
— —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
— —
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
— —