CVE-2025-39764

netfilter: ctnetlink: remove refcounting in expectation dumpers

State
Published
Severity
Not scored
Published
Sep 11, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to before b05500444b8eb97644efdd180839a04a706be97cAffected
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to before bada48ad5b0590e318d0f79636ff62a2ef9f4955Affected
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to before 64b7684042246e3238464c66894e30ba30c7e851Affected
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to before 9e5021a906532ca16e2aac69c0607711e1c70b1fAffected
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to before 078d33c95bf534d37aa04269d1ae6158e20082d5Affected
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to before a4d634ded4d3d400f115d84f654f316f249531c9Affected
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to before 1492e3dcb2be3aa46d1963da96aa9593e4e4db5aAffected
LinuxLinux
  • 2.6.23Affected
  • before 2.6.23Not affected
  • 5.10.253 through 5.10.*Not affected
  • 5.15.203 through 5.15.*Not affected
  • 6.1.167 through 6.1.*Not affected
  • 6.6.130 through 6.6.*Not affected
  • 6.12.78 through 6.12.*Not affected
  • 6.16.2 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.