CVE-2022-49002: iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
Vulnerability summary
CVE-2022-49002 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.2% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 7Timeline
- 21-10-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu113 products
- linuxAll versions (No fix recorded) | < 4.15.0-206.217 | < 5.4.0-144.161 | < 5.15.0-67.74
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1151.164 | < 5.4.0-1097.105 | < 5.15.0-1031.35
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 2e45528930388658603ea24d49cf52867b928d3e, < d47bc9d7bcdbb9adc9703513d964b514fee5b0bf | ≥ 2e45528930388658603ea24d49cf52867b928d3e, < 71c4a621985fc051ab86d3a86c749069a993fcb2 | ≥ 2e45528930388658603ea24d49cf52867b928d3e, < 876d7bfb89273997056220029ff12b1c2cc4691d | ≥ 2e45528930388658603ea24d49cf52867b928d3e, < cbdd83bd2fd67142b03ce9dbdd1eab322ff7321f | ≥ 2e45528930388658603ea24d49cf52867b928d3e, < a5c65cd56aed027f8a97fda8b691caaeb66d115e | ≥ 2e45528930388658603ea24d49cf52867b928d3e, < bdb613ef179ad4bb9d56a2533e9b30e434f1dfb7 | ≥ 2e45528930388658603ea24d49cf52867b928d3e, < 2a8f7b90681472948de172dbbf5a54cd342870aa | ≥ 2e45528930388658603ea24d49cf52867b928d3e, < 4bedbbd782ebbe7287231fea862c158d4f08a9e3 | 3.15
- linux_kernel≥ 3.15, < 4.9.335 | ≥ 4.10, < 4.14.301 | ≥ 4.15, < 4.19.268 | ≥ 4.20, < 5.4.226 | ≥ 5.5, < 5.10.158 | ≥ 5.11, < 5.15.82 | ≥ 5.16, < 6.0.12 | 6.1:rc1 | 6.1:rc2 | 6.1:rc3 | 6.1:rc4 | 6.1:rc5 | 6.1:rc6 | 6.1:rc7
Debian1 product
- linux< 6.0.12-1
3 vendors · 116 products