{"id":"CVE-2022-49000","aliases":["CVE-2022-49000"],"related":[],"kind":"vulnerability","state":"published","title":"iommu/vt-d: Fix PCI device refcount leak in has_external_pci()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iommu/vt-d: Se soluciona la fuga de recuento de referencias del dispositivo PCI en has_external_pci(). for_each_pci_dev() se implementa mediante pci_get_device(). El comentario de pci_get_device() dice que aumentará el recuento de referencias para el pci_dev devuelto y también disminuirá el recuento de referencias para el pci_dev de entrada @from si no es NULL. Si interrumpimos el bucle for_each_pci_dev() con pdev no NULL, debemos llamar a pci_dev_put() para disminuir el recuento de referencias. Agregue el pci_dev_put() faltante antes de 'return true' para evitar la fuga del recuento de referencias.","source":"nvd"}],"published":"2024-10-21T20:06:14.753Z","modified":"2026-06-17T05:16:49.030Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"89a6079df791aeace2044ea93be1b397195824ec","fixed":"10ed7655a17f6a3eaecd1293830488259ccd5723","status":"affected"},{"type":"git","introduced":"89a6079df791aeace2044ea93be1b397195824ec","fixed":"b6eea8b2e858a20ad58ac62dc2de90fea2413f94","status":"affected"},{"type":"git","introduced":"89a6079df791aeace2044ea93be1b397195824ec","fixed":"17f67414718e6aba123335a33b7d15aa594fff34","status":"affected"},{"type":"git","introduced":"89a6079df791aeace2044ea93be1b397195824ec","fixed":"afca9e19cc720bfafc75dc5ce429c185ca93f31d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.10.158","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.82","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.12","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.0","fixed":"5.10.158"},{"status":"affected","introduced":"5.11","fixed":"5.15.82"},{"status":"affected","introduced":"5.16","fixed":"6.0.12"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/10ed7655a17f6a3eaecd1293830488259ccd5723","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6eea8b2e858a20ad58ac62dc2de90fea2413f94","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/17f67414718e6aba123335a33b7d15aa594fff34","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afca9e19cc720bfafc75dc5ce429c185ca93f31d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:15:17.821Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49000","url":"https://www.cve.org/CVERecord?id=CVE-2022-49000","licence":"CVE Terms of Use","modified":"2026-05-11T18:51:16.031Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49000","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49000","licence":"Public domain","modified":"2026-06-17T05:16:49.030Z"}],"updatedAt":"2026-11-25T22:58:20.025Z","epss":{"score":0.00245,"percentile":0.16899,"date":"2026-12-01T12:00:22.000Z"}}