Bug 2277820 (CVE-2022-48643) - CVE-2022-48643 kernel: netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
Summary: CVE-2022-48643 kernel: netfilter: nf_tables: fix nft_counters_enabled underfl...
Keywords:
Status: NEW
Alias: CVE-2022-48643
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2277879
TreeView+ depends on / blocked
 
Reported: 2024-04-29 16:09 UTC by Zack Miele
Modified: 2025-03-20 13:17 UTC (History)
50 users (show)

Fixed In Version: kernel 5.10.146, kernel 5.15.71, kernel 5.19.12
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Zack Miele 2024-04-29 16:09:46 UTC
In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()

The Linux kernel CVE team has assigned CVE-2022-48643 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024042856-CVE-2022-48643-7d4b@gregkh/T

Comment 4 Alex 2024-06-09 16:29:13 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2022-48643 is: CHECK	Maybe valid. Check manually. with impact LOW (that is an approximation based on flags REMOTE SIMPLEFIX NETFILTER ERRORPATH  ; these flags parsed automatically based on patch data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.

Comment 5 Phil Sutter 2024-06-21 22:23:51 UTC
The CVE lists stable tree commits. The respective commit messages contain the vanilla hashes:
Introduced by: 43eb8949cfdffa764b92bc6c54b87cbe5b0003fe
Fixed by: 921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd

% kerneloscope downstream 43eb8949cfdffa764b92bc6c54b87cbe5b0003fe
094f65f12afd (in rhel-9.2, rhel-9.3, rhel-9.4, rhel-9.5) netfilter: nf_tables: do not leave chain stats enabled on error
a2a7d466d11a (in rhel-8.8, rhel-8.9, rhel-8.10) netfilter: nf_tables: do not leave chain stats enabled on error
23e30c3c6018 (in rhel-9.0) netfilter: nf_tables: do not leave chain stats enabled on error

% kerneloscope downstream 921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd
722207ec262d (in rhel-9.2, rhel-9.3, rhel-9.4, rhel-9.5) netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
fd9405ba00ce (in rhel-8.8, rhel-8.9, rhel-8.10) netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
dee89f3a5ae7 (in rhel-9.0) netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()

All streams which have the problematic backport also do have the fix already. Please close all issues opened on behalf of this.


Note You need to log in before you can comment on or make changes to this bug.