VDB

CVE-2022-49787

CVE-2022-49787 PUBLISHED

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

Reported by linux · Published May 1, 2025

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.

EPSS 0.22% · 12.4th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-toolsAmazon Linux4.14.301-224.520.amzn2
kernel-livepatch-4.14.301-224.520Amazon Linux1.0-0.amzn2
LinuxLinuxa99a547658e5d451f01ed307426286716b6f01bf, 5dbd6378dbf96787d6dbcca44156c511ae085ea3, 4423866d31a06a810db22062ed13389416a66b22, 35bca18092685b488003509fef7055aa2d4f2ebc, 222cfa0118aa68687ace74aab8fdf77ce8fbd7e6

Risk scores

EPSS Score
0.22%
12.4th percentile

Affected products

VendorProductVersions
LinuxLinux659c9bc114a810b3a3c1e50585cc57f1312a6d60, 659c9bc114a810b3a3c1e50585cc57f1312a6d60, 659c9bc114a810b3a3c1e50585cc57f1312a6d60
LinuxLinux4.4, 0, 4.14.300
amazon:2kernel-tools0
amazon:2kernel-livepatch-4.14.301-224.5200
LinuxLinux5.10.156, 659c9bc114a810b3a3c1e50585cc57f1312a6d60, 659c9bc114a810b3a3c1e50585cc57f1312a6d60
amazon:2perf0
amazon:2kernel-devel0
amazon:2python-perf0
amazon:2kernel-headers0
amazon:2kernel0
linuxlinux_kernel4.4, 4.4, 4.4
amazon:2kernel-tools-devel0

Timeline

  • May 1, 2025 CVE Published
  • May 2, 2025 EPSS Score (30 in total, the first dated here)
  • May 23, 2026 Coalition ESS Score
  • Jun 2, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-49787
vulnetix vdb fixes CVE-2022-49787

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-49787/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›