{"id":"CVE-2026-72430","aliases":["CVE-2026-72430"],"related":[],"kind":"vulnerability","state":"published","title":"net/sched: act_ct: fix nf_connlabels leak on two error paths","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_ct: fix nf_connlabels leak on two error paths\n\ntcf_ct_fill_params() calls nf_connlabels_get() (setting put_labels) when\nTCA_CT_LABELS is present, but two later error sites use a bare return\ninstead of \"goto err\", skipping the err: nf_connlabels_put() cleanup.\nThey also precede the \"p->put_labels = put_labels\" assignment, so the\ntcf_ct_params_free() fallback does not release the count either. Each\nfailed RTM_NEWACTION on these paths leaks one nf_connlabels reference:\nnet->ct.labels_used is incremented and never released. The action is\nreachable with CAP_NET_ADMIN over the netns, i.e. from an unprivileged\nuser namespace on default-userns kernels.\n\nImpact: an unprivileged user with CAP_NET_ADMIN over a network namespace\n(e.g. via user namespaces) leaks one nf_connlabels reference per failed\nRTM_NEWACTION on the two error paths; net->ct.labels_used is never\nreleased.\n\nThe err: label is safe to reach from both sites: p->tmpl is still NULL\nthere (kzalloc'd, not yet assigned) and nf_ct_put(NULL) is a no-op, so\nno inline release is needed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_ct: fix nf_connlabels leak on two error paths\n\ntcf_ct_fill_params() calls nf_connlabels_get() (setting put_labels) when\nTCA_CT_LABELS is present, but two later error sites use a bare return\ninstead of \"goto err\", skipping the err: nf_connlabels_put() cleanup.\nThey also precede the \"p->put_labels = put_labels\" assignment, so the\ntcf_ct_params_free() fallback does not release the count either. Each\nfailed RTM_NEWACTION on these paths leaks one nf_connlabels reference:\nnet->ct.labels_used is incremented and never released. The action is\nreachable with CAP_NET_ADMIN over the netns, i.e. from an unprivileged\nuser namespace on default-userns kernels.\n\nImpact: an unprivileged user with CAP_NET_ADMIN over a network namespace\n(e.g. via user namespaces) leaks one nf_connlabels reference per failed\nRTM_NEWACTION on the two error paths; net->ct.labels_used is never\nreleased.\n\nThe err: label is safe to reach from both sites: p->tmpl is still NULL\nthere (kzalloc'd, not yet assigned) and nf_ct_put(NULL) is a no-op, so\nno inline release is needed.","source":"cvelist"}],"published":"2026-08-15T05:56:46.178Z","modified":"2026-08-17T06:19:10.357Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"70f06c115bcca26ceeebf938e48bc8143668e38b","fixed":"13b561c893c741635adce3781490a7a1099106c8","status":"affected"},{"type":"git","introduced":"70f06c115bcca26ceeebf938e48bc8143668e38b","fixed":"1d51aff78f078af1a80e9496c2f4643f4c0ef0a0","status":"affected"},{"type":"git","introduced":"70f06c115bcca26ceeebf938e48bc8143668e38b","fixed":"0c3d8fc87e10e38fe054ece009d6d1f66bef2cd4","status":"affected"},{"type":"git","introduced":"70f06c115bcca26ceeebf938e48bc8143668e38b","fixed":"16e088016f38cf728a0de709c3335cc5a3850476","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/13b561c893c741635adce3781490a7a1099106c8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d51aff78f078af1a80e9496c2f4643f4c0ef0a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c3d8fc87e10e38fe054ece009d6d1f66bef2cd4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16e088016f38cf728a0de709c3335cc5a3850476","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72430","url":"https://www.cve.org/CVERecord?id=CVE-2026-72430","licence":"CVE Terms of Use","modified":"2026-08-17T05:14:29.962Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72430","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72430","licence":"Public domain","modified":"2026-08-17T06:19:10.357Z"}],"updatedAt":"2026-11-25T22:59:33.120Z","epss":{"score":0.002,"percentile":0.10387,"date":"2026-12-01T12:00:22.000Z"}}