CVE-2022-50505

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

No CVSS score yet EPSS 0.16%

Published 4 Oct 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2022-50505

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50505 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.79% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from daae2d25a4779b272a66ddd01f5810bcee822b9e, before bdb2113dd8f17a3cc84a2b4be4968a849f69ec72
affected from daae2d25a4779b272a66ddd01f5810bcee822b9e, before efd50c65fd1cdef63eb58825f3fe72496443764c
affected from daae2d25a4779b272a66ddd01f5810bcee822b9e, before 8581ec1feb895ff596fe3d326d9ba320083290aa
affected from daae2d25a4779b272a66ddd01f5810bcee822b9e, before 03f51c72997559e73b327608f0cccfded715c9a0
affected from daae2d25a4779b272a66ddd01f5810bcee822b9e, before 6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5
affected from daae2d25a4779b272a66ddd01f5810bcee822b9e, before 902cc2507091a81643502d8ceb0e2f105e902518
affected from daae2d25a4779b272a66ddd01f5810bcee822b9e, before b0637f4bd426925f5c3a15e8f8e36190fe06bac5
affected from daae2d25a4779b272a66ddd01f5810bcee822b9e, before 6cf0981c2233f97d56938d9d61845383d6eb227c
Other versions: unaffected
Linux
affected 4.14
unaffected before 4.14
unaffected from 4.14.303 up to and including 4.14.*
unaffected from 4.19.270 up to and including 4.19.*
unaffected from 5.4.229 up to and including 5.4.*
unaffected from 5.10.163 up to and including 5.10.*
unaffected from 5.15.86 up to and including 5.15.*
unaffected from 6.0.16 up to and including 6.0.*
unaffected from 6.1.2 up to and including 6.1.*
unaffected 6.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50505 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50505

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-50505
trivy image --scanners vuln IMAGE | grep CVE-2022-50505

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-50505 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.