Lucene search

K
vulnrichmentLinuxVULNRICHMENT: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
github.com
5
linux kernel
netfilter
nf_tables
memory leak

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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

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

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

15.5%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial