Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48642
HistoryApr 28, 2024 - 12:59 p.m.

CVE-2022-48642 netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()

2024-04-2812:59:57
Linux
www.cve.org
8
linux kernel
netfilter
nf_tables
memory leak

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%

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

netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()

It seems to me that percpu memory for chain stats started leaking since
commit 3bc158f8d0330f0a (“netfilter: nf_tables: map basechain priority to
hardware priority”) when nft_chain_offload_priority() returned an error.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/netfilter/nf_tables_api.c"
    ],
    "versions": [
      {
        "version": "3bc158f8d033",
        "lessThan": "b043a525a3f5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3bc158f8d033",
        "lessThan": "08d7524f366a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3bc158f8d033",
        "lessThan": "985b031667c3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3bc158f8d033",
        "lessThan": "9a4d6dd554b8",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/netfilter/nf_tables_api.c"
    ],
    "versions": [
      {
        "version": "5.3",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.3",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.146",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.71",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.19.12",
        "lessThanOrEqual": "5.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.0",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%