# CVE-2022-50505: iommu/amd: Fix pci device refcount leak in ppr_notifier()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-10-04T15:43:54.265Z
- Modified: 2026-11-05T21:17:02.893Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

iommu/amd: Fix pci device refcount leak in ppr_notifier()

As comment of pci_get_domain_bus_and_slot() says, it returns
a pci device with refcount increment, when finish using it,
the caller must decrement the reference count by calling
pci_dev_put(). So call it before returning from ppr_notifier()
to avoid refcount leak.

(As written by CVE List.)

## Affected

- Linux Linux: from daae2d25a4779b272a66ddd01f5810bcee822b9e before bdb2113dd8f17a3cc84a2b4be4968a849f69ec72; from daae2d25a4779b272a66ddd01f5810bcee822b9e before efd50c65fd1cdef63eb58825f3fe72496443764c; from daae2d25a4779b272a66ddd01f5810bcee822b9e before 8581ec1feb895ff596fe3d326d9ba320083290aa; from daae2d25a4779b272a66ddd01f5810bcee822b9e before 03f51c72997559e73b327608f0cccfded715c9a0; from daae2d25a4779b272a66ddd01f5810bcee822b9e before 6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5; from daae2d25a4779b272a66ddd01f5810bcee822b9e before 902cc2507091a81643502d8ceb0e2f105e902518; from daae2d25a4779b272a66ddd01f5810bcee822b9e before b0637f4bd426925f5c3a15e8f8e36190fe06bac5; from daae2d25a4779b272a66ddd01f5810bcee822b9e before 6cf0981c2233f97d56938d9d61845383d6eb227c; 4.14 (not affected: before 4.14; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 4.14 before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## References

- <https://git.kernel.org/stable/c/bdb2113dd8f17a3cc84a2b4be4968a849f69ec72> (patch)
- <https://git.kernel.org/stable/c/efd50c65fd1cdef63eb58825f3fe72496443764c> (patch)
- <https://git.kernel.org/stable/c/8581ec1feb895ff596fe3d326d9ba320083290aa> (patch)
- <https://git.kernel.org/stable/c/03f51c72997559e73b327608f0cccfded715c9a0> (patch)
- <https://git.kernel.org/stable/c/6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5> (patch)
- <https://git.kernel.org/stable/c/902cc2507091a81643502d8ceb0e2f105e902518> (patch)
- <https://git.kernel.org/stable/c/b0637f4bd426925f5c3a15e8f8e36190fe06bac5> (patch)
- <https://git.kernel.org/stable/c/6cf0981c2233f97d56938d9d61845383d6eb227c> (patch)

## Sources

- CVE List: [CVE-2022-50505](https://www.cve.org/CVERecord?id=CVE-2022-50505), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50505](https://nvd.nist.gov/vuln/detail/CVE-2022-50505), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50505 · Whole record: https://cve.day/CVE-2022-50505.json · Rebuilt by cve.day 2026-11-25T22:58:21.246Z
