CVE-2025-39764

netfilter: ctnetlink: remove refcounting in expectation dumpers

No CVSS score yet EPSS 0.22%

Published 11 Sep 2025 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2025-39764

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39764 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.5% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from cf6994c2b9812a9f02b99e89df411ffc5db9c779, before b05500444b8eb97644efdd180839a04a706be97c
affected from cf6994c2b9812a9f02b99e89df411ffc5db9c779, before bada48ad5b0590e318d0f79636ff62a2ef9f4955
affected from cf6994c2b9812a9f02b99e89df411ffc5db9c779, before 64b7684042246e3238464c66894e30ba30c7e851
affected from cf6994c2b9812a9f02b99e89df411ffc5db9c779, before 9e5021a906532ca16e2aac69c0607711e1c70b1f
affected from cf6994c2b9812a9f02b99e89df411ffc5db9c779, before 078d33c95bf534d37aa04269d1ae6158e20082d5
affected from cf6994c2b9812a9f02b99e89df411ffc5db9c779, before a4d634ded4d3d400f115d84f654f316f249531c9
affected from cf6994c2b9812a9f02b99e89df411ffc5db9c779, before 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a
Other versions: unaffected
Linux
affected 2.6.23
unaffected before 2.6.23
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.167 up to and including 6.1.*
unaffected from 6.6.130 up to and including 6.6.*
unaffected from 6.12.78 up to and including 6.12.*
unaffected from 6.16.2 up to and including 6.16.*
unaffected 6.17 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39764 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39764

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-39764
trivy image --scanners vuln IMAGE | grep CVE-2025-39764

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-39764 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.