{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-38721","published":"2025-09-04T16:15:41.843000Z","last_modified":"2026-11-10T13:17:48.013000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":[],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"2.6.19","version_end_excluding":"5.4.297"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.241"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.190"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"6.1.149"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.2","version_end_excluding":"6.6.103"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.43"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.15.11"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.16","version_end_excluding":"6.16.2"},{"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.18:-:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"2.6.18"},{"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.18:rc5:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"2.6.18"},{"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.18:rc6:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"2.6.18"},{"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.18:rc7:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"2.6.18"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.17"},{"criteria":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"11.0"}],"cpes_truncated":false,"vendors":["linux","debian"],"products":["linux/linux_kernel","debian/debian_linux"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2025-38721/","html_en":"/en/cve/CVE-2025-38721/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-38721","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-38721"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ctnetlink: fix refcount leak on table dump\n\nThere is a reference count leak in ctnetlink_dump_table():\n      if (res < 0) {\n                nf_conntrack_get(&ct->ct_general); // HERE\n                cb->args[1] = (unsigned long)ct;\n                ...\n\nWhile its very unlikely, its possible that ct == last.\nIf this happens, then the refcount of ct was already incremented.\nThis 2nd increment is never undone.\n\nThis prevents the conntrack object from being released, which in turn\nkeeps prevents cnet->count from dropping back to 0.\n\nThis will then block the netns dismantle (or conntrack rmmod) as\nnf_conntrack_cleanup_net_list() will wait forever.\n\nThis can be reproduced by running conntrack_resize.sh selftest in a loop.\nIt takes ~20 minutes for me on a preemptible kernel on average before\nI see a runaway kworker spinning in nf_conntrack_cleanup_net_list.\n\nOne fix would to change this to:\n        if (res < 0) {\n\t\tif (ct != last)\n\t                nf_conntrack_get(&ct->ct_general);\n\nBut this reference counting isn't needed in the first place.\nWe can just store a cookie value instead.\n\nA followup patch will do the same for ctnetlink_exp_dump_table,\nit looks to me as if this has the same problem and like\nctnetlink_dump_table, we only need a 'skip hint', not the actual\nobject so we can apply the same cookie strategy there as well.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC CN 4100","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/19b909a4b1452fb97e477d2f08b97f8d04095619","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/30cf811058552b8cd0e98dff677ef3f89d6d34ce","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/41462f4cfc583513833f87f9ee55d12da651a7e3","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/586892e341fbf698e7cbaca293e1353957db725a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/962518c6ca9f9a13df099cafa429f72f68ad61f0","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a2cb4df7872de069f809de2f076ec8e54d649fe3","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a62d6aa3f31f216b637a4c71b7a8bfc7c57f049b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/de788b2e6227462b6dcd0e07474e72c089008f74","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e14f72aa66c029db106921d621edcedef68e065b","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}]},"bulletins":[{"source":"siemens","id":"SSA-457936","url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","published":"2026-10-13T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.7"}},{"source":"siemens","id":"SSA-019113","url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","published":"2026-07-14T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.6"}},{"source":"siemens","id":"SSA-032379","url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","published":"2026-05-12T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Multiple Vulnerabilities in SIMATIC CN 4100 Before V5.0"}}]}