{"id":"CVE-2022-49787","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:\n\nmmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()\n\npci_get_device() will increase the reference count for the returned\npci_dev. We need to use pci_dev_put() to decrease the reference count\nbefore amd_probe() returns. There is no problem for the 'smbus_dev ==\nNULL' branch because pci_dev_put() can also handle the NULL input\nparameter case.","modified":"2026-04-03T13:14:34.380037Z","published":"2025-05-01T14:09:19.731Z","related":["SUSE-SU-2025:01918-1","SUSE-SU-2025:01966-1","SUSE-SU-2025:01982-1","SUSE-SU-2025:01983-1","SUSE-SU-2025:01995-1","SUSE-SU-2025:02173-1","SUSE-SU-2025:02262-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49787.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/222cfa0118aa68687ace74aab8fdf77ce8fbd7e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/27f712cd47d65e14cd52cc32a23d42aeef583d5d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35bca18092685b488003509fef7055aa2d4f2ebc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4423866d31a06a810db22062ed13389416a66b22"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5dbd6378dbf96787d6dbcca44156c511ae085ea3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7570e5b5419ffd34b6dc45a88c51e113a9a187e3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a99a547658e5d451f01ed307426286716b6f01bf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49787.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49787"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2022-49787.json"}}],"schema_version":"1.7.5"}