Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48881
HistoryAug 21, 2024 - 6:10 a.m.

CVE-2022-48881 platform/x86/amd: Fix refcount leak in amd_pmc_probe

2024-08-2106:10:12
Linux
www.cve.org
2
linux kernel
vulnerability
platform/x86/amd
refcount leak
pci_get_domain_bus_and_slot
pci_dev_put

EPSS

0

Percentile

9.5%

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

platform/x86/amd: Fix refcount leak in amd_pmc_probe

pci_get_domain_bus_and_slot() takes reference, the caller should release
the reference by calling pci_dev_put() after use. Call pci_dev_put() in
the error path to fix this.

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/amd/pmc.c"
    ],
    "versions": [
      {
        "version": "3d7d407dfb05",
        "lessThan": "394416282129",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3d7d407dfb05",
        "lessThan": "ccb32e2be142",
        "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/amd/pmc.c"
    ],
    "versions": [
      {
        "version": "5.18",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.18",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.7",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.2",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.5%