CVE-2022-49000
MEDIUMLinux Kernel 5.0-5.10.158 5.11-5.15.82 5.16-6.0.12 - Reference Count Leak in has_external_pci()
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix PCI device refcount leak in has_external_pci() for_each_pci_dev() is implemented by pci_get_device(). The comment of pci_get_device() says that it will increase the reference count for the returned pci_dev and also decrease the reference count for the input pci_dev @from if it is not NULL. If we break for_each_pci_dev() loop with pdev not NULL, we need to call pci_dev_put() to decrease the reference count. Add the missing pci_dev_put() before 'return true' to avoid reference count leak.
References (4)
Core 4
Core References
Scores
CVSS v3
5.5
EPSS
0.0024
EPSS Percentile
15.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
Status
published
Products (15)
linux/Kernel
5.0.0 - 5.10.158linux
linux/Kernel
5.11.0 - 5.15.82linux
linux/Kernel
5.16.0 - 6.0.12linux
Linux/Linux
< 5.0
Linux/Linux
5.0
Linux/Linux
5.10.158 - 5.10.*
Linux/Linux
5.15.82 - 5.15.*
Linux/Linux
6.0.12 - 6.0.*
Linux/Linux
6.1
Linux/Linux
89a6079df791aeace2044ea93be1b397195824ec - 10ed7655a17f6a3eaecd1293830488259ccd5723
... and 5 more
Published
Oct 21, 2024
Tracked Since
Feb 18, 2026