CVE-2022-50868
Linux Kernel - PCI Device Reference Count Leak in hwrng amd Module
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: hwrng: amd - Fix PCI device refcount leak 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 normal and error path.
References (9)
Core 9
Core References
Scores
EPSS
0.0021
EPSS Percentile
11.6%
Details
Status
published
Products (28)
linux/Kernel
2.6.18 - 4.9.337linux
linux/Kernel
4.10.0 - 4.14.303linux
linux/Kernel
4.15.0 - 4.19.270linux
linux/Kernel
4.20.0 - 5.4.229linux
linux/Kernel
5.11.0 - 5.15.86linux
linux/Kernel
5.16.0 - 6.0.16linux
linux/Kernel
5.5.0 - 5.10.163linux
linux/Kernel
6.1.0 - 6.1.2linux
Linux/Linux
< 2.6.18
Linux/Linux
2.6.18
... and 18 more
Published
Dec 30, 2025
Tracked Since
Feb 18, 2026