CVE-2022-50576

serial: pch: Fix PCI device refcount leak in pch_request_dma()

published October 22, 2025

CVSS
—
EPSS
0%
Percentile
15.2
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

serial: pch: Fix PCI device refcount leak in pch_request_dma()

As comment of pci_get_slot() says, it returns a pci_device with its

refcount increased. The caller must decrement the reference count by

calling pci_dev_put().

Since 'dma_dev' is only used to filter the channel in filter(), we can

call pci_dev_put() before exiting from pch_request_dma(). Add the

missing pci_dev_put() for the normal and error path.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00249 · 15.2th percentile
Published
2025-10-22T13:23Z
EPSS history
Timeline
  • 22 OCT 13:23Z
    serial: pch: Fix PCI device refcount leak in pch_request_dma()
    cvelistv5