CVE-2022-49002
MEDIUMLinux Kernel <=6.0.12 Reference Count Leak in dmar_dev_scope_init()
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init() 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() for the error path to avoid reference count leak.
References (8)
Core 8
Core References
Scores
CVSS v3
5.5
EPSS
0.0025
EPSS Percentile
16.2%
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 (27)
linux/Kernel
3.15.0 - 4.9.335linux
linux/Kernel
4.10.0 - 4.14.301linux
linux/Kernel
4.15.0 - 4.19.268linux
linux/Kernel
4.20.0 - 5.4.226linux
linux/Kernel
5.11.0 - 5.15.82linux
linux/Kernel
5.16.0 - 6.0.12linux
linux/Kernel
5.5.0 - 5.10.158linux
Linux/Linux
< 3.15
Linux/Linux
2e45528930388658603ea24d49cf52867b928d3e - 2a8f7b90681472948de172dbbf5a54cd342870aa
Linux/Linux
2e45528930388658603ea24d49cf52867b928d3e - 4bedbbd782ebbe7287231fea862c158d4f08a9e3
... and 17 more
Published
Oct 21, 2024
Tracked Since
Feb 18, 2026