CVE-2022-49787

Source
https://cve.org/CVERecord?id=CVE-2022-49787
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49787.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49787
Downstream
Related
Published
2025-05-01T14:09:19.731Z
Modified
2026-03-20T11:47:14.923756Z
Summary
mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()
Details

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

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

pcigetdevice() will increase the reference count for the returned pcidev. We need to use pcidevput() to decrease the reference count before amdprobe() returns. There is no problem for the 'smbusdev == NULL' branch because pcidev_put() can also handle the NULL input parameter case.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49787.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
659c9bc114a810b3a3c1e50585cc57f1312a6d60
Fixed
7570e5b5419ffd34b6dc45a88c51e113a9a187e3
Fixed
5dbd6378dbf96787d6dbcca44156c511ae085ea3
Fixed
27f712cd47d65e14cd52cc32a23d42aeef583d5d
Fixed
4423866d31a06a810db22062ed13389416a66b22
Fixed
a99a547658e5d451f01ed307426286716b6f01bf
Fixed
35bca18092685b488003509fef7055aa2d4f2ebc
Fixed
222cfa0118aa68687ace74aab8fdf77ce8fbd7e6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49787.json"