CVE-2025-38721: netfilter: ctnetlink: fix refcount leak on table dump
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.17% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 19b909a4b1452fb97e477d2f08b97f8d04095619, 30cf811058552b8cd0e98dff677ef3f89d6d34ce, 41462f4cfc583513833f87f9ee55d12da651a7e3; azl3 kernel 6.6.96.2-2 on Azure Linux 3.0 6.6.104.2-1; cbl2 kernel 5.15.186.1-1 on CBL Mariner 2.0 5.15.200.1-1.
Low priority for now. Upgrade to Linux Linux 19b909a4b1452fb97e477d2f08b97f8d04095619, 30cf811058552b8cd0e98dff677ef3f89d6d34ce, 41462f4cfc583513833f87f9ee55d12da651a7e3; azl3 kernel 6.6.96.2-2 on Azure Linux 3.0 6.6.104.2-1; cbl2 kernel 5.15.186.1-1 on CBL Mariner 2.0 5.15.200.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: netfilter: ctnetlink: fix refcount leak on table dump There is a reference count leak in ctnetlink_dump_table(): if (res < 0) { nf_conntrack_get(&ct->ct_general); // HERE cb->args[1] = (unsigned long)ct; ... While its very unlikely, its possible that ct == last. If this happens, then the refcount of ct was already incremented. This 2nd increment is never undone. This prevents the conntrack object from being released, which in turn keeps prevents cnet->count from dropping back to 0. This will then block the netns dismantle (or conntrack rmmod) as nf_conntrack_cleanup_net_list() will wait forever. This can be reproduced by running conntrack_resize.sh selftest in a loop. It takes ~20 minutes for me on a preemptible kernel on average before I see a runaway kworker spinning in nf_conntrack_cleanup_net_list. One fix would to change this to: if (res < 0) { if (ct != last) nf_conntrack_get(&ct->ct_general); But this reference counting isn't needed in the first place. We can just store a cookie value instead. A followup patch will do the same for ctnetlink_exp_dump_table, it looks to me as if this has the same problem and like ctnetlink_dump_table, we only need a 'skip hint', not the actual object so we can apply the same cookie strategy there as well.
- Published
- Sep 4, 2025
- Updated
- Nov 10, 2026
- EPSS
- 0.1% · 7th percentile
- CWE
- —
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.18affected
- d205dc40798d97d63ad348bfaf7394f445d152d4 and later · before 586892e341fbf698e7cbaca293e1353957db725aaffected · git
- d205dc40798d97d63ad348bfaf7394f445d152d4 and later · before 962518c6ca9f9a13df099cafa429f72f68ad61f0affected · git
- d205dc40798d97d63ad348bfaf7394f445d152d4 and later · before 19b909a4b1452fb97e477d2f08b97f8d04095619affected · git
- d205dc40798d97d63ad348bfaf7394f445d152d4 and later · before 41462f4cfc583513833f87f9ee55d12da651a7e3affected · git
- d205dc40798d97d63ad348bfaf7394f445d152d4 and later · before 30cf811058552b8cd0e98dff677ef3f89d6d34ceaffected · git
- d205dc40798d97d63ad348bfaf7394f445d152d4 and later · before a2cb4df7872de069f809de2f076ec8e54d649fe3affected · git
- d205dc40798d97d63ad348bfaf7394f445d152d4 and later · before e14f72aa66c029db106921d621edcedef68e065baffected · git
- d205dc40798d97d63ad348bfaf7394f445d152d4 and later · before a62d6aa3f31f216b637a4c71b7a8bfc7c57f049baffected · git
- d205dc40798d97d63ad348bfaf7394f445d152d4 and later · before de788b2e6227462b6dcd0e07474e72c089008f74affected · git
Affected versions · NVD (11)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux11.0
- linux linux kernel5.5 and later · before 5.10.241
- linux linux kernel5.11 and later · before 5.15.190
- linux linux kernel5.16 and later · before 6.1.149
- linux linux kernel6.2 and later · before 6.6.103
- linux linux kernel2.6.19 and later · before 5.4.297
- linux linux kernel6.13 and later · before 6.15.11
- linux linux kernel6.16 and later · before 6.16.2
- linux linux kernel6.7 and later · before 6.12.43
- linux linux kernel2.6.18
- linux linux kernel6.17
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.153-1 | 6.1.153-1 |
| Debian:13 | linux | before 6.12.43-1 | 6.12.43-1 |
| Debian:14 | linux | before 6.16.3-1 | 6.16.3-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2025-38719Sep 4, 2025 · net: hibmcge: fix the division by zero issue22Monitor
- ← EarlierCVE-2025-38720Sep 4, 2025 · net: hibmcge: fix rtnl deadlock issue22Monitor
- Later →CVE-2025-38722Sep 4, 2025 · habanalabs: fix UAF in export_dmabuf()31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 19b909a4b1452fb97e477d2f08b97f8d04095619 | Vendor (CNA) |
| Linux Linux | 30cf811058552b8cd0e98dff677ef3f89d6d34ce | Vendor (CNA) |
| Linux Linux | 41462f4cfc583513833f87f9ee55d12da651a7e3 | Vendor (CNA) |
| Linux Linux | 586892e341fbf698e7cbaca293e1353957db725a | Vendor (CNA) |
| Linux Linux | 962518c6ca9f9a13df099cafa429f72f68ad61f0 | Vendor (CNA) |
| Linux Linux | a2cb4df7872de069f809de2f076ec8e54d649fe3 | Vendor (CNA) |
| Linux Linux | a62d6aa3f31f216b637a4c71b7a8bfc7c57f049b | Vendor (CNA) |
| Linux Linux | de788b2e6227462b6dcd0e07474e72c089008f74 | Vendor (CNA) |
| Linux Linux | e14f72aa66c029db106921d621edcedef68e065b | Vendor (CNA) |
| azl3 kernel 6.6.96.2-2 on Azure Linux 3.0 | 6.6.104.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.186.1-1 on CBL Mariner 2.0 | 5.15.200.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.153-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (2)
- SSVC exploitation— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (14 more)Show less
- git.kernel.org/stable/c/30cf811058552b8cd0e98dff677ef3f89d6d34ce
- git.kernel.org/stable/c/41462f4cfc583513833f87f9ee55d12da651a7e3
- git.kernel.org/stable/c/586892e341fbf698e7cbaca293e1353957db725a
- git.kernel.org/stable/c/962518c6ca9f9a13df099cafa429f72f68ad61f0
- git.kernel.org/stable/c/a2cb4df7872de069f809de2f076ec8e54d649fe3
- git.kernel.org/stable/c/a62d6aa3f31f216b637a4c71b7a8bfc7c57f049b
- git.kernel.org/stable/c/de788b2e6227462b6dcd0e07474e72c089008f74
- git.kernel.org/stable/c/e14f72aa66c029db106921d621edcedef68e065b
- lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- cert-portal.siemens.com/productcert/html/ssa-019113.html
- cert-portal.siemens.com/productcert/html/ssa-032379.html
- cert-portal.siemens.com/productcert/html/ssa-082556.html
- cert-portal.siemens.com/productcert/html/ssa-457936.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.