{"id":"CVE-2022-49002","published":"2024-10-21T20:06:16Z","modified":"2026-05-11T18:51:18Z","title":"iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()","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 dmar_dev_scope_init()\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 error path to avoid reference count leak.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00249,"percentile":0.16502,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/d47bc9d7bcdbb9adc9703513d964b514fee5b0bf","tags":[]},{"url":"https://git.kernel.org/stable/c/71c4a621985fc051ab86d3a86c749069a993fcb2","tags":[]},{"url":"https://git.kernel.org/stable/c/876d7bfb89273997056220029ff12b1c2cc4691d","tags":[]},{"url":"https://git.kernel.org/stable/c/cbdd83bd2fd67142b03ce9dbdd1eab322ff7321f","tags":[]},{"url":"https://git.kernel.org/stable/c/a5c65cd56aed027f8a97fda8b691caaeb66d115e","tags":[]},{"url":"https://git.kernel.org/stable/c/bdb613ef179ad4bb9d56a2533e9b30e434f1dfb7","tags":[]},{"url":"https://git.kernel.org/stable/c/2a8f7b90681472948de172dbbf5a54cd342870aa","tags":[]},{"url":"https://git.kernel.org/stable/c/4bedbbd782ebbe7287231fea862c158d4f08a9e3","tags":[]}],"priority":{"score":3.3,"factors":[{"name":"EPSS percentile","points":3.3}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2e45528930388658603ea24d49cf52867b928d3e, < d47bc9d7bcdbb9adc9703513d964b514fee5b0bf",">= 2e45528930388658603ea24d49cf52867b928d3e, < 71c4a621985fc051ab86d3a86c749069a993fcb2",">= 2e45528930388658603ea24d49cf52867b928d3e, < 876d7bfb89273997056220029ff12b1c2cc4691d",">= 2e45528930388658603ea24d49cf52867b928d3e, < cbdd83bd2fd67142b03ce9dbdd1eab322ff7321f",">= 2e45528930388658603ea24d49cf52867b928d3e, < a5c65cd56aed027f8a97fda8b691caaeb66d115e",">= 2e45528930388658603ea24d49cf52867b928d3e, < bdb613ef179ad4bb9d56a2533e9b30e434f1dfb7",">= 2e45528930388658603ea24d49cf52867b928d3e, < 2a8f7b90681472948de172dbbf5a54cd342870aa",">= 2e45528930388658603ea24d49cf52867b928d3e, < 4bedbbd782ebbe7287231fea862c158d4f08a9e3"]},{"vendor":"Linux","product":"Linux","versions":["3.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T13:15:03.202654Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-53886","exploited":false,"provenance":"source"}}