{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50505","id":"CVE-2022-50505","title":"iommu/amd: Fix pci device refcount leak in ppr_notifier()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Fix pci device refcount leak in ppr_notifier()\n\nAs comment of pci_get_domain_bus_and_slot() says, it returns\na pci device with refcount increment, when finish using it,\nthe caller must decrement the reference count by calling\npci_dev_put(). So call it before returning from ppr_notifier()\nto avoid refcount leak.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Fix pci device refcount leak in ppr_notifier()\n\nAs comment of pci_get_domain_bus_and_slot() says, it returns\na pci device with refcount increment, when finish using it,\nthe caller must decrement the reference count by calling\npci_dev_put(). So call it before returning from ppr_notifier()\nto avoid refcount leak.","published":"2025-10-04T15:43:54.265Z","updated":"2026-11-07T02:30:51.707951074Z","reserved":"2025-10-04T15:39:19.465Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"daae2d25a4779b272a66ddd01f5810bcee822b9e","lessThan":"bdb2113dd8f17a3cc84a2b4be4968a849f69ec72","status":"affected","versionType":"git"},{"version":"daae2d25a4779b272a66ddd01f5810bcee822b9e","lessThan":"efd50c65fd1cdef63eb58825f3fe72496443764c","status":"affected","versionType":"git"},{"version":"daae2d25a4779b272a66ddd01f5810bcee822b9e","lessThan":"8581ec1feb895ff596fe3d326d9ba320083290aa","status":"affected","versionType":"git"},{"version":"daae2d25a4779b272a66ddd01f5810bcee822b9e","lessThan":"03f51c72997559e73b327608f0cccfded715c9a0","status":"affected","versionType":"git"},{"version":"daae2d25a4779b272a66ddd01f5810bcee822b9e","lessThan":"6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5","status":"affected","versionType":"git"},{"version":"daae2d25a4779b272a66ddd01f5810bcee822b9e","lessThan":"902cc2507091a81643502d8ceb0e2f105e902518","status":"affected","versionType":"git"},{"version":"daae2d25a4779b272a66ddd01f5810bcee822b9e","lessThan":"b0637f4bd426925f5c3a15e8f8e36190fe06bac5","status":"affected","versionType":"git"},{"version":"daae2d25a4779b272a66ddd01f5810bcee822b9e","lessThan":"6cf0981c2233f97d56938d9d61845383d6eb227c","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","lessThan":"4.14","status":"unaffected","versionType":"semver"},{"version":"4.14.303","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.270","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.229","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.86","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.2","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/bdb2113dd8f17a3cc84a2b4be4968a849f69ec72","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/efd50c65fd1cdef63eb58825f3fe72496443764c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8581ec1feb895ff596fe3d326d9ba320083290aa","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/03f51c72997559e73b327608f0cccfded715c9a0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/902cc2507091a81643502d8ceb0e2f105e902518","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b0637f4bd426925f5c3a15e8f8e36190fe06bac5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6cf0981c2233f97d56938d9d61845383d6eb227c","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50505.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50505","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00163,"epssPercentile":0.0558,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50505","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50505","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50505","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50505","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}