CVE-2022-49787 Details
Description
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.
A vulnerability in the Linux kernel's MMC SDHCI-PCI component can lead to a memory leak. This issue arises from a missing call to 'pci_dev_put()', which is necessary to decrease the reference count of a 'pci_dev' object before the 'amd_probe()' function returns. While the vulnerability does not affect the 'smbus_dev == NULL' branch, where 'pci_dev_put()' can safely handle a NULL input, the omission in other cases can cause a memory leak.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/222cfa0118aa68687ace74aab8fdf77ce8fbd7e6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/27f712cd47d65e14cd52cc32a23d42aeef583d5d | kernel.org | Patch |
| https://git.kernel.org/stable/c/35bca18092685b488003509fef7055aa2d4f2ebc | kernel.org | Patch |
| https://git.kernel.org/stable/c/4423866d31a06a810db22062ed13389416a66b22 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5dbd6378dbf96787d6dbcca44156c511ae085ea3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7570e5b5419ffd34b6dc45a88c51e113a9a187e3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a99a547658e5d451f01ed307426286716b6f01bf | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.4, < 4.14.300 >= 4.15, < 4.19.267 >= 4.20, < 5.4.225 >= 5.5, < 5.10.156 >= 5.11, < 5.15.80 >= 5.16, < 6.0.10 6.1 rc1 6.1 rc2 6.1 rc3 6.1 rc4 6.1 rc5 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 7, 2025 | Initial Analysis | [email protected] |
| May 1, 2025 | New CVE Received | kernel.org |