{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-48643","id":"CVE-2022-48643","title":"netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()\n\nsyzbot is reporting underflow of nft_counters_enabled counter at\nnf_tables_addchain() [1], for commit 43eb8949cfdffa76 (\"netfilter:\nnf_tables: do not leave chain stats enabled on error\") missed that\nnf_tables_chain_destroy() after nft_basechain_init","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()\n\nsyzbot is reporting underflow of nft_counters_enabled counter at\nnf_tables_addchain() [1], for commit 43eb8949cfdffa76 (\"netfilter:\nnf_tables: do not leave chain stats enabled on error\") missed that\nnf_tables_chain_destroy() after nft_basechain_init() in the error path of\nnf_tables_addchain() decrements the counter because nft_basechain_init()\nmakes nft_is_base_chain() return true by setting NFT_CHAIN_BASE flag.\n\nIncrement the counter immediately after returning from\nnft_basechain_init().","published":"2024-04-28T13:00:03.181Z","updated":"2026-10-28T02:30:21.963504587Z","reserved":"2024-02-25T13:44:28.316Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c907dfe4eaca9665694a0340de1458a093abe354","lessThan":"710e3f526bd23a0d33435dedc52c3144de284378","status":"affected","versionType":"git"},{"version":"6d7ddee503951641f3ec6f0e3269446970bbcdab","lessThan":"91aa52652f4b37089aff3cb53e83049d826fef6d","status":"affected","versionType":"git"},{"version":"98a621ef45e3605c7487f7fa6fec7df94697d6a2","lessThan":"8bcad2a931313aeba076b76922d5813ef97d0a91","status":"affected","versionType":"git"},{"version":"43eb8949cfdffa764b92bc6c54b87cbe5b0003fe","lessThan":"921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5.10.140","lessThan":"5.10.146","status":"affected","versionType":"semver"},{"version":"5.15.64","lessThan":"5.15.71","status":"affected","versionType":"semver"},{"version":"5.19.6","lessThan":"5.19.12","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-191"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/710e3f526bd23a0d33435dedc52c3144de284378","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/91aa52652f4b37089aff3cb53e83049d826fef6d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/8bcad2a931313aeba076b76922d5813ef97d0a91","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/921ebde3c0d22c8cba74ce8eb3cc4626abff1ccd","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48643.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48643","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00232,"epssPercentile":0.14211,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-48643","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48643","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-48643","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-48643","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}