Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: ctnetlink: remove refcounting in expectation dumpers 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.
Product status
cf6994c2b9812a9f02b99e89df411ffc5db9c779 (git) before a4d634ded4d3d400f115d84f654f316f249531c9
cf6994c2b9812a9f02b99e89df411ffc5db9c779 (git) before 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a
2.6.23
Any version before 2.6.23
6.16.2 (semver)
6.17 (original_commit_for_fix)
References
git.kernel.org/...c/a4d634ded4d3d400f115d84f654f316f249531c9
git.kernel.org/...c/1492e3dcb2be3aa46d1963da96aa9593e4e4db5a