{"id":"CVE-2022-49787","aliases":["CVE-2022-49787"],"related":[],"kind":"vulnerability","state":"published","title":"mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()\n\npci_get_device() will increase the reference count for the returned\npci_dev. We need to use pci_dev_put() to decrease the reference count\nbefore amd_probe() returns. There is no problem for the 'smbus_dev ==\nNULL' branch because pci_dev_put() can also handle the NULL input\nparameter case.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()\n\npci_get_device() will increase the reference count for the returned\npci_dev. We need to use pci_dev_put() to decrease the reference count\nbefore amd_probe() returns. There is no problem for the 'smbus_dev ==\nNULL' branch because pci_dev_put() can also handle the NULL input\nparameter case.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mmc: sdhci-pci: Se corrige una posible fuga de memoria causada por la omisión de pci_dev_put(). pci_get_device() aumentará el recuento de referencias para el pci_dev devuelto. Necesitamos usar pci_dev_put() para disminuir el recuento de referencias antes de que amd_probe() regrese. No hay problema para la rama 'smbus_dev == NULL', ya que pci_dev_put() también puede gestionar el caso del parámetro de entrada NULL.","source":"nvd"}],"published":"2025-05-01T14:09:19.731Z","modified":"2026-06-17T05:19:08.783Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"659c9bc114a810b3a3c1e50585cc57f1312a6d60","fixed":"7570e5b5419ffd34b6dc45a88c51e113a9a187e3","status":"affected"},{"type":"git","introduced":"659c9bc114a810b3a3c1e50585cc57f1312a6d60","fixed":"5dbd6378dbf96787d6dbcca44156c511ae085ea3","status":"affected"},{"type":"git","introduced":"659c9bc114a810b3a3c1e50585cc57f1312a6d60","fixed":"27f712cd47d65e14cd52cc32a23d42aeef583d5d","status":"affected"},{"type":"git","introduced":"659c9bc114a810b3a3c1e50585cc57f1312a6d60","fixed":"4423866d31a06a810db22062ed13389416a66b22","status":"affected"},{"type":"git","introduced":"659c9bc114a810b3a3c1e50585cc57f1312a6d60","fixed":"a99a547658e5d451f01ed307426286716b6f01bf","status":"affected"},{"type":"git","introduced":"659c9bc114a810b3a3c1e50585cc57f1312a6d60","fixed":"35bca18092685b488003509fef7055aa2d4f2ebc","status":"affected"},{"type":"git","introduced":"659c9bc114a810b3a3c1e50585cc57f1312a6d60","fixed":"222cfa0118aa68687ace74aab8fdf77ce8fbd7e6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.4","status":"unaffected"},{"type":"semver","introduced":"4.14.300","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.267","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.225","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.156","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.80","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.10","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.4","fixed":"4.14.300"},{"status":"affected","introduced":"4.15","fixed":"4.19.267"},{"status":"affected","introduced":"4.20","fixed":"5.4.225"},{"status":"affected","introduced":"5.5","fixed":"5.10.156"},{"status":"affected","introduced":"5.11","fixed":"5.15.80"},{"status":"affected","introduced":"5.16","fixed":"6.0.10"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7570e5b5419ffd34b6dc45a88c51e113a9a187e3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5dbd6378dbf96787d6dbcca44156c511ae085ea3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/27f712cd47d65e14cd52cc32a23d42aeef583d5d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4423866d31a06a810db22062ed13389416a66b22","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a99a547658e5d451f01ed307426286716b6f01bf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35bca18092685b488003509fef7055aa2d4f2ebc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/222cfa0118aa68687ace74aab8fdf77ce8fbd7e6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49787","url":"https://www.cve.org/CVERecord?id=CVE-2022-49787","licence":"CVE Terms of Use","modified":"2026-05-11T19:06:46.516Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49787","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49787","licence":"Public domain","modified":"2026-06-17T05:19:08.783Z"}],"updatedAt":"2026-11-25T22:58:20.870Z","epss":{"score":0.00221,"percentile":0.13494,"date":"2026-12-02T12:00:21.000Z"}}