Description
In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_conncount: prevent connlimit drops for early confirmed ct

Commit 69894e5b4c5e ("netfilter: nft_connlimit: update the count if add
was skipped") introduced a regression where packets for valid
connections are dropped when using connlimit for soft-limiting
scenarios.

The issue occurs when a new connection reuses a socket currently in
the TIME_WAIT state. In this scenario, the connection tracking entry
is evaluated as already confirmed. Previously, __nf_conncount_add()
assumed that if a connection was confirmed and did not originate from
the loopback interface, it should skip the addition and return -EEXIST.

Skipping the addition triggers a garbage collection run that cleans up
the TIME_WAIT connection. Consequently, the active connection count
drops to 0, which xt_connlimit mishandles, leading to the false rejection
of the perfectly valid new connection.

Fix this by replacing the interface check with protocol-agnostic state
checks. We now skip the tree insertion and preserve the lockless garbage
collection optimization only if the connection is IPS_ASSURED. This
allows early-confirmed setup packets (such as reused TIME_WAIT sockets
or locally generated SYN-ACKs) to be properly evaluated and counted
without falsely dropping. The goto check_connections path is maintained
to ensure these setup packets are deduplicated correctly.

This has been tested with slowhttptest and HTTP server configured
locally to ensure we are not breaking soft-limiting scenarios for local
or external connections. In addition, it was tested with a OVS zone
limit too.
Published: 2026-08-15
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The regression introduced by commit 69894e5b in the Linux kernel’s netfilter nf_conncount module causes valid network connections to be erroneously dropped. It occurs when a new connection reuses a socket that is still in the TIME_WAIT state. The connection is incorrectly treated as already confirmed, leading to a premature skip of the addition in the connection table. This trigger initiates a garbage collection that clears the TIME_WAIT entry, reducing the active connection count to zero. As a result, the connlimit module misinterprets the flow and rejects a perfectly valid new connection, effectively denying legitimate traffic. The flaw is specific to soft-limiting scenarios and is not a traditional authentication or code‑execution vulnerability, but it strongly impacts availability for affected services.

Affected Systems

The issue affects all Linux kernel implementations that include the current nf_conncount and connlimit modules. The exact kernel version range is not specified in the advisory; however, the patch was applied in the upstream Linux kernel repository and any kernel build that incorporates commit 69894e5b (or later) will have the fix. Systems running older kernels that do not contain this patch are susceptible.

Risk and Exploitability

The CVSS score and EPSS metric are not provided, and the vulnerability is not listed in the CISA KEV catalog, so the measured exploitation likelihood is unknown. Nevertheless, the defect allows a legitimate network client to be denied service simply by reusing a TIME_WAIT socket, a scenario that can be targeted by an attacker who forces repeated connection establishment to a server that enforces connlimit. Attackers could use high‑rate SYN re‑use or flooding traffic to trigger the condition. Given the potential for a denial‑of‑service impact on exposed services, the priority for applying a fix should be high.

Generated by OpenCVE AI on August 15, 2026 at 11:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes commit 69894e5b, which removes the faulty early‑confirmation handling.
  • Verify that the nf_conncount and connlimit modules are active and that the connection count behaves normally under load; use a tool such as slowhttptest to confirm that dropped connections no longer occur.
  • If an immediate kernel upgrade is not feasible, consider temporarily disabling connlimit or increasing the limit threshold for critical connections, noting that this reduces the effectiveness of soft‑limiting and could expose the system to resource exhaustion.

Generated by OpenCVE AI on August 15, 2026 at 11:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665
CWE-819

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conncount: prevent connlimit drops for early confirmed ct Commit 69894e5b4c5e ("netfilter: nft_connlimit: update the count if add was skipped") introduced a regression where packets for valid connections are dropped when using connlimit for soft-limiting scenarios. The issue occurs when a new connection reuses a socket currently in the TIME_WAIT state. In this scenario, the connection tracking entry is evaluated as already confirmed. Previously, __nf_conncount_add() assumed that if a connection was confirmed and did not originate from the loopback interface, it should skip the addition and return -EEXIST. Skipping the addition triggers a garbage collection run that cleans up the TIME_WAIT connection. Consequently, the active connection count drops to 0, which xt_connlimit mishandles, leading to the false rejection of the perfectly valid new connection. Fix this by replacing the interface check with protocol-agnostic state checks. We now skip the tree insertion and preserve the lockless garbage collection optimization only if the connection is IPS_ASSURED. This allows early-confirmed setup packets (such as reused TIME_WAIT sockets or locally generated SYN-ACKs) to be properly evaluated and counted without falsely dropping. The goto check_connections path is maintained to ensure these setup packets are deduplicated correctly. This has been tested with slowhttptest and HTTP server configured locally to ensure we are not breaking soft-limiting scenarios for local or external connections. In addition, it was tested with a OVS zone limit too.
Title netfilter: nf_conncount: prevent connlimit drops for early confirmed ct
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-15T05:56:38.374Z

Reserved: 2026-08-09T03:40:39.927Z

Link: CVE-2026-72418

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:15.420

Modified: 2026-08-15T06:22:15.420

Link: CVE-2026-72418

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T11:15:03Z

Weaknesses