Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-39764

netfilter: ctnetlink: remove refcounting in expectation dumpers

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to < b05500444b8eb97644efdd180839a04a706be97caffected
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to < bada48ad5b0590e318d0f79636ff62a2ef9f4955affected
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to < 64b7684042246e3238464c66894e30ba30c7e851affected
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to < 9e5021a906532ca16e2aac69c0607711e1c70b1faffected
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to < 078d33c95bf534d37aa04269d1ae6158e20082d5affected
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to < a4d634ded4d3d400f115d84f654f316f249531c9affected
  • cf6994c2b9812a9f02b99e89df411ffc5db9c779 to < 1492e3dcb2be3aa46d1963da96aa9593e4e4db5aaffected

Linux Linux

Default version status: affected

  • 2.6.23affected
  • 0 to < 2.6.23unaffected
  • 5.10.253 to ≤ 5.10.*unaffected
  • 5.15.203 to ≤ 5.15.*unaffected
  • 6.1.167 to ≤ 6.1.*unaffected
  • 6.6.130 to ≤ 6.6.*unaffected
  • 6.12.78 to ≤ 6.12.*unaffected
  • 6.16.2 to ≤ 6.16.*unaffected
  • 6.17 to ≤ *unaffected

References