Back

MEDIUM

netfilter: ctnetlink: remove refcounting in expectation dumpers

Published Sep 11, 2025

Description

Same pattern as previous patch: do not keep the expectation object alive via refcount, only store a cookie value and then use that as the skip hint for dump resumption.

AFAICS this has the same issue as the one resolved in the conntrack dumper, when we do if (!refcount_inc_not_zero(&exp->use))

to increment the refcount, there is a chance that exp == last, which causes a double-increment of the refcount and subsequent memory leak.

Affected products

Remediation

Red Hat mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Weaknesses (1)

References (15)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Linux
Published Sep 11, 2025
Updated Sep 8, 2026
Reserved Apr 16, 2025
NVD
Status Modified
Modified Jul 14, 2026
Red Hat
Severity Moderate
Public date Sep 11, 2025
ENISA EUVD
Assigner Linux
Published Sep 11, 2025
Updated Sep 8, 2026
Exploited since n/a
EUVD-2025-28948