{"id":"CVE-2022-49000","published":"2024-10-21T20:06:14Z","modified":"2026-05-11T18:51:16Z","title":"iommu/vt-d: Fix PCI device refcount leak in has_external_pci()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/vt-d: Fix PCI device refcount leak in has_external_pci()\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() before 'return true' to avoid reference count leak.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00245,"percentile":0.16102,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/10ed7655a17f6a3eaecd1293830488259ccd5723","tags":[]},{"url":"https://git.kernel.org/stable/c/b6eea8b2e858a20ad58ac62dc2de90fea2413f94","tags":[]},{"url":"https://git.kernel.org/stable/c/17f67414718e6aba123335a33b7d15aa594fff34","tags":[]},{"url":"https://git.kernel.org/stable/c/afca9e19cc720bfafc75dc5ce429c185ca93f31d","tags":[]}],"priority":{"score":3.2,"factors":[{"name":"EPSS percentile","points":3.22}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 89a6079df791aeace2044ea93be1b397195824ec, < 10ed7655a17f6a3eaecd1293830488259ccd5723",">= 89a6079df791aeace2044ea93be1b397195824ec, < b6eea8b2e858a20ad58ac62dc2de90fea2413f94",">= 89a6079df791aeace2044ea93be1b397195824ec, < 17f67414718e6aba123335a33b7d15aa594fff34",">= 89a6079df791aeace2044ea93be1b397195824ec, < afca9e19cc720bfafc75dc5ce429c185ca93f31d"]},{"vendor":"Linux","product":"Linux","versions":["5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T13:15:17.821654Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53884","exploited":false,"provenance":"source"}}