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

net/sched: act_ct: fix nf_connlabels leak on two error paths

tcf_ct_fill_params() calls nf_connlabels_get() (setting put_labels) when
TCA_CT_LABELS is present, but two later error sites use a bare return
instead of "goto err", skipping the err: nf_connlabels_put() cleanup.
They also precede the "p->put_labels = put_labels" assignment, so the
tcf_ct_params_free() fallback does not release the count either. Each
failed RTM_NEWACTION on these paths leaks one nf_connlabels reference:
net->ct.labels_used is incremented and never released. The action is
reachable with CAP_NET_ADMIN over the netns, i.e. from an unprivileged
user namespace on default-userns kernels.

Impact: an unprivileged user with CAP_NET_ADMIN over a network namespace
(e.g. via user namespaces) leaks one nf_connlabels reference per failed
RTM_NEWACTION on the two error paths; net->ct.labels_used is never
released.

The err: label is safe to reach from both sites: p->tmpl is still NULL
there (kzalloc'd, not yet assigned) and nf_ct_put(NULL) is a no-op, so
no inline release is needed.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel's traffic‑control subsystem, the act_ct helper contains two error paths where the cleanup for nf_connlabels reference counts is omitted. This is a resource‑leak weakness (CWE-772). When RTM_NEWACTION with TCA_CT_LABELS fails, the driver increments net->ct.labels_used but never decrements it, causing a persistent reference count leak. The result is a gradual build‑up of unused nf_connlabels objects which can exhaust kernel resources and degrade network tracking capabilities.

Affected Systems

The flaw exists in every Linux kernel that implements the act_ct module before the commit that added the missing error‑path cleanup. The affected product is the Linux kernel itself; no specific sub‑version was listed in the advisory, so all kernels prior to the patch are considered vulnerable. The fault can be triggered by any code with CAP_NET_ADMIN permission on a network namespace, including user namespaces on kernels that allow default‑userns.

Risk and Exploitability

The vulnerability requires CAP_NET_ADMIN privileges within a network namespace, which an unprivileged user can obtain via a user namespace. The flaw is a moderate‑severity resource‑leak with a CVSS score of 5.5; its exploitation can lead to denial‑of‑service by exhausting nf_conntrack label objects. The EPSS score is below 1% and the vulnerability is not listed in CISA's KEV catalog, indicating that it is not currently widely exploited. The risk remains moderate, and the exploitability depends on obtaining CAP_NET_ADMIN within the target namespace.

Generated by OpenCVE AI on August 18, 2026 at 04:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a revision that includes the act_ct reference‑count cleanup (any release after the commit that applied the patch).
  • Restrict CAP_NET_ADMIN to trusted users or disable user namespaces if they are not required.
  • Monitor kernel resource usage for nf_conntrack objects and investigate any abnormal growth.

Generated by OpenCVE AI on August 18, 2026 at 04:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


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

Type Values Removed Values Added
Weaknesses CWE-399

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net/sched: act_ct: fix nf_connlabels leak on two error paths tcf_ct_fill_params() calls nf_connlabels_get() (setting put_labels) when TCA_CT_LABELS is present, but two later error sites use a bare return instead of "goto err", skipping the err: nf_connlabels_put() cleanup. They also precede the "p->put_labels = put_labels" assignment, so the tcf_ct_params_free() fallback does not release the count either. Each failed RTM_NEWACTION on these paths leaks one nf_connlabels reference: net->ct.labels_used is incremented and never released. The action is reachable with CAP_NET_ADMIN over the netns, i.e. from an unprivileged user namespace on default-userns kernels. Impact: an unprivileged user with CAP_NET_ADMIN over a network namespace (e.g. via user namespaces) leaks one nf_connlabels reference per failed RTM_NEWACTION on the two error paths; net->ct.labels_used is never released. The err: label is safe to reach from both sites: p->tmpl is still NULL there (kzalloc'd, not yet assigned) and nf_ct_put(NULL) is a no-op, so no inline release is needed.
Title net/sched: act_ct: fix nf_connlabels leak on two error paths
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-17T05:14:29.962Z

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

Link: CVE-2026-72430

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-08-17T06:19:10.357

Link: CVE-2026-72430

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72430 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T04:30:06Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime