netfilter: conntrack: tcp: use UNACK timeout for non-closing RST packets
- State
- Published
- Severity
- Not Scored
- Published
- Nov 7, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
Description
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.
| Product | Versions |
|---|---|
| Linux Linux | be0502a3f2e94211a8809a09ecbc3a017189b8fb to before 3abe7c2d4ad196701cb49c24d573b45c7181894f Affectedbe0502a3f2e94211a8809a09ecbc3a017189b8fb to before 1e4f5d5850630ede0b764ba7ba5165581d0a7040 Affectedbe0502a3f2e94211a8809a09ecbc3a017189b8fb to before 846cfd2f0c385a4ffd69831669cb7384d3084813 Affectedbe0502a3f2e94211a8809a09ecbc3a017189b8fb to before dc8f4b1d102854ba82de90a8b4546afbef1d2b61 Affectedbe0502a3f2e94211a8809a09ecbc3a017189b8fb to before 4d39a039d0b7737f8475c2431f18572b3b186a3b Affectedbe0502a3f2e94211a8809a09ecbc3a017189b8fb to before 0c6d33329960b2d884a399196c8403643d8a9de6 Affectedbe0502a3f2e94211a8809a09ecbc3a017189b8fb to before bf80e6802273a900311b44e47c9b1a59c6d2473c Affectedca66f667189c39b9128c1fba5d0be23d933009d9 Affectedb39898beee9da20b279c3daf073b42045b3d35d6 Affected4.19.34 to before 4.20 Affected5.0.7 to before 5.1 Affected |
| Linux Linux | 5.1 Affectedbefore 5.1 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/3abe7c2d4ad196701cb49c24d573b45c7181894f
- https://git.kernel.org/stable/c/1e4f5d5850630ede0b764ba7ba5165581d0a7040
- https://git.kernel.org/stable/c/846cfd2f0c385a4ffd69831669cb7384d3084813
- https://git.kernel.org/stable/c/dc8f4b1d102854ba82de90a8b4546afbef1d2b61
- https://git.kernel.org/stable/c/4d39a039d0b7737f8475c2431f18572b3b186a3b
- https://git.kernel.org/stable/c/0c6d33329960b2d884a399196c8403643d8a9de6
- https://git.kernel.org/stable/c/bf80e6802273a900311b44e47c9b1a59c6d2473c
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.