В ядре Linux устранена следующая уязвимость:
netfilter: nf_tables: отклонять дубликаты устройств при обновлениях
Обновление цепочки/таблицы потоков с дублированными устройствами в одном пакете
возможно. К сожалению, путь событий netdev удаляет только первый
найденное устройство, оставляя незарегистрированным хук дублированного
устройство. Проверьте, существует ли дублированное устройство в пакете транзакций, выручите
в таком случае с EEXIST.
ПРЕДУПРЕЖДЕНИЕ выдается при отмене регистрации хука:
[49042.221275] ПРЕДУПРЕЖДЕНИЕ: ЦП: 4 PID: 8425 в net/netfilter/core.c:340 nf_hook_entry_head+0xaa/0x150
[49042.221375] ЦП: 4 UID: 0 PID: 8425 Связь: nft Испорчено: GS 6.16.0+ #170 PREEMPT(полный)
[...]
[49042.221382] RIP: 0010:nf_hook_entry_head+0xaa/0x150
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: reject duplicate device on updates A chain/flowtable update with duplicated devices in the same batch is possible. Unfortunately, netdev event path only removes the first device that is found, leaving unregistered the hook of the duplicated device. Check if a duplicated device exists in the transaction batch, bail out with EEXIST in such case. WARNING is hit when unregistering the hook: [49042.221275] WARNING: CPU: 4 PID: 8425 at net/netfilter/core.c:340 nf_hook_entry_head+0xaa/0x150 [49042.221375] CPU: 4 UID: 0 PID: 8425 Comm: nft Tainted: G S 6.16.0+ #170 PREEMPT(full) [...] [49042.221382] RIP: 0010:nf_hook_entry_head+0xaa/0x150
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.8
|
6.6.117
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.7
|
6.12.59
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.16.2
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
|
— | — |