iommu/amd: Fix pci device refcount leak in ppr_notifier()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4.14.303, Kernel 4.19.270, Kernel 5.4.229 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.14 <4.14.303, >=4.15 <4.19.270, >=4.20 <5.4.229, >=5.11 <5.15.86, >=5.16 <6.0.16, >=5.5 <5.10.163, >=6.1 <6.1.2, >=daae2d25a4779b272a66ddd01f5810bcee822b9e <6cf0981c2233f97d56938d9d61845383d6eb227c, >=daae2d25a4779b272a66ddd01f5810bcee822b9e <6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5, >=daae2d25a4779b272a66ddd01f5810bcee822b9e <8581ec1feb895ff596fe3d326d9ba320083290aa, >=daae2d25a4779b272a66ddd01f5810bcee822b9e <902cc2507091a81643502d8ceb0e2f105e902518, >=daae2d25a4779b272a66ddd01f5810bcee822b9e <b0637f4bd426925f5c3a15e8f8e36190fe06bac5, >=daae2d25a4779b272a66ddd01f5810bcee822b9e <bdb2113dd8f17a3cc84a2b4be4968a849f69ec72, >=daae2d25a4779b272a66ddd01f5810bcee822b9e <efd50c65fd1cdef63eb58825f3fe72496443764c, =4.14, >=daae2d25a4779b272a66ddd01f5810bcee822b9e <03f51c72997559e73b327608f0cccfded715c9a0 | 4.14.303, 4.19.270, 5.4.229, 5.15.86, 6.0.16, 5.10.163, 6.1.2, 6cf0981c2233f97d56938d9d61845383d6eb227c, 6e501b3fd7a2e1c4372d72bc70717aaca2beb8a5, 8581ec1feb895ff596fe3d326d9ba320083290aa, 902cc2507091a81643502d8ceb0e2f105e902518, b0637f4bd426925f5c3a15e8f8e36190fe06bac5, bdb2113dd8f17a3cc84a2b4be4968a849f69ec72, efd50c65fd1cdef63eb58825f3fe72496443764c, 03f51c72997559e73b327608f0cccfded715c9a0 |
| linux-kernel: Kernel | >=4.14.0 <4.14.303, >=4.15.0 <4.19.270, >=4.20.0 <5.4.229, >=5.11.0 <5.15.86, >=5.16.0 <6.0.16, >=5.5.0 <5.10.163, >=6.1.0 <6.1.2 | 4.14.303, 4.19.270, 5.4.229, 5.15.86, 6.0.16, 5.10.163, 6.1.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket