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

CVE record · `CVE-2022-50505`

- **Identifiers:** `CVE-2022-50505`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Oct 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Oct 2025, 15:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `daae2d25a4779b272a66ddd01f5810bcee822b9e to before bdb2113dd8f17a3cc84a2b4be4968a849f69ec72` (git)
  - affected: `daae2d25a4779b272a66ddd01f5810bcee822b9e to before efd50c65fd1cdef63eb58825f3fe72496443764c` (git)
  - affected: `daae2d25a4779b272a66ddd01f5810bcee822b9e to before 8581ec1feb895ff596fe3d326d9ba320083290aa` (git)
  - affected: `daae2d25a4779b272a66ddd01f5810bcee822b9e to before 03f51c72997559e73b327608f0cccfded715c9a0` (git)
  - affected: `daae2d25a4779b272a66ddd01f5810bcee822b9e to before 6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5` (git)
  - affected: `daae2d25a4779b272a66ddd01f5810bcee822b9e to before 902cc2507091a81643502d8ceb0e2f105e902518` (git)
  - affected: `daae2d25a4779b272a66ddd01f5810bcee822b9e to before b0637f4bd426925f5c3a15e8f8e36190fe06bac5` (git)
  - affected: `daae2d25a4779b272a66ddd01f5810bcee822b9e to before 6cf0981c2233f97d56938d9d61845383d6eb227c` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.14`
  - unaffected: `before 4.14` (semver)
  - unaffected: `4.14.303 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.270 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.229 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.163 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.86 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.16 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1.2 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> This Linux kernel advisory covers a reference count leak in the AMD IOMMU driver's ppr_notifier() function, where a PCI device obtained from pci_get_domain_bus_and_slot() was not released. The source gives few details about the attack conditions or impact. Affected kernel versions are listed as ranges from commit daae2d25 up to several fixed commits, and as 4.14 with fixes in 4.14.303, 4.19.270, 5.4.229, and 5.10.163. No specific upgrade version is named, so the fixed kernel release for the reader's branch should be checked.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 5th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 4 Oct 2025, 15:43 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-50505)
- 4 Oct 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-50505)

## Sources

- [CVE List: CVE-2022-50505](https://www.cve.org/CVERecord?id=CVE-2022-50505)
- [NVD: CVE-2022-50505](https://nvd.nist.gov/vuln/detail/CVE-2022-50505)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-50505>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-50505/>. Everything for agents: <https://agentprime.io/llms.txt>.
