CVE-2022-50659Improper Update of Reference Count in Linux

Severity
5.5MEDIUM
No vector
EPSS
0.1%
top 80.33%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 9

Description

In the Linux kernel, the following vulnerability has been resolved: hwrng: geode - Fix PCI device refcount 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. We add a new struct 'a

Affected Packages4 packages

Linuxlinux/linux_kernel2.6.184.9.337+7
Debianlinux/linux_kernel< 5.10.178-1+3
CVEListV5linux/linuxef5d862734b84239e0140319a95fb0bbff5ef39488f4ea623f59155280d99d1a59a968f838472c4a+9
debiandebian/linux< linux 6.1.4-1 (bookworm)

🔴Vulnerability Details

3
OSV
hwrng: geode - Fix PCI device refcount leak2025-12-09
GHSA
GHSA-q98r-g989-36w3: In the Linux kernel, the following vulnerability has been resolved: hwrng: geode - Fix PCI device refcount leak for_each_pci_dev() is implemented by2025-12-09
OSV
CVE-2022-50659: In the Linux kernel, the following vulnerability has been resolved: hwrng: geode - Fix PCI device refcount leak for_each_pci_dev() is implemented by p2025-12-09

📋Vendor Advisories

2
Red Hat
kernel: hwrng: geode - Fix PCI device refcount leak2025-12-09
Debian
CVE-2022-50659: linux - In the Linux kernel, the following vulnerability has been resolved: hwrng: geod...2022