CVE-2022-50760Missing Release of Resource after Effective Lifetime in Linux

Severity
5.5MEDIUM
No vector
EPSS
0.0%
top 84.94%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 24

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.

Affected Packages4 packages

Linuxlinux/linux_kernel4.2.04.9.337+7
Debianlinux/linux_kernel< 5.10.178-1+3
CVEListV5linux/linuxd38ceaf99ed015f2a0b9af3499791bd3a3daae216611feef35c0c8c4d297b28a7fc6ab3a2c47eca7+9
debiandebian/linux< linux 6.1.4-1 (bookworm)

🔴Vulnerability Details

3
GHSA
GHSA-hhxv-6gp3-rvmc: In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios() As comment of2025-12-24
OSV
CVE-2022-50760: 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 p2025-12-24
OSV
drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()2025-12-24

📋Vendor Advisories

2
Red Hat
kernel: Linux kernel: Resource exhaustion in amdgpu due to PCI device reference count leak2025-12-24
Debian
CVE-2022-50760: linux - In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu:...2022

🕵️Threat Intelligence

1
Wiz
CVE-2022-50760 Impact, Exploitability, and Mitigation Steps | Wiz