CVE-2022-49787
published 2025-05-01CVE-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()…
PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.21%
10.9th percentile
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.
Affected
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.10-1 (bookworm) | linux 6.0.10-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 659c9bc114a810b3a3c1e50585cc57f1312a6d60 < 7570e5b5419ffd34b6dc45a88c51e113a9a187e3 | 7570e5b5419ffd34b6dc45a88c51e113a9a187e3 |
| linux | linux | >= 659c9bc114a810b3a3c1e50585cc57f1312a6d60 < 5dbd6378dbf96787d6dbcca44156c511ae085ea3 | 5dbd6378dbf96787d6dbcca44156c511ae085ea3 |
| linux | linux | >= 659c9bc114a810b3a3c1e50585cc57f1312a6d60 < 27f712cd47d65e14cd52cc32a23d42aeef583d5d | 27f712cd47d65e14cd52cc32a23d42aeef583d5d |
| linux | linux | >= 659c9bc114a810b3a3c1e50585cc57f1312a6d60 < 4423866d31a06a810db22062ed13389416a66b22 | 4423866d31a06a810db22062ed13389416a66b22 |
| linux | linux | >= 659c9bc114a810b3a3c1e50585cc57f1312a6d60 < a99a547658e5d451f01ed307426286716b6f01bf | a99a547658e5d451f01ed307426286716b6f01bf |
| linux | linux | >= 659c9bc114a810b3a3c1e50585cc57f1312a6d60 < 35bca18092685b488003509fef7055aa2d4f2ebc | 35bca18092685b488003509fef7055aa2d4f2ebc |
| linux | linux | >= 659c9bc114a810b3a3c1e50585cc57f1312a6d60 < 222cfa0118aa68687ace74aab8fdf77ce8fbd7e6 | 222cfa0118aa68687ace74aab8fdf77ce8fbd7e6 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.158-1 | 5.10.158-1 |
| linux | linux_kernel | >= 0 < 6.0.10-1 | 6.0.10-1 |
| linux | linux_kernel | >= 0 < 6.0.10-1 | 6.0.10-1 |
| linux | linux_kernel | >= 0 < 6.0.10-1 | 6.0.10-1 |
| linux | linux_kernel | >= 4.15 < 4.19.267 | 4.19.267 |
| linux | linux_kernel | >= 4.20 < 5.4.225 | 5.4.225 |
| linux | linux_kernel | >= 4.4 < 4.14.300 | 4.14.300 |
| linux | linux_kernel | >= 5.11 < 5.15.80 | 5.15.80 |
| linux | linux_kernel | >= 5.16 < 6.0.10 | 6.0.10 |
| linux | linux_kernel | >= 5.5 < 5.10.156 | 5.10.156 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()
vendor_redhat·2025-05-01·CVSS 5.5
CVE-2022-49787 [MEDIUM] kernel: mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()
kernel: mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enter
Debian
CVE-2022-49787: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: sdhci-...
vendor_debian·2022·CVSS 5.5
CVE-2022-49787 [MEDIUM] CVE-2022-49787: linux - In the Linux kernel, the following vulnerability has been resolved: mmc: sdhci-...
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.
Scope: local
bookworm: resolved (fixed in 6.0.10-1)
bullseye: resolved (fixed in 5.10.158-1)
forky: resolved (fixed in 6.0.10-1)
sid: resolved (fixed in 6.0.10-1)
trixie: resolved (fixed in 6.0.10-1)
OSV
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_d
osv·2025-05-01·CVSS 5.5
CVE-2022-49787 [MEDIUM] 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_d
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.
GHSA
GHSA-f248-rm72-p5mx: 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
ghsa_unreviewed·2025-05-01
CVE-2022-49787 [MEDIUM] CWE-401 GHSA-f248-rm72-p5mx: 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
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.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/222cfa0118aa68687ace74aab8fdf77ce8fbd7e6https://git.kernel.org/stable/c/27f712cd47d65e14cd52cc32a23d42aeef583d5dhttps://git.kernel.org/stable/c/35bca18092685b488003509fef7055aa2d4f2ebchttps://git.kernel.org/stable/c/4423866d31a06a810db22062ed13389416a66b22https://git.kernel.org/stable/c/5dbd6378dbf96787d6dbcca44156c511ae085ea3https://git.kernel.org/stable/c/7570e5b5419ffd34b6dc45a88c51e113a9a187e3https://git.kernel.org/stable/c/a99a547658e5d451f01ed307426286716b6f01bf
2025-05-01
Published