CVE-2022-50576

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

N/A
Published: October 22, 2025 at 01:23 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.38 ≤ v < 4.14.3032.6.38 ≤ v < 4.19.2702.6.38 ≤ v < 4.9.3372.6.38 ≤ v < 5.10.1632.6.38 ≤ v < 5.15.862.6.38 ≤ v < 5.4.2292.6.38 ≤ v < 6.0.162.6.38 ≤ v < 6.1.22.6.38 ≤ v < 6.22.6.383c6a483275f47a2ef7119309ad3d791c10cf30da
Vendor states this is fixed in 07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5 (fixed)
Vendor states this is fixed in 4f5d28865c665c9064de631a518f9bc8099d9ce4 (fixed)
Vendor states this is fixed in 516614a371c26e3334625b4bca19a5362bf658d6 (fixed)
Vendor states this is fixed in 56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a (fixed)
Vendor states this is fixed in 6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02 (fixed)
Vendor states this is fixed in 8be3a7bf773700534a6e8f87f6ed2ed111254be5 (fixed)
Vendor states this is fixed in 90ff030ca10b69feeebda1427550ebf9ed2ad868 (fixed)
Vendor states this is fixed in d165388227aa7e46a9751b90bae6337b5335cdbb (fixed)
Vendor states this is fixed in dfd15c5550b9190d5b0f9bcacb3e6436322f3854 (fixed)
Vendor states this is fixed in 2.6.38 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 4.9.337 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card