CVE-2022-49787
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 4.14.301-224.520.amzn2 |
| kernel-livepatch-4.14.301-224.520 | Amazon Linux | 1.0-0.amzn2 |
| Linux | Linux | a99a547658e5d451f01ed307426286716b6f01bf, 5dbd6378dbf96787d6dbcca44156c511ae085ea3, 4423866d31a06a810db22062ed13389416a66b22, 35bca18092685b488003509fef7055aa2d4f2ebc, 222cfa0118aa68687ace74aab8fdf77ce8fbd7e6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 659c9bc114a810b3a3c1e50585cc57f1312a6d60, 659c9bc114a810b3a3c1e50585cc57f1312a6d60, 659c9bc114a810b3a3c1e50585cc57f1312a6d60 |
| Linux | Linux | 4.4, 0, 4.14.300 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | kernel-livepatch-4.14.301-224.520 | 0 |
| Linux | Linux | 5.10.156, 659c9bc114a810b3a3c1e50585cc57f1312a6d60, 659c9bc114a810b3a3c1e50585cc57f1312a6d60 |
| amazon:2 | perf | 0 |
| amazon:2 | kernel-devel | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | kernel | 0 |
| linux | linux_kernel | 4.4, 4.4, 4.4 |
| amazon:2 | kernel-tools-devel | 0 |
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