netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
Published Apr 28, 2024
5.5
MEDIUMCVSS 3.1
EPSS 0.23%
Description
syzbot is reporting underflow of nft_counters_enabled counter at nf_tables_addchain() [1], for commit 43eb8949cfdffa76 ("netfilter: nf_tables: do not leave chain stats enabled on error") missed that nf_tables_chain_destroy() after nft_basechain_init() in the error path of nf_tables_addchain() decrements the counter because nft_basechain_init() makes nft_is_base_chain() return true by setting NFT_CHAIN_BASE flag.
Increment the counter immediately after returning from nft_basechain_init().
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 5.10.140StatusaffectedConstraints<5.10.146
- Version 5.15.64StatusaffectedConstraints<5.15.71
- Version 5.19.6StatusaffectedConstraints<5.19.12
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 5.10.140 · < 5.10.146
- ≥ 5.15.64 · < 5.15.71
- ≥ 5.19.6 · < 5.19.12
- 6.0
- 6.0
- 6.0
- 6.0
No data.
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Out of support scope
Red Hat Enterprise Linux 8
kernel
Affected
Red Hat Enterprise Linux 8
kernel-rt
Affected
Red Hat Enterprise Linux 9
kernel
Affected
Red Hat Enterprise Linux 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Jun 17, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2024–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (5 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.23% (0.00232) | 12.75th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.23% (0.00232) | 13.82th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.12% (0.00123) | 29.05th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00045) | 17.70th | v3 (v2023.03.01) |
| Apr 29, 2024 | 0.04% (0.00045) | 14.19th | v3 (v2023.03.01) |
References (9)
- https://access.redhat.com/security/cve/CVE-2022-48643 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2277820 Issue Tracking
- https://git.kernel.org/stable/c/710e3f526bd23a0d33435dedc52c3144de284378 Patch
- https://git.kernel.org/stable/c/8bcad2a931313aeba076b76922d5813ef97d0a91 Patch
- https://git.kernel.org/stable/c/91aa52652f4b37089aff3cb53e83049d826fef6d Patch
- https://git.kernel.org/stable/c/921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd Patch
- https://lore.kernel.org/linux-cve-announce/2024042856-CVE-2022-48643-7d4b@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-48643
- https://www.cve.org/CVERecord?id=CVE-2022-48643
Change history (0)
No recorded changes yet.