cbcvebase.
CVE-2022-49002
published 2024-10-21

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() 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
VendorProductVersion rangeFixed in
debianlinux< linux 6.0.12-1 (bookworm)linux 6.0.12-1 (bookworm)
linuxlinux
linuxlinux>= 2e45528930388658603ea24d49cf52867b928d3e < d47bc9d7bcdbb9adc9703513d964b514fee5b0bfd47bc9d7bcdbb9adc9703513d964b514fee5b0bf
linuxlinux>= 2e45528930388658603ea24d49cf52867b928d3e < 71c4a621985fc051ab86d3a86c749069a993fcb271c4a621985fc051ab86d3a86c749069a993fcb2
linuxlinux>= 2e45528930388658603ea24d49cf52867b928d3e < 876d7bfb89273997056220029ff12b1c2cc4691d876d7bfb89273997056220029ff12b1c2cc4691d
linuxlinux>= 2e45528930388658603ea24d49cf52867b928d3e < cbdd83bd2fd67142b03ce9dbdd1eab322ff7321fcbdd83bd2fd67142b03ce9dbdd1eab322ff7321f
linuxlinux>= 2e45528930388658603ea24d49cf52867b928d3e < a5c65cd56aed027f8a97fda8b691caaeb66d115ea5c65cd56aed027f8a97fda8b691caaeb66d115e
linuxlinux>= 2e45528930388658603ea24d49cf52867b928d3e < bdb613ef179ad4bb9d56a2533e9b30e434f1dfb7bdb613ef179ad4bb9d56a2533e9b30e434f1dfb7
linuxlinux>= 2e45528930388658603ea24d49cf52867b928d3e < 2a8f7b90681472948de172dbbf5a54cd342870aa2a8f7b90681472948de172dbbf5a54cd342870aa
linuxlinux>= 2e45528930388658603ea24d49cf52867b928d3e < 4bedbbd782ebbe7287231fea862c158d4f08a9e34bedbbd782ebbe7287231fea862c158d4f08a9e3
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.158-15.10.158-1
linuxlinux_kernel>= 0 < 6.0.12-16.0.12-1
linuxlinux_kernel>= 0 < 6.0.12-16.0.12-1
linuxlinux_kernel>= 0 < 6.0.12-16.0.12-1
linuxlinux_kernel>= 3.15 < 4.9.3354.9.335
linuxlinux_kernel>= 4.10 < 4.14.3014.14.301
linuxlinux_kernel>= 4.15 < 4.19.2684.19.268
linuxlinux_kernel>= 4.20 < 5.4.2265.4.226
linuxlinux_kernel>= 5.11 < 5.15.825.15.82
linuxlinux_kernel>= 5.16 < 6.0.126.0.12
linuxlinux_kernel>= 5.5 < 5.10.1585.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.