Ad

CVE-2026-99283

NONE EPSS 0.21%
Обновлено 23 ноября 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

In the Linux kernel, the following vulnerability has been resolved: netfilter: conntrack: tcp: use UNACK timeout for non-closing RST packets Commit be0502a3f2e9 ("netfilter: conntrack: tcp: only close if RST matches exact sequence") keeps an established conntrack entry in ESTABLISHED when an in-window RST does not match the expected sequence number exactly, so the endpoint can validate the RST with a challenge ACK. Тем не менее, выбор тайм-аута использует тайм-аут CLOSE для каждого пакета RST. Ошибка заключается в том, что выбор таймаута основан на типе пакета, а не на результате перехода состояния: даже когда проверка RST сохраняет new_state в ESTABLISHED, таймаут по-прежнему вынужден TCP_CONNTRACK_CLOSE.

Linux TCP независимо ограничивает скорость вызова ACKs на сокет. Таким образом, второй неточный RST может появиться после того, как первый вызов ACK восстановил тайм-аут, но до истечения лимита скорости. Второй RST снова снижает тайм-аут до 10 секунд, в то время как конечная точка подавляет второй вызов ACK, позволяя завершить вход в коннтрек, в то время как обе конечные точки TCP остаются установленными.

Использование тайм-аута ESTABLISHED для такого RSTs позволит избежать этого короткого окна истечения срока действия, но он также может сохранить устаревшие записи для пятидневного по умолчанию, потому что conntrack не может надежно соответствовать точному состоянию конечной точки TCP. Используйте тайм-аут UNACK для пакетов RST, которые оставляют запись Conntrack в TCP_CONNTRACK_ESTABLISHED. Exact-match RSTs и принятые пакетные поезда RST по-прежнему падают до timeouts[new_state], что сохраняет тайм-аут CLOSE, когда conntrack принимает RST как закрывающий поток.

Это позволяет избежать агрессивного 10-секундного окна экспирации для не точного RSTs, сохраняя при этом короткий тайм-аут для RSTs, который Conntrack принимает как закрытие потока.

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

In the Linux kernel, the following vulnerability has been resolved: netfilter: conntrack: tcp: use UNACK timeout for non-closing RST packets Commit be0502a3f2e9 ("netfilter: conntrack: tcp: only close if RST matches exact sequence") keeps an established conntrack entry in ESTABLISHED when an in-window RST does not match the expected sequence number exactly, so the endpoint can validate the RST with a challenge ACK. The timeout selection nevertheless uses the CLOSE timeout for every RST packet. The bug is that timeout selection is based on the packet type, not on the state transition result: even when RST validation keeps new_state in ESTABLISHED, the timeout is still forced to TCP_CONNTRACK_CLOSE. Linux TCP independently rate limits challenge ACKs per socket. A second non-exact RST can therefore arrive after the first challenge ACK has restored the timeout but before the rate limit expires. The second RST lowers the timeout to 10 seconds again while the endpoint suppresses the second challenge ACK, allowing the conntrack entry to expire while both TCP endpoints remain established. Using the ESTABLISHED timeout for such RSTs would avoid this short expiration window, but it could also retain stale entries for the five-day default because conntrack cannot reliably match the endpoint's exact TCP state. Use the UNACK timeout for RST packets that leave the conntrack entry in TCP_CONNTRACK_ESTABLISHED. Exact-match RSTs and accepted RST packet trains still fall through to timeouts[new_state], which preserves the CLOSE timeout when conntrack accepts the RST as closing the flow. This avoids the aggressive 10-second expiration window for non-exact RSTs while preserving the short timeout for RSTs that conntrack accepts as closing the flow.