# CVE-2022-50576: serial: pch: Fix PCI device refcount leak in pch\_request\_dma()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **Published:** 2025-10-22T13:23:30.250Z
- **Modified:** 2026-06-17T05:23:49.347Z

## Who should check

- Anyone running Linux \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 90ff030ca10b69feeebda1427550ebf9ed2ad868; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< dfd15c5550b9190d5b0f9bcacb3e6436322f3854; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< d165388227aa7e46a9751b90bae6337b5335cdbb; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 4f5d28865c665c9064de631a518f9bc8099d9ce4; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 516614a371c26e3334625b4bca19a5362bf658d6; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 8be3a7bf773700534a6e8f87f6ed2ed111254be5
- Anyone running Linux 2.6.38

## 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 and fixed versions

- Linux: \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 90ff030ca10b69feeebda1427550ebf9ed2ad868; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< dfd15c5550b9190d5b0f9bcacb3e6436322f3854; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< d165388227aa7e46a9751b90bae6337b5335cdbb; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 4f5d28865c665c9064de631a518f9bc8099d9ce4; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 516614a371c26e3334625b4bca19a5362bf658d6; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 8be3a7bf773700534a6e8f87f6ed2ed111254be5 (cvelist)
- Linux: 2.6.38 (cvelist)

## Mitigation

- Upgrade Linux to 8be3a7bf773700534a6e8f87f6ed2ed111254be5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50576. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50576.md
Affected: Linux >= 3c6a483275f47a2ef7119309ad3d791c10cf30da, < 90ff030ca10b69feeebda1427550ebf9ed2ad868; >= 3c6a483275f47a2ef7119309ad3d791c10cf30da, < 56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a; >= 3c6a483275f47a2ef7119309ad3d791c10cf30da, < dfd15c5550b9190d5b0f9bcacb3e6436322f3854; >= 3c6a483275f47a2ef711930…
Fixed in: Linux 90ff030ca10b69feeebda1427550ebf9ed2ad868, Linux 56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a, Linux 07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5, Linux 6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02, Linux 4f5d28865c665c9064de631a518f9bc8099d9ce4, Linux 516614a371c26e3334625b4bca19a5362bf658d6, Linux 8be3a…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50576 being exploited?

There is no confirmed exploitation: CVE-2022-50576 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50576?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2022-50576?

Linux \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 90ff030ca10b69feeebda1427550ebf9ed2ad868; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< dfd15c5550b9190d5b0f9bcacb3e6436322f3854; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< d165388227aa7e46a9751b90bae6337b5335cdbb; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 4f5d28865c665c9064de631a518f9bc8099d9ce4; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 516614a371c26e3334625b4bca19a5362bf658d6; \>= 3c6a483275f47a2ef7119309ad3d791c10cf30da, \< 8be3a7bf773700534a6e8f87f6ed2ed111254be5; Linux 2.6.38.

### Is there a fix for CVE-2022-50576?

Yes. Fixed in Linux 90ff030ca10b69feeebda1427550ebf9ed2ad868, Linux 56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a, Linux 07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5, Linux 6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02, Linux 4f5d28865c665c9064de631a518f9bc8099d9ce4, Linux 516614a371c26e3334625b4bca19a5362bf658d6, Linux 8be3a7bf773700534a6e8f87f6ed2ed111254be5. Upgrade Linux to 8be3a7bf773700534a6e8f87f6ed2ed111254be5 or later.

### How do I check if I'm affected by CVE-2022-50576?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/90ff030ca10b69feeebda1427550ebf9ed2ad868>
- other: <https://git.kernel.org/stable/c/56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a>
- other: <https://git.kernel.org/stable/c/dfd15c5550b9190d5b0f9bcacb3e6436322f3854>
- other: <https://git.kernel.org/stable/c/d165388227aa7e46a9751b90bae6337b5335cdbb>
- other: <https://git.kernel.org/stable/c/07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5>
- other: <https://git.kernel.org/stable/c/6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02>
- other: <https://git.kernel.org/stable/c/4f5d28865c665c9064de631a518f9bc8099d9ce4>
- other: <https://git.kernel.org/stable/c/516614a371c26e3334625b4bca19a5362bf658d6>
- other: <https://git.kernel.org/stable/c/8be3a7bf773700534a6e8f87f6ed2ed111254be5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50576>

HTML: <https://flawdb.com/CVE-2022-50576> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50576>
