CVE-2025-39764

Source
https://cve.org/CVERecord?id=CVE-2025-39764
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39764.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-39764
Downstream
Related
Published
2025-09-11T16:52:32.060Z
Modified
2026-03-12T02:18:52.124876Z
Summary
netfilter: ctnetlink: remove refcounting in expectation dumpers
Details

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 (!refcountincnot_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39764.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
cf6994c2b9812a9f02b99e89df411ffc5db9c779
Fixed
a4d634ded4d3d400f115d84f654f316f249531c9
Fixed
1492e3dcb2be3aa46d1963da96aa9593e4e4db5a

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39764.json"