{"id":"CVE-2025-39764","aliases":["CVE-2025-39764"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: ctnetlink: remove refcounting in expectation dumpers","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ctnetlink: remove refcounting in expectation dumpers\n\nSame pattern as previous patch: do not keep the expectation object\nalive via refcount, only store a cookie value and then use that\nas the skip hint for dump resumption.\n\nAFAICS this has the same issue as the one resolved in the conntrack\ndumper, when we do\n  if (!refcount_inc_not_zero(&exp->use))\n\nto increment the refcount, there is a chance that exp == last, which\ncauses a double-increment of the refcount and subsequent memory leak.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ctnetlink: remove refcounting in expectation dumpers\n\nSame pattern as previous patch: do not keep the expectation object\nalive via refcount, only store a cookie value and then use that\nas the skip hint for dump resumption.\n\nAFAICS this has the same issue as the one resolved in the conntrack\ndumper, when we do\n  if (!refcount_inc_not_zero(&exp->use))\n\nto increment the refcount, there is a chance that exp == last, which\ncauses a double-increment of the refcount and subsequent memory leak.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnetfilter: ctnetlink: eliminar el conteo de referencias en los volcadores de expectativas\n\nMismo patrón que el parche anterior: no mantener el objeto de expectativa vivo mediante el conteo de referencias, solo almacenar un valor de cookie y luego usar eso como la pista de omisión para la reanudación del volcado.\n\nPor lo que puedo ver, esto tiene el mismo problema que el resuelto en el volcador de conntrack, cuando hacemos\nif (!refcount_inc_not_zero(&exp->use))\n\npara incrementar el conteo de referencias, existe la posibilidad de que exp == last, lo que causa un doble incremento del conteo de referencias y una fuga de memoria posterior.","source":"nvd"}],"published":"2025-09-11T16:52:32.060Z","modified":"2026-11-10T13:17:50.203Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"cf6994c2b9812a9f02b99e89df411ffc5db9c779","fixed":"b05500444b8eb97644efdd180839a04a706be97c","status":"affected"},{"type":"git","introduced":"cf6994c2b9812a9f02b99e89df411ffc5db9c779","fixed":"bada48ad5b0590e318d0f79636ff62a2ef9f4955","status":"affected"},{"type":"git","introduced":"cf6994c2b9812a9f02b99e89df411ffc5db9c779","fixed":"64b7684042246e3238464c66894e30ba30c7e851","status":"affected"},{"type":"git","introduced":"cf6994c2b9812a9f02b99e89df411ffc5db9c779","fixed":"9e5021a906532ca16e2aac69c0607711e1c70b1f","status":"affected"},{"type":"git","introduced":"cf6994c2b9812a9f02b99e89df411ffc5db9c779","fixed":"078d33c95bf534d37aa04269d1ae6158e20082d5","status":"affected"},{"type":"git","introduced":"cf6994c2b9812a9f02b99e89df411ffc5db9c779","fixed":"a4d634ded4d3d400f115d84f654f316f249531c9","status":"affected"},{"type":"git","introduced":"cf6994c2b9812a9f02b99e89df411ffc5db9c779","fixed":"1492e3dcb2be3aa46d1963da96aa9593e4e4db5a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.23","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.23","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.2","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.23","fixed":"6.16.2"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b05500444b8eb97644efdd180839a04a706be97c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bada48ad5b0590e318d0f79636ff62a2ef9f4955","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/64b7684042246e3238464c66894e30ba30c7e851","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9e5021a906532ca16e2aac69c0607711e1c70b1f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/078d33c95bf534d37aa04269d1ae6158e20082d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4d634ded4d3d400f115d84f654f316f249531c9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1492e3dcb2be3aa46d1963da96aa9593e4e4db5a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:11:08.345Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39764","url":"https://www.cve.org/CVERecord?id=CVE-2025-39764","licence":"CVE Terms of Use","modified":"2026-11-10T12:36:55.737Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39764","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39764","licence":"Public domain","modified":"2026-11-10T13:17:50.203Z"}],"updatedAt":"2026-11-25T22:59:04.554Z","epss":{"score":0.00235,"percentile":0.15419,"date":"2026-12-02T12:00:21.000Z"}}