CVE-2025-39764
netfilter: ctnetlink: remove refcounting in expectation dumpers
Mitigation
- Upgrade Linux to 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a or later.
Who should check
- Anyone running Linux >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < b05500444b8eb97644efdd180839a04a706be97c; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < bada48ad5b0590e318d0f79636ff62a2ef9f4955; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 64b7684042246e3238464c66894e30ba30c7e851; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 9e5021a906532ca16e2aac69c0607711e1c70b1f; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 078d33c95bf534d37aa04269d1ae6158e20082d5; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < a4d634ded4d3d400f115d84f654f316f249531c9; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a
- Anyone running Linux 2.6.23
Vulnerability facts
- Affected
- Linux >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < b05500444b8eb97644efdd180839a04a706be97c; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < bada48ad5b0590e318d0f79636ff62a2ef9f4955; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 64b7684042246e3238464c66894e30ba30c7e851; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 9e5021a906532ca16e2aac69c0607711e1c70b1f; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 078d33c95bf534d37aa04269d1ae6158e20082d5; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < a4d634ded4d3d400f115d84f654f316f249531c9; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a; Linux 2.6.23
- Fixed in
- Linux 64b7684042246e3238464c66894e30ba30c7e851, Linux 9e5021a906532ca16e2aac69c0607711e1c70b1f, Linux 078d33c95bf534d37aa04269d1ae6158e20082d5, Linux 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < b05500444b8eb97644efdd180839a04a706be97c; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < bada48ad5b0590e318d0f79636ff62a2ef9f4955; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 64b7684042246e3238464c66894e30ba30c7e851; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 9e5021a906532ca16e2aac69c0607711e1c70b1f; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 078d33c95bf534d37aa04269d1ae6158e20082d5; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < a4d634ded4d3d400f115d84f654f316f249531c9; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a | — | cvelist |
| Linux | 2.6.23 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-39764. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-39764.md Affected: Linux >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < b05500444b8eb97644efdd180839a04a706be97c; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < bada48ad5b0590e318d0f79636ff62a2ef9f4955; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 64b7684042246e3238464c66894e30ba30c7e851; >= cf6994c2b9812a9f02b99e8… Fixed in: Linux 64b7684042246e3238464c66894e30ba30c7e851, Linux 9e5021a906532ca16e2aac69c0607711e1c70b1f, Linux 078d33c95bf534d37aa04269d1ae6158e20082d5, Linux 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
Other
- 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://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
FAQ
Is CVE-2025-39764 being exploited?
There is no confirmed exploitation: CVE-2025-39764 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-39764?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-39764?
Linux >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < b05500444b8eb97644efdd180839a04a706be97c; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < bada48ad5b0590e318d0f79636ff62a2ef9f4955; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 64b7684042246e3238464c66894e30ba30c7e851; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 9e5021a906532ca16e2aac69c0607711e1c70b1f; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 078d33c95bf534d37aa04269d1ae6158e20082d5; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < a4d634ded4d3d400f115d84f654f316f249531c9; >= cf6994c2b9812a9f02b99e89df411ffc5db9c779, < 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a; Linux 2.6.23.
Is there a fix for CVE-2025-39764?
Yes. Fixed in Linux 64b7684042246e3238464c66894e30ba30c7e851, Linux 9e5021a906532ca16e2aac69c0607711e1c70b1f, Linux 078d33c95bf534d37aa04269d1ae6158e20082d5, Linux 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a. Upgrade Linux to 1492e3dcb2be3aa46d1963da96aa9593e4e4db5a or later.
How do I check if I'm affected by CVE-2025-39764?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.