CVE-2022-50505
published 2025-10-04CVE-2022-50505: In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Fix pci device refcount leak in ppr_notifier() As comment of…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.15%
4.7th percentile
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.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.4-1 (bookworm) | linux 6.1.4-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= daae2d25a4779b272a66ddd01f5810bcee822b9e < bdb2113dd8f17a3cc84a2b4be4968a849f69ec72 | bdb2113dd8f17a3cc84a2b4be4968a849f69ec72 |
| linux | linux | >= daae2d25a4779b272a66ddd01f5810bcee822b9e < efd50c65fd1cdef63eb58825f3fe72496443764c | efd50c65fd1cdef63eb58825f3fe72496443764c |
| linux | linux | >= daae2d25a4779b272a66ddd01f5810bcee822b9e < 8581ec1feb895ff596fe3d326d9ba320083290aa | 8581ec1feb895ff596fe3d326d9ba320083290aa |
| linux | linux | >= daae2d25a4779b272a66ddd01f5810bcee822b9e < 03f51c72997559e73b327608f0cccfded715c9a0 | 03f51c72997559e73b327608f0cccfded715c9a0 |
| linux | linux | >= daae2d25a4779b272a66ddd01f5810bcee822b9e < 6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5 | 6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5 |
| linux | linux | >= daae2d25a4779b272a66ddd01f5810bcee822b9e < 902cc2507091a81643502d8ceb0e2f105e902518 | 902cc2507091a81643502d8ceb0e2f105e902518 |
| linux | linux | >= daae2d25a4779b272a66ddd01f5810bcee822b9e < b0637f4bd426925f5c3a15e8f8e36190fe06bac5 | b0637f4bd426925f5c3a15e8f8e36190fe06bac5 |
| linux | linux | >= daae2d25a4779b272a66ddd01f5810bcee822b9e < 6cf0981c2233f97d56938d9d61845383d6eb227c | 6cf0981c2233f97d56938d9d61845383d6eb227c |
| linux | linux_kernel | >= 0 < 5.10.178-1 | 5.10.178-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 4.14 < 4.14.303 | 4.14.303 |
| linux | linux_kernel | >= 4.15 < 4.19.270 | 4.19.270 |
| linux | linux_kernel | >= 4.20 < 5.4.229 | 5.4.229 |
| linux | linux_kernel | >= 5.11 < 5.15.86 | 5.15.86 |
| linux | linux_kernel | >= 5.16 < 6.0.16 | 6.0.16 |
| linux | linux_kernel | >= 5.5 < 5.10.163 | 5.10.163 |
| linux | linux_kernel | >= 6.1 < 6.1.2 | 6.1.2 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2022-50505: 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_do
osv·2025-10-04·CVSS 5.5
CVE-2022-50505 [MEDIUM] CVE-2022-50505: 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_do
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.
GHSA
GHSA-354h-9xfq-qm7v: 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_
ghsa_unreviewed·2025-10-04
CVE-2022-50505 [MEDIUM] GHSA-354h-9xfq-qm7v: 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_
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.
Red Hat
kernel: iommu/amd: Fix pci device refcount leak in ppr_notifier()
vendor_redhat·2025-10-04·CVSS 5.5
CVE-2022-50505 [MEDIUM] CWE-911 kernel: iommu/amd: Fix pci device refcount leak in ppr_notifier()
kernel: iommu/amd: Fix pci device refcount leak in ppr_notifier()
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.
A reference counting violation was found in the Linux kernel's AMD IOMMU PPR (Peripheral Page Request) notification handler. When the handler looks up PCI devices using pci_get_domain_bus_and_slot, it receives a reference-counted device pointer but never releases that reference before returning. This creates permanent reference leaks that
Debian
CVE-2022-50505: linux - In the Linux kernel, the following vulnerability has been resolved: iommu/amd: ...
vendor_debian·2022·CVSS 5.5
CVE-2022-50505 [MEDIUM] CVE-2022-50505: linux - In the Linux kernel, the following vulnerability has been resolved: iommu/amd: ...
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.
Scope: local
bookworm: resolved (fixed in 6.1.4-1)
bullseye: resolved (fixed in 5.10.178-1)
forky: resolved (fixed in 6.1.4-1)
sid: resolved (fixed in 6.1.4-1)
trixie: resolved (fixed in 6.1.4-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://git.kernel.org/stable/c/03f51c72997559e73b327608f0cccfded715c9a0https://git.kernel.org/stable/c/6cf0981c2233f97d56938d9d61845383d6eb227chttps://git.kernel.org/stable/c/6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5https://git.kernel.org/stable/c/8581ec1feb895ff596fe3d326d9ba320083290aahttps://git.kernel.org/stable/c/902cc2507091a81643502d8ceb0e2f105e902518https://git.kernel.org/stable/c/b0637f4bd426925f5c3a15e8f8e36190fe06bac5https://git.kernel.org/stable/c/bdb2113dd8f17a3cc84a2b4be4968a849f69ec72https://git.kernel.org/stable/c/efd50c65fd1cdef63eb58825f3fe72496443764c
2025-10-04
Published