Vulnerability in Linux
CVE-2022-49787
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 12.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 659c9bc114a810b3a3c1e50585cc57f1312a6d60, 4.4, 0
- Linux Kernel — versions 6.1
Weakness classification (CWE)
References
- git.kernel.org/stable/c/7570e5b5419ffd34b6dc45a88c51e113a9a187e3 (Patch)
- git.kernel.org/stable/c/5dbd6378dbf96787d6dbcca44156c511ae085ea3 (Patch)
- git.kernel.org/stable/c/27f712cd47d65e14cd52cc32a23d42aeef583d5d (Patch)
- git.kernel.org/stable/c/4423866d31a06a810db22062ed13389416a66b22 (Patch)
- git.kernel.org/stable/c/a99a547658e5d451f01ed307426286716b6f01bf (Patch)
- git.kernel.org/stable/c/35bca18092685b488003509fef7055aa2d4f2ebc (Patch)
- git.kernel.org/stable/c/222cfa0118aa68687ace74aab8fdf77ce8fbd7e6 (Patch)