We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2022-49787

mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()



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.

Reserved 2025-05-01 | Published 2025-05-01 | Updated 2025-05-04 | Assigner Linux

Product status

Default status
unaffected

659c9bc114a810b3a3c1e50585cc57f1312a6d60 before 7570e5b5419ffd34b6dc45a88c51e113a9a187e3
affected

659c9bc114a810b3a3c1e50585cc57f1312a6d60 before 5dbd6378dbf96787d6dbcca44156c511ae085ea3
affected

659c9bc114a810b3a3c1e50585cc57f1312a6d60 before 27f712cd47d65e14cd52cc32a23d42aeef583d5d
affected

659c9bc114a810b3a3c1e50585cc57f1312a6d60 before 4423866d31a06a810db22062ed13389416a66b22
affected

659c9bc114a810b3a3c1e50585cc57f1312a6d60 before a99a547658e5d451f01ed307426286716b6f01bf
affected

659c9bc114a810b3a3c1e50585cc57f1312a6d60 before 35bca18092685b488003509fef7055aa2d4f2ebc
affected

659c9bc114a810b3a3c1e50585cc57f1312a6d60 before 222cfa0118aa68687ace74aab8fdf77ce8fbd7e6
affected

Default status
affected

4.4
affected

Any version before 4.4
unaffected

4.14.300
unaffected

4.19.267
unaffected

5.4.225
unaffected

5.10.156
unaffected

5.15.80
unaffected

6.0.10
unaffected

6.1
unaffected

References

git.kernel.org/...c/7570e5b5419ffd34b6dc45a88c51e113a9a187e3

git.kernel.org/...c/5dbd6378dbf96787d6dbcca44156c511ae085ea3

git.kernel.org/...c/27f712cd47d65e14cd52cc32a23d42aeef583d5d

git.kernel.org/...c/4423866d31a06a810db22062ed13389416a66b22

git.kernel.org/...c/a99a547658e5d451f01ed307426286716b6f01bf

git.kernel.org/...c/35bca18092685b488003509fef7055aa2d4f2ebc

git.kernel.org/...c/222cfa0118aa68687ace74aab8fdf77ce8fbd7e6

cve.org (CVE-2022-49787)

nvd.nist.gov (CVE-2022-49787)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2022-49787

Support options

Helpdesk Chat, Email, Knowledgebase