CVE-2022-48643

netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()

MEDIUM
5.5
CVSS Score
Published: April 28, 2024 at 01:00 PM UTC
Updated: June 17, 2026 at 05:15 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10.140 ≤ v < 5.10.1465.15.64 ≤ v < 5.15.715.19.6 ≤ v < 5.19.1243eb8949cfdffa764b92bc6c54b87cbe5b0003fe5.10.1405.15.645.19.66.0 rc36.0 rc46.0 rc56.0 rc66d7ddee503951641f3ec6f0e3269446970bbcdab98a621ef45e3605c7487f7fa6fec7df94697d6a2c907dfe4eaca9665694a0340de1458a093abe354
Vendor states this is fixed in 710e3f526bd23a0d33435dedc52c3144de284378 (fixed)
Vendor states this is fixed in 8bcad2a931313aeba076b76922d5813ef97d0a91 (fixed)
Vendor states this is fixed in 91aa52652f4b37089aff3cb53e83049d826fef6d (fixed)
Vendor states this is fixed in 921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd (fixed)
Affected range stops below 5.10.146, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.15.71, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.19.12, so it looks safe — our inference, not a vendor statement

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/710e3f526bd23a0d33435dedc52c3144de284378
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8bcad2a931313aeba076b76922d5813ef97d0a91
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/91aa52652f4b37089aff3cb53e83049d826fef6d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-191

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card