{"id":"CVE-2025-39764","summary":"netfilter: ctnetlink: remove refcounting in expectation dumpers","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ctnetlink: remove refcounting in expectation dumpers\n\nSame pattern as previous patch: do not keep the expectation object\nalive via refcount, only store a cookie value and then use that\nas the skip hint for dump resumption.\n\nAFAICS this has the same issue as the one resolved in the conntrack\ndumper, when we do\n  if (!refcount_inc_not_zero(&exp-\u003euse))\n\nto increment the refcount, there is a chance that exp == last, which\ncauses a double-increment of the refcount and subsequent memory leak.","modified":"2026-03-26T04:18:19.459609Z","published":"2025-09-11T16:52:32.060Z","related":["CGA-7888-pmfp-r5xj","SUSE-SU-2025:03600-1","SUSE-SU-2025:03601-1","SUSE-SU-2025:03614-1","SUSE-SU-2025:03633-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2025:3725-1","SUSE-SU-2025:3751-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39764.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/078d33c95bf534d37aa04269d1ae6158e20082d5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1492e3dcb2be3aa46d1963da96aa9593e4e4db5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/64b7684042246e3238464c66894e30ba30c7e851"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9e5021a906532ca16e2aac69c0607711e1c70b1f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4d634ded4d3d400f115d84f654f316f249531c9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39764.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39764"},{"type":"PACKAGE","url":"https://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":"64b7684042246e3238464c66894e30ba30c7e851"},{"fixed":"9e5021a906532ca16e2aac69c0607711e1c70b1f"},{"fixed":"078d33c95bf534d37aa04269d1ae6158e20082d5"},{"fixed":"a4d634ded4d3d400f115d84f654f316f249531c9"},{"fixed":"1492e3dcb2be3aa46d1963da96aa9593e4e4db5a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39764.json"}}],"schema_version":"1.7.5"}