CVE-2022-49787

mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()

published May 1, 2025

CVSS
—
EPSS
0%
Percentile
11.7
In the wild
Unconfirmed
What it is

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

mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()

pci_get_device() will increase the reference count for the returned

pci_dev. We need to use pci_dev_put() to decrease the reference count

before amd_probe() returns. There is no problem for the 'smbus_dev ==

NULL' branch because pci_dev_put() can also handle the NULL input

parameter case.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00219 · 11.7th percentile
Published
2025-05-01T14:09Z
EPSS history
Timeline
  • 01 MAY 14:09Z
    mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()
    cvelistv5