CVE-2023-53200
publishednetfilter: x_tables: fix percpu counter block leak on error path when creating new netns
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux71ae0dff02d756e4d2ca710b79f2ff5390029a5f to < e306dbee4c98025a9326386023a12ef4d887e9d1 · 71ae0dff02d756e4d2ca710b79f2ff5390029a5f to < 512b6c4b83c91d007301ea7d7f095d16c3aceacd · 71ae0dff02d756e4d2ca710b79f2ff5390029a5f to < 3cc9610a87b7dde82f7360dd4eb6c2c27940ed57 · 71ae0dff02d756e4d2ca710b79f2ff5390029a5f to < 0af8c09c896810879387decfba8c942994bb61f5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.2 (affected) · 0 to < 4.2 (unaffected · semver) · 5.15.100 through 5.15.* (unaffected · semver) · 6.1.18 through 6.1.* (unaffected · semver) · 6.2.5 through 6.2.* (unaffected · semver) · 6.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2023-015 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-138 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-015 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-015 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-015 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-015 |
| Amazon Linux | AL2023 | kernelaarch64 | Listed in advisory | Not stated | ALAS2023-2023-138 |
| Amazon Linux | AL2023 | kernelsrc | Listed in advisory | Not stated | ALAS2023-2023-138 |
| Amazon Linux | AL2023 | kernelx86_64 | Listed in advisory | Not stated | ALAS2023-2023-138 |
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: x_tables: fix percpu counter block leak on error path when creating new netns Here is the stack where we allocate percpu counter block: +-< __alloc_percpu +-< xt_percpu_counter_alloc +-< find_check_entry # {arp,ip,ip6}_tables.c +-< translate_table And it can be leaked on this code path: +-> ip6t_register_table +-> translate_table # allocates percpu counter block +-> xt_register_table # fails there is no freeing of the counter block on xt_register_table fail. Note: xt_percpu_counter_free should be called to free it like we do in do_replace through cleanup_entry helper (or in __ip6t_unregister_table). Probability of hitting this error path is low AFAICS (xt_register_table can only return ENOMEM here, as it is not replacing anything, as we are creating new netns, and it is hard to imagine that all previous allocations succeeded and after that one in xt_register_table failed). But it's worth fixing even the rare leak.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 71ae0dff02d756e4d2ca710b79f2ff5390029a5f to < e306dbee4c98025a9326386023a12ef4d887e9d1 (affected · git)71ae0dff02d756e4d2ca710b79f2ff5390029a5f to < 512b6c4b83c91d007301ea7d7f095d16c3aceacd (affected · git)71ae0dff02d756e4d2ca710b79f2ff5390029a5f to < 3cc9610a87b7dde82f7360dd4eb6c2c27940ed57 (affected · git)71ae0dff02d756e4d2ca710b79f2ff5390029a5f to < 0af8c09c896810879387decfba8c942994bb61f5 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.2 (affected)0 to < 4.2 (unaffected · semver)5.15.100 through 5.15.* (unaffected · semver)6.1.18 through 6.1.* (unaffected · semver)6.2.5 through 6.2.* (unaffected · semver)6.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
2Linux · cna
netfilter: x_tables: fix percpu counter block leak on error path when creating new netns
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c9b5a5b80ac13213c72f195256670f7f287e03564ea8f6941f429f8d72efad46
- Ingested
- 07 Nov 2026, 23:13:46 UTC
- Source record
- Official CVE record