CVE-2022-50576

Source
https://cve.org/CVERecord?id=CVE-2022-50576
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50576.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50576
Downstream
Related
Published
2025-10-22T13:23:30.250Z
Modified
2026-03-20T12:22:36.248484Z
Summary
serial: pch: Fix PCI device refcount leak in pch_request_dma()
Details

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

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

As comment of pcigetslot() says, it returns a pcidevice with its refcount increased. The caller must decrement the reference count by calling pcidev_put().

Since 'dmadev' is only used to filter the channel in filter(), we can call pcidevput() before exiting from pchrequestdma(). Add the missing pcidev_put() for the normal and error path.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50576.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3c6a483275f47a2ef7119309ad3d791c10cf30da
Fixed
90ff030ca10b69feeebda1427550ebf9ed2ad868
Fixed
56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a
Fixed
dfd15c5550b9190d5b0f9bcacb3e6436322f3854
Fixed
d165388227aa7e46a9751b90bae6337b5335cdbb
Fixed
07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5
Fixed
6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02
Fixed
4f5d28865c665c9064de631a518f9bc8099d9ce4
Fixed
516614a371c26e3334625b4bca19a5362bf658d6
Fixed
8be3a7bf773700534a6e8f87f6ed2ed111254be5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50576.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.38
Fixed
4.9.337
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.303
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.270
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.229
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50576.json"