{"cve":"CVE-2022-50868","nvd":{"published":"2025-12-30T13:16:01.643","modified":"2026-06-17T05:24:19.437","status":"Deferred","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwrng: amd - Fix PCI device refcount leak\n\nfor_each_pci_dev() is implemented by pci_get_device(). The comment of\npci_get_device() says that it will increase the reference count for the\nreturned pci_dev and also decrease the reference count for the input\npci_dev @from if it is not NULL.\n\nIf we break for_each_pci_dev() loop with pdev not NULL, we need to call\npci_dev_put() to decrease the reference count. Add the missing\npci_dev_put() for the normal and error path.","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["https://git.kernel.org/stable/c/1199f8e02941b326c60ab71a63002b7c80e38212","https://git.kernel.org/stable/c/2b79a5e560779b35e1164d57ae35c48b43373082","https://git.kernel.org/stable/c/2e10ecd012ae2b2a374b34f307e9bc1e6096c03d","https://git.kernel.org/stable/c/526c316948819d3ecd2bb20fe5e2580c51a1b760","https://git.kernel.org/stable/c/5998e5c30e839f73e62cb29e0d9617b0d16ccba3"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:18:08.089039631+00:00"},"epss":{"cve":"CVE-2022-50868","score":0.00242,"percentile":0.15437,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}