CVE-2022-48973: gpio: amd8111: Fix PCI device reference count leak
Vulnerability summary
CVE-2022-48973 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 14.6% 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: gpio: amd8111: Fix PCI device reference count leak 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() after the 'out' label. Since pci_dev_put() can handle NULL input parameter, there is no problem for the 'Device not found' branch. For the normal path, add pci_dev_put() in amd_gpio_exit().
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.24%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% 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≥ f942a7de047d8c599cc1a9a26293c8c7400450ea, < 4749c5cc147c9860b96db1e71cc36d1de1bd3f59 | ≥ f942a7de047d8c599cc1a9a26293c8c7400450ea, < 71d591ef873f9ebb86cd8d053b3caee785b2de6a | ≥ f942a7de047d8c599cc1a9a26293c8c7400450ea, < b2bc053ebbba57a06fa655db5ea796de2edce445 | ≥ f942a7de047d8c599cc1a9a26293c8c7400450ea, < 48bd5d3801f6b67cc144449d434abbd5043a6d37 | ≥ f942a7de047d8c599cc1a9a26293c8c7400450ea, < 5ee6413d3dd972930af787b2c0c7aaeb379fa521 | ≥ f942a7de047d8c599cc1a9a26293c8c7400450ea, < 4271515f189bd5fe2ec86b4089dab7cb804625d2 | ≥ f942a7de047d8c599cc1a9a26293c8c7400450ea, < e364ce04d8f840478b09eee57b614de7cf1e743e | ≥ f942a7de047d8c599cc1a9a26293c8c7400450ea, < 45fecdb9f658d9c82960c98240bc0770ade19aca | 3.6
- linux_kernel≥ 3.6, < 4.9.336 | ≥ 4.10, < 4.14.302 | ≥ 4.15, < 4.19.269 | ≥ 4.20, < 5.4.227 | ≥ 5.5, < 5.10.159 | ≥ 5.11, < 5.15.83 | ≥ 5.16, < 6.0.13 | 6.1:rc1 | 6.1:rc2 | 6.1:rc3 | 6.1:rc4 | 6.1:rc5 | 6.1:rc6 | 6.1:rc7 | 6.1:rc8
Debian1 product
- linux< 6.1.4-1
3 vendors · 116 products