Lucene search

K
cvelistLinuxCVELIST:CVE-2021-47093
HistoryMar 04, 2024 - 6:10 p.m.

CVE-2021-47093 platform/x86: intel_pmc_core: fix memleak on registration failure

2024-03-0418:10:41
Linux
www.cve.org
6
linux
kernel
vulnerability
memleak
registration failure
intel_pmc_core

AI Score

7.5

Confidence

High

EPSS

0

Percentile

15.5%

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

platform/x86: intel_pmc_core: fix memleak on registration failure

In case device registration fails during module initialisation, the
platform device structure needs to be freed using platform_device_put()
to properly free all resources (e.g. the device name).

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/platform/x86/intel/pmc/pltdrv.c"
    ],
    "versions": [
      {
        "version": "938835aa903a",
        "lessThan": "7a37f2e37069",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "938835aa903a",
        "lessThan": "9ca1324755f1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "938835aa903a",
        "lessThan": "26a8b0943780",
        "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/platform/x86/intel/pmc/pltdrv.c"
    ],
    "versions": [
      {
        "version": "5.9",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.9",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.89",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.12",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

7.5

Confidence

High

EPSS

0

Percentile

15.5%