В ядре Linux устранена следующая уязвимость:
dpll: предотвращение дублирования регистраций
Измените внутренние помощники регистрации dpll_xa_ref_{dpll,pin}_add().
отклонять попытки дублирования регистрации. Раньше, если вызывающий абонент пытался зарегистрировать один и тот же PIN-код несколько
раз (с теми же ops, priv и cookie) на одном и том же устройстве, ядро
молча увеличивает счетчик ссылок и возвращает успех. Такое поведение
неверно, поскольку если вызывающий абонент выполняет эти дублирующие регистрации
то для первого выделяется dpll_pin_registration и для остальных
связанный dpll_pin_ref.refcount увеличивается.
Во время первого
отмены регистрации связанный dpll_pin_registration освобождается и для
другие WARN уволен. Исправьте это, обновив логику, чтобы она возвращала `-EEXIST`, если найдено совпадение. Установлено, что регистрация обеспечивает соблюдение строгой политики «однократной регистрации».
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: dpll: Prevent duplicate registrations Modify the internal registration helpers dpll_xa_ref_{dpll,pin}_add() to reject duplicate registration attempts. Previously, if a caller attempted to register the same pin multiple times (with the same ops, priv, and cookie) on the same device, the core silently increments the reference count and return success. This behavior is incorrect because if the caller makes these duplicate registrations then for the first one dpll_pin_registration is allocated and for others the associated dpll_pin_ref.refcount is incremented. During the first unregistration the associated dpll_pin_registration is freed and for others WARN is fired. Fix this by updating the logic to return `-EEXIST` if a matching registration is found to enforce a strict "register once" policy.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 8
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.68
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.18.8
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:*
|
— | — |