Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48709
HistoryMay 21, 2024 - 3:22 p.m.

CVE-2022-48709 ice: switch: fix potential memleak in ice_add_adv_recipe()

2024-05-2115:22:50
Linux
www.cve.org
linux kernel
vulnerability resolved
ice
potential memleak
fix
memory leak
compile tested

6.3 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.1%

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

ice: switch: fix potential memleak in ice_add_adv_recipe()

When ice_add_special_words() fails, the ‘rm’ is not released, which will
lead to a memory leak. Fix this up by going to ‘err_unroll’ label.

Compile tested only.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/intel/ice/ice_switch.c"
    ],
    "versions": [
      {
        "version": "8b032a55c1bd",
        "lessThan": "47f4ff6f23f0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8b032a55c1bd",
        "lessThan": "4a606ce68426",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/intel/ice/ice_switch.c"
    ],
    "versions": [
      {
        "version": "5.16",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.16",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.12",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.2",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.3 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.1%