В ядре Linux устранена следующая уязвимость:
net: shaper: отклонять повторяющиеся листья в запросе GROUP
net_shaper_nl_group_doit() не выполняет дедупликацию NET_SHAPER_A_LEAVES
записи. Когда пользовательское пространство дважды предоставляет один и тот же дескриптор листа, один и тот же
Указатель старого родителя дважды попадает в old_nodes[]. Цикл очистки двойной
освобождает родителя.
Конечно, тот же родитель может все еще находиться в old_nodes[]
дважды, если мы перемещаем несколько его листьев. Обратите внимание, что этот патч также неявно исправляет тот факт, что
i >= Leaves_count Path забывает установить ret.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: net: shaper: reject duplicate leaves in GROUP request net_shaper_nl_group_doit() does not deduplicate NET_SHAPER_A_LEAVES entries. When userspace supplies the same leaf handle twice, the same old-parent pointer lands twice in old_nodes[]. The cleanup loop double frees the parent. Of course the same parent may still be in old_nodes[] twice if we are moving multiple of its leaves. Note that this patch also implicitly fixes the fact that the i >= leaves_count path forgets to set ret.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.18.34
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
7.0.11
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
|
— | — |