CVE-2022-49002
published 2024-10-21CVE-2022-49002: In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init() for_each_pci_dev() is…
PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.25%
16.3th percentile
In the Linux kernel, the following vulnerability has been resolved:
iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
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 error path to avoid reference count leak.
Affected
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.12-1 (bookworm) | linux 6.0.12-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 2e45528930388658603ea24d49cf52867b928d3e < d47bc9d7bcdbb9adc9703513d964b514fee5b0bf | d47bc9d7bcdbb9adc9703513d964b514fee5b0bf |
| linux | linux | >= 2e45528930388658603ea24d49cf52867b928d3e < 71c4a621985fc051ab86d3a86c749069a993fcb2 | 71c4a621985fc051ab86d3a86c749069a993fcb2 |
| linux | linux | >= 2e45528930388658603ea24d49cf52867b928d3e < 876d7bfb89273997056220029ff12b1c2cc4691d | 876d7bfb89273997056220029ff12b1c2cc4691d |
| linux | linux | >= 2e45528930388658603ea24d49cf52867b928d3e < cbdd83bd2fd67142b03ce9dbdd1eab322ff7321f | cbdd83bd2fd67142b03ce9dbdd1eab322ff7321f |
| linux | linux | >= 2e45528930388658603ea24d49cf52867b928d3e < a5c65cd56aed027f8a97fda8b691caaeb66d115e | a5c65cd56aed027f8a97fda8b691caaeb66d115e |
| linux | linux | >= 2e45528930388658603ea24d49cf52867b928d3e < bdb613ef179ad4bb9d56a2533e9b30e434f1dfb7 | bdb613ef179ad4bb9d56a2533e9b30e434f1dfb7 |
| linux | linux | >= 2e45528930388658603ea24d49cf52867b928d3e < 2a8f7b90681472948de172dbbf5a54cd342870aa | 2a8f7b90681472948de172dbbf5a54cd342870aa |
| linux | linux | >= 2e45528930388658603ea24d49cf52867b928d3e < 4bedbbd782ebbe7287231fea862c158d4f08a9e3 | 4bedbbd782ebbe7287231fea862c158d4f08a9e3 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.158-1 | 5.10.158-1 |
| linux | linux_kernel | >= 0 < 6.0.12-1 | 6.0.12-1 |
| linux | linux_kernel | >= 0 < 6.0.12-1 | 6.0.12-1 |
| linux | linux_kernel | >= 0 < 6.0.12-1 | 6.0.12-1 |
| linux | linux_kernel | >= 3.15 < 4.9.335 | 4.9.335 |
| linux | linux_kernel | >= 4.10 < 4.14.301 | 4.14.301 |
| linux | linux_kernel | >= 4.15 < 4.19.268 | 4.19.268 |
| linux | linux_kernel | >= 4.20 < 5.4.226 | 5.4.226 |
| linux | linux_kernel | >= 5.11 < 5.15.82 | 5.15.82 |
| linux | linux_kernel | >= 5.16 < 6.0.12 | 6.0.12 |
| linux | linux_kernel | >= 5.5 < 5.10.158 | 5.10.158 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2022-49002: In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init() for_each_pci_dev
osv·2024-10-21·CVSS 5.5
CVE-2022-49002 [MEDIUM] CVE-2022-49002: In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init() for_each_pci_dev
In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init() 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 error path to avoid reference count leak.
GHSA
GHSA-wp5m-wvhw-w3c5: In the Linux kernel, the following vulnerability has been resolved:
iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
for_each_pci_d
ghsa_unreviewed·2024-10-21
CVE-2022-49002 [MEDIUM] GHSA-wp5m-wvhw-w3c5: In the Linux kernel, the following vulnerability has been resolved:
iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
for_each_pci_d
In the Linux kernel, the following vulnerability has been resolved:
iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
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 error path to avoid reference count leak.
Red Hat
kernel: iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
vendor_redhat·2024-10-21·CVSS 5.5
CVE-2022-49002 [MEDIUM] CWE-401 kernel: iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
kernel: iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
In the Linux kernel, the following vulnerability has been resolved:
iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
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 error path to avoid reference count leak.
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel-r
Debian
CVE-2022-49002: linux - In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d:...
vendor_debian·2022·CVSS 5.5
CVE-2022-49002 [MEDIUM] CVE-2022-49002: linux - In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d:...
In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init() 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 error path to avoid reference count leak.
Scope: local
bookworm: resolved (fixed in 6.0.12-1)
bullseye: resolved (fixed in 5.10.158-1)
forky: resolved (fixed in 6.0.12-1)
sid: resolved (fixed in 6.0.12-1)
trixie: resolved (fixed in 6.0.12-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://git.kernel.org/stable/c/2a8f7b90681472948de172dbbf5a54cd342870aahttps://git.kernel.org/stable/c/4bedbbd782ebbe7287231fea862c158d4f08a9e3https://git.kernel.org/stable/c/71c4a621985fc051ab86d3a86c749069a993fcb2https://git.kernel.org/stable/c/876d7bfb89273997056220029ff12b1c2cc4691dhttps://git.kernel.org/stable/c/a5c65cd56aed027f8a97fda8b691caaeb66d115ehttps://git.kernel.org/stable/c/bdb613ef179ad4bb9d56a2533e9b30e434f1dfb7https://git.kernel.org/stable/c/cbdd83bd2fd67142b03ce9dbdd1eab322ff7321fhttps://git.kernel.org/stable/c/d47bc9d7bcdbb9adc9703513d964b514fee5b0bf
2024-10-21
Published