CVE-2025-39764

netfilter: ctnetlink: remove refcounting in expectation dumpers

At a glance

Severity
Not available
EPSS
EPSS 0.17 % · percentile 7 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
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.

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected cf6994c2b9812a9f02b99e89df411ffc5db9c779 < b05500444b8eb97644efdd180839a04a706be97c ; affected cf6994c2b9812a9f02b99e89df411ffc5db9c779 < bada48ad5b0590e318d0f79636ff62a2ef9f4955 ; affected cf6994c2b9812a9f02b99e89df411ffc5db9c779 < 64b7684042246e3238464c66894e30ba30c7e851 ; affected cf6994c2b9812a9f02b99e89df411ffc5db9c779 < 9e5021a906532ca16e2aac69c0607711e1c70b1f ; affected cf6994c2b9812a9f02b99e89df411ffc5db9c779 < 078d33c95bf534d37aa04269d1ae6158e20082d5 ; affected cf6994c2b9812a9f02b99e89df411ffc5db9c779 < a4d634ded4d3d400f115d84f654f316f249531c9
Linux · Linuxaffected 2.6.23 ; unaffected 0 < 2.6.23 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.167 ≤ 6.1.* ; unaffected 6.6.130 ≤ 6.6.*

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD