В ядре Linux устранена следующая уязвимость:
netfilter: nf_conncount: увеличить лимит очистки соединений до 64
После оптимизации, позволяющей выполнять только один сборщик мусора в один миг, возникла новая проблема.
был представлен. Если в один миг отслеживается более 8 новых подключений,
список не будет очищен достаточно быстро, возможно, достигнет предела
ошибочно. Чтобы предотвратить эту проблему, пропускайте сборщик мусора только в том случае, если он уже был
срабатывает в один и тот же миг, и приращение меньше, чем
лимит очистки.
Кроме того, увеличьте лимит очистки до 64
соединения, чтобы избежать слишком частого запуска GC и выполнять более эффективные GC. Это было протестировано с использованием HTTP-сервера и нескольких
инструменты производительности при наличии ограничения nft_connlimit/xt_connlimit или OVS
настроен. Вывод лимита медленных httptest + OVS при 52000 соединениях:
статус медленного HTTP-теста на 340-й секунде:
инициализация: 0
в ожидании: 432
подключено: 51998
ошибка: 0
закрыто: 0
доступная услуга: ДА
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conncount: increase the connection clean up limit to 64 After the optimization to only perform one GC per jiffy, a new problem was introduced. If more than 8 new connections are tracked per jiffy the list won't be cleaned up fast enough possibly reaching the limit wrongly. In order to prevent this issue, only skip the GC if it was already triggered during the same jiffy and the increment is lower than the clean up limit. In addition, increase the clean up limit to 64 connections to avoid triggering GC too often and do more effective GCs. This has been tested using a HTTP server and several performance tools while having nft_connlimit/xt_connlimit or OVS limit configured. Output of slowhttptest + OVS limit at 52000 connections: slow HTTP test status on 340th second: initializing: 0 pending: 432 connected: 51998 error: 0 closed: 0 service available: YES
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 7
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.10.248
|
5.10.252
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.15.198
|
5.15.202
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.19
|
6.1.165
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.2
|
6.6.128
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.75
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.18.14
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
6.19.4
|