# CVE-2022-48643: netfilter: nf\_tables: fix nft\_counters\_enabled underflow at nf\_tables\_addchain()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **CWE:** CWE-191
- **Published:** 2024-04-28T13:00:03.181Z
- **Modified:** 2026-06-17T05:15:48.230Z

## Who should check

- Anyone running Linux \>= c907dfe4eaca9665694a0340de1458a093abe354, \< 710e3f526bd23a0d33435dedc52c3144de284378; \>= 6d7ddee503951641f3ec6f0e3269446970bbcdab, \< 91aa52652f4b37089aff3cb53e83049d826fef6d; \>= 98a621ef45e3605c7487f7fa6fec7df94697d6a2, \< 8bcad2a931313aeba076b76922d5813ef97d0a91; \>= 43eb8949cfdffa764b92bc6c54b87cbe5b0003fe, \< 921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd
- Anyone running Linux \>= 5.10.140, \< 5.10.146; \>= 5.15.64, \< 5.15.71; \>= 5.19.6, \< 5.19.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf\_tables: fix nft\_counters\_enabled underflow at nf\_tables\_addchain()

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 and fixed versions

- Linux: \>= c907dfe4eaca9665694a0340de1458a093abe354, \< 710e3f526bd23a0d33435dedc52c3144de284378; \>= 6d7ddee503951641f3ec6f0e3269446970bbcdab, \< 91aa52652f4b37089aff3cb53e83049d826fef6d; \>= 98a621ef45e3605c7487f7fa6fec7df94697d6a2, \< 8bcad2a931313aeba076b76922d5813ef97d0a91; \>= 43eb8949cfdffa764b92bc6c54b87cbe5b0003fe, \< 921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd (cvelist)
- Linux: \>= 5.10.140, \< 5.10.146; \>= 5.15.64, \< 5.15.71; \>= 5.19.6, \< 5.19.12 (cvelist)

## Mitigation

- Upgrade Linux to 921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd or later.
- Upgrade Linux to 5.19.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48643. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48643.md
Affected: Linux >= c907dfe4eaca9665694a0340de1458a093abe354, < 710e3f526bd23a0d33435dedc52c3144de284378; >= 6d7ddee503951641f3ec6f0e3269446970bbcdab, < 91aa52652f4b37089aff3cb53e83049d826fef6d; >= 98a621ef45e3605c7487f7fa6fec7df94697d6a2, < 8bcad2a931313aeba076b76922d5813ef97d0a91; >= 43eb8949cfdffa764b92bc6…
Fixed in: Linux 710e3f526bd23a0d33435dedc52c3144de284378, Linux 91aa52652f4b37089aff3cb53e83049d826fef6d, Linux 8bcad2a931313aeba076b76922d5813ef97d0a91, Linux 921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd, Linux 5.10.146, Linux 5.15.71, Linux 5.19.12

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48643 being exploited?

There is no confirmed exploitation: CVE-2022-48643 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48643?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48643?

Linux \>= c907dfe4eaca9665694a0340de1458a093abe354, \< 710e3f526bd23a0d33435dedc52c3144de284378; \>= 6d7ddee503951641f3ec6f0e3269446970bbcdab, \< 91aa52652f4b37089aff3cb53e83049d826fef6d; \>= 98a621ef45e3605c7487f7fa6fec7df94697d6a2, \< 8bcad2a931313aeba076b76922d5813ef97d0a91; \>= 43eb8949cfdffa764b92bc6c54b87cbe5b0003fe, \< 921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd; Linux \>= 5.10.140, \< 5.10.146; \>= 5.15.64, \< 5.15.71; \>= 5.19.6, \< 5.19.12.

### Is there a fix for CVE-2022-48643?

Yes. Fixed in Linux 710e3f526bd23a0d33435dedc52c3144de284378, Linux 91aa52652f4b37089aff3cb53e83049d826fef6d, Linux 8bcad2a931313aeba076b76922d5813ef97d0a91, Linux 921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd, Linux 5.10.146, Linux 5.15.71, Linux 5.19.12. Upgrade Linux to 921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd or later. Upgrade Linux to 5.19.12 or later.

### How do I check if I'm affected by CVE-2022-48643?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/710e3f526bd23a0d33435dedc52c3144de284378>
- patch: <https://git.kernel.org/stable/c/91aa52652f4b37089aff3cb53e83049d826fef6d>
- patch: <https://git.kernel.org/stable/c/8bcad2a931313aeba076b76922d5813ef97d0a91>
- patch: <https://git.kernel.org/stable/c/921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48643>

HTML: <https://flawdb.com/CVE-2022-48643> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48643>
