В ядре Linux устранена следующая уязвимость:
mm/damon/core: инициализировать damo_filter->list из damos_new_filter()
damos_new_filter() не инициализирует поле списка вновь выделенных
объект фильтра. Однако интерфейс DAMON sysfs и DAMON_RECLAIM не являются
инициализируя его после вызова damos_new_filter(). В результате доступ
возможна неинициализация памяти.
Собственно, добавление нескольких фильтров DAMOS
через интерфейс DAMON sysfs вызвало разыменование NULL-указателя. Инициализировать
поле сразу после выделения из damos_new_filter().
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: initialize damo_filter->list from damos_new_filter() damos_new_filter() is not initializing the list field of newly allocated filter object. However, DAMON sysfs interface and DAMON_RECLAIM are not initializing it after calling damos_new_filter(). As a result, accessing uninitialized memory is possible. Actually, adding multiple DAMOS filters via DAMON sysfs interface caused NULL pointer dereferencing. Initialize the field just after the allocation from damos_new_filter().
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 6
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.3
|
6.4.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc4:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.5:rc5:*:*:*:*:*:*
|
— | — |