Skip to content
Noroxi
CVE-2022-48643· NVD / CVE Program· CNA Linux

netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()

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().

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Apr 28, 2024
Updated
Jun 17, 2026
EPSS
0.2% · 13th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Affected systems

VendorProduct
linuxlinux kernel

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel5.10.140 and later · before 5.10.146
  • linux linux kernel5.15.64 and later · before 5.15.71
  • linux linux kernel5.19.6 and later · before 5.19.12
  • linux linux kernel6.0

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

    • c907dfe4eaca9665694a0340de1458a093abe354 and later · before 710e3f526bd23a0d33435dedc52c3144de284378affected · git
    • 6d7ddee503951641f3ec6f0e3269446970bbcdab and later · before 91aa52652f4b37089aff3cb53e83049d826fef6daffected · git
    • 98a621ef45e3605c7487f7fa6fec7df94697d6a2 and later · before 8bcad2a931313aeba076b76922d5813ef97d0a91affected · git
    • 43eb8949cfdffa764b92bc6c54b87cbe5b0003fe and later · before 921ebde3c0d22c8cba74ce8eb3cc4626abff1ccdaffected · git
    • 5.10.140 and later · before 5.10.146affected · semver
    • 5.15.64 and later · before 5.15.71affected · semver
    • 5.19.6 and later · before 5.19.12affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.0.2-16.0.2-1

Other highest-scoring records for the same primary product.

  • 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 KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now
  • CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV
    83Now
  • CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV
    77This week
  • CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV
    77This week
  • CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV
    77This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux5.10.146Vendor (CNA)
Linux Linux5.15.71Vendor (CNA)
Linux Linux5.19.12Vendor (CNA)
Linux Linux710e3f526bd23a0d33435dedc52c3144de284378Vendor (CNA)
Linux Linux8bcad2a931313aeba076b76922d5813ef97d0a91Vendor (CNA)
Linux Linux91aa52652f4b37089aff3cb53e83049d826fef6dVendor (CNA)
Linux Linux921ebde3c0d22c8cba74ce8eb3cc4626abff1ccdVendor (CNA)
debian:linux6.0.2-1 · Debian:12Package 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.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2024-2682811 days apartcifs: fix underflow in parse_server_interfaces()
    37Monitor
  • CVE-2024-2691311 days apartdrm/amd/display: Fix dcn35 8k30 Underflow/Corruption Issue
    31Monitor
  • CVE-2024-46759143 days aparthwmon: (adc128d818) Fix underflows seen when writing limit attributes
    31Monitor
  • CVE-2024-53061205 days apartmedia: s5p-jpeg: prevent buffer overflows
    31Monitor
  • CVE-2024-0565104 days apartKernel: cifs filesystem decryption improper input validation remote code execution vulnerability in function receive_encrypted_standard of client
    30Monitor
  • CVE-2022-49278304 days apartremoteproc: Fix count check in rproc_coredump_write()
    28Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

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

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.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records