CVE-2022-50760
Unknown
Unknown - Not Provided
Reference Count Leak in Linux amdgpu PCI Device Handling
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()
As comment of pci_get_class() says, it returns a pci_device with its
refcount increased and decreased the refcount for the input parameter
@from if it is not NULL.
If we break the loop in amdgpu_atrm_get_bios() with 'pdev' not NULL, we
need to call pci_dev_put() to decrease the refcount. Add the missing
pci_dev_put() to avoid refcount leak.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a reference count leak in the Linux kernel's amdgpu driver, specifically in the function amdgpu_atrm_get_bios(). The issue occurs because the function fails to call pci_dev_put() to decrease the reference count of a PCI device when breaking a loop with a non-NULL device pointer, leading to a refcount leak.
How can this vulnerability impact me? :
The reference count leak can lead to resource management issues in the kernel, potentially causing memory leaks or instability in the system due to unreleased PCI device references.
Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70