CVE-2022-50576

published 22 Oct 2025 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5, Kernel 4f5d28865c665c9064de631a518f9bc8099d9ce4, Kernel 516614a371c26e3334625b4bca19a5362bf658d6 and 6 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.38, >=3c6a483275f47a2ef7119309ad3d791c10cf30da <07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5, >=3c6a483275f47a2ef7119309ad3d791c10cf30da <4f5d28865c665c9064de631a518f9bc8099d9ce4, >=3c6a483275f47a2ef7119309ad3d791c10cf30da <516614a371c26e3334625b4bca19a5362bf658d6, >=3c6a483275f47a2ef7119309ad3d791c10cf30da <56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a, >=3c6a483275f47a2ef7119309ad3d791c10cf30da <6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02, >=3c6a483275f47a2ef7119309ad3d791c10cf30da <8be3a7bf773700534a6e8f87f6ed2ed111254be5, >=3c6a483275f47a2ef7119309ad3d791c10cf30da <90ff030ca10b69feeebda1427550ebf9ed2ad868, >=3c6a483275f47a2ef7119309ad3d791c10cf30da <d165388227aa7e46a9751b90bae6337b5335cdbb, >=3c6a483275f47a2ef7119309ad3d791c10cf30da <dfd15c5550b9190d5b0f9bcacb3e6436322f385407f4ca68b0f6bf84b6b391c14b59fd179fcde9c5, 4f5d28865c665c9064de631a518f9bc8099d9ce4, 516614a371c26e3334625b4bca19a5362bf658d6, 56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a, 6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02, 8be3a7bf773700534a6e8f87f6ed2ed111254be5, 90ff030ca10b69feeebda1427550ebf9ed2ad868, d165388227aa7e46a9751b90bae6337b5335cdbb, dfd15c5550b9190d5b0f9bcacb3e6436322f3854

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50576 severity on Zeptric[![CVE-2022-50576](https://zeptric.io/badge/cve/CVE-2022-50576.svg)](https://zeptric.io/cve/CVE-2022-50576)