Ad

CVE-2026-98851

NONE EPSS 0.21%
Обновлено 30 октября 2026
Linux
Параметр Значение
Уязвимые версии 4.16 — 7.3
Устранено в версии 6.6.160
Поставщик Linux
Публичный эксплойт Нет

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_flow_offload: drop flowtable reference on init error path nft_flow_offload_init() bumps the flowtable use count with nft_use_inc() before calling nf_ct_netns_get(). Когда последнее не удается, ошибка возвращается как есть, и ссылка просочилась. Верхние слои также не уравновешивают его: nf_tables_newexpr() очищает expr->ops, когда выражение init callback терпит неудачу, поэтому итерация nft_expr_more() в nft_rule_expr_deactivate() и nf_tables_rule_destroy() останавливается прямо перед неудавшимся выражением, а его -> destroy callback, который отбрасывает ссылку, никогда не запускается.

Таким образом, каждое неудавшееся дополнение к правилу приводит к утечке одной ссылки на текучую таблицу, и текучая таблица больше не может быть удалена: NFT_MSG_DELFLOWTABLE продолжает отчитываться -EBUSY, даже если ни одно правило не ссылается на него. Сохраните возвращаемое значение nf_ct_netns_get() и отмените nft_use_inc(), когда оно выйдет из строя, восстановив сопряжение inc/dec внутри самого nft_flow_offload_init().

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_flow_offload: drop flowtable reference on init error path nft_flow_offload_init() bumps the flowtable use count with nft_use_inc() before calling nf_ct_netns_get(). When the latter fails, the error is returned as-is and the reference is leaked. The upper layers do not balance it either: nf_tables_newexpr() clears expr->ops when the expression init callback fails, so the nft_expr_more() iteration in nft_rule_expr_deactivate() and nf_tables_rule_destroy() stops right before the failed expression and its ->destroy callback, which would drop the reference, never runs. Each failed rule addition therefore leaks one flowtable reference and the flowtable can no longer be removed: NFT_MSG_DELFLOWTABLE keeps reporting -EBUSY even though no rule references it. Save the nf_ct_netns_get() return value and undo the nft_use_inc() when it fails, restoring the inc/dec pairing within nft_flow_offload_init() itself.

Уязвимые продукты 5

Конфигурация От (включительно) До (исключительно)
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.16 6.6.160
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.16 6.12.113
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.16 6.18.56
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.16 7.2.10
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
4.16 7.3