CVE-2022-50659 — Improper Update of Reference Count in Linux
Severity
5.5MEDIUM
No vectorEPSS
0.1%
top 80.33%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
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
▶CVEListV5linux/linuxef5d862734b84239e0140319a95fb0bbff5ef394 — 88f4ea623f59155280d99d1a59a968f838472c4a+9
🔴Vulnerability Details
3GHSA▶
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 by↗2025-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 p↗2025-12-09