В ядре Linux устранена следующая уязвимость:
кольцевой буфер: исправлено возможное разыменование неинициализированного указателя. В rb_meta_validate_events() есть указатель head_page, которого нет.
инициализируется в начале функции. Этот указатель можно разыменовать
если произошел сбой во время проверки страницы читателя.
В этом случае контроль
передается «недопустимой» метке, где указатель разыменовывается в цикле. Чтобы устранить проблему, инициализируйте orig_head и head_page перед вызовом.
rb_validate_buffer. Найдено Центром проверки Linux (linuxtesting.org) с помощью SVACE.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Fix possible dereference of uninitialized pointer There is a pointer head_page in rb_meta_validate_events() which is not initialized at the beginning of a function. This pointer can be dereferenced if there is a failure during reader page validation. In this case the control is passed to "invalid" label where the pointer is dereferenced in a loop. To fix the issue initialize orig_head and head_page before calling rb_validate_buffer. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 2
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.12
|
6.18.16
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
6.19.6
|