# CVE-2025-39764: netfilter: ctnetlink: remove refcounting in expectation dumpers

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-02)
- Published: 2025-09-11T16:52:32.060Z
- Modified: 2026-11-10T13:17:50.203Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from cf6994c2b9812a9f02b99e89df411ffc5db9c779 before b05500444b8eb97644efdd180839a04a706be97c; from cf6994c2b9812a9f02b99e89df411ffc5db9c779 before bada48ad5b0590e318d0f79636ff62a2ef9f4955; from cf6994c2b9812a9f02b99e89df411ffc5db9c779 before 64b7684042246e3238464c66894e30ba30c7e851; from cf6994c2b9812a9f02b99e89df411ffc5db9c779 before 9e5021a906532ca16e2aac69c0607711e1c70b1f; from cf6994c2b9812a9f02b99e89df411ffc5db9c779 before 078d33c95bf534d37aa04269d1ae6158e20082d5; from cf6994c2b9812a9f02b99e89df411ffc5db9c779 before a4d634ded4d3d400f115d84f654f316f249531c9; from cf6994c2b9812a9f02b99e89df411ffc5db9c779 before 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a; 2.6.23 (not affected: before 2.6.23; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.167 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.78 up to 6.12.*; from 6.16.2 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 2.6.23 before 6.16.2; 6.17

## References

- <https://git.kernel.org/stable/c/b05500444b8eb97644efdd180839a04a706be97c>
- <https://git.kernel.org/stable/c/bada48ad5b0590e318d0f79636ff62a2ef9f4955>
- <https://git.kernel.org/stable/c/64b7684042246e3238464c66894e30ba30c7e851>
- <https://git.kernel.org/stable/c/9e5021a906532ca16e2aac69c0607711e1c70b1f>
- <https://git.kernel.org/stable/c/078d33c95bf534d37aa04269d1ae6158e20082d5>
- <https://git.kernel.org/stable/c/a4d634ded4d3d400f115d84f654f316f249531c9> (patch)
- <https://git.kernel.org/stable/c/1492e3dcb2be3aa46d1963da96aa9593e4e4db5a> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2025-39764](https://www.cve.org/CVERecord?id=CVE-2025-39764), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2025-39764](https://nvd.nist.gov/vuln/detail/CVE-2025-39764), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2025-39764 · Whole record: https://cve.day/CVE-2025-39764.json · Rebuilt by cve.day 2026-11-25T22:59:04.554Z
