В ядре Linux устранена следующая уязвимость:
netfilter: nf_tables: используйте метку времени для проверки тайм-аута заданного элемента
Добавьте поле метки времени в начале транзакции, сохраните его
в области nftables per-netns. Обновите серверную часть .insert, .deactivate и синхронизируйте путь gc, чтобы использовать
временная метка, это позволяет избежать истечения срока действия элемента во время плоскости управления.
транзакция еще не завершена.
.lookup и .update, которые используются из пути пакета, по-прежнему используют
текущее время, чтобы проверить, истек ли срок действия элемента. И .get путь и дамп
Кроме того, поскольку это работает без блокировки при блокировке размера чтения rcu.
Тогда есть async gc, которому также необходимо проверять текущее время с момента его запуска асинхронно из рабочей очереди.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: use timestamp to check for set element timeout Add a timestamp field at the beginning of the transaction, store it in the nftables per-netns area. Update set backend .insert, .deactivate and sync gc path to use the timestamp, this avoids that an element expires while control plane transaction is still unfinished. .lookup and .update, which are used from packet path, still use the current time to check if the element has expired. And .get path and dump also since this runs lockless under rcu read size lock. Then, there is async gc which also needs to check the current time since it runs asynchronously from a workqueue.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 10
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.1
|
4.19.320
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
4.20
|
5.4.282
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.5
|
5.10.224
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.11
|
5.15.165
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.16
|
6.1.97
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.2
|
6.6.84
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.7.5
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
|
— | — |
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:*
|
— | — |