Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.4, < 4.14.300 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/222cfa0118aa68687ace74aab8fdf77ce8fbd7e6Patch
- https://git.kernel.org/stable/c/27f712cd47d65e14cd52cc32a23d42aeef583d5dPatch
- https://git.kernel.org/stable/c/35bca18092685b488003509fef7055aa2d4f2ebcPatch
- https://git.kernel.org/stable/c/4423866d31a06a810db22062ed13389416a66b22Patch
- https://git.kernel.org/stable/c/5dbd6378dbf96787d6dbcca44156c511ae085ea3Patch
- https://git.kernel.org/stable/c/7570e5b5419ffd34b6dc45a88c51e113a9a187e3Patch
- https://git.kernel.org/stable/c/a99a547658e5d451f01ed307426286716b6f01bfPatch
FAQ
What is CVE-2022-49787?
CVE-2022-49787 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 th...
How severe is CVE-2022-49787?
CVE-2022-49787 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-49787?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.