CVE-2022-50576 (GCVE-0-2022-50576)
Vulnerability from cvelistv5 – Published: 2025-10-22 13:23 – Updated: 2026-05-11 19:22
VLAI
EPSS
VEX
Title
serial: pch: Fix PCI device refcount leak in pch_request_dma()
Summary
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.
Severity
No CVSS data available.
Assigner
References
9 references
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
3c6a483275f47a2ef7119309ad3d791c10cf30da , < 90ff030ca10b69feeebda1427550ebf9ed2ad868
(git)
Affected: 3c6a483275f47a2ef7119309ad3d791c10cf30da , < 56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a (git) Affected: 3c6a483275f47a2ef7119309ad3d791c10cf30da , < dfd15c5550b9190d5b0f9bcacb3e6436322f3854 (git) Affected: 3c6a483275f47a2ef7119309ad3d791c10cf30da , < d165388227aa7e46a9751b90bae6337b5335cdbb (git) Affected: 3c6a483275f47a2ef7119309ad3d791c10cf30da , < 07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5 (git) Affected: 3c6a483275f47a2ef7119309ad3d791c10cf30da , < 6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02 (git) Affected: 3c6a483275f47a2ef7119309ad3d791c10cf30da , < 4f5d28865c665c9064de631a518f9bc8099d9ce4 (git) Affected: 3c6a483275f47a2ef7119309ad3d791c10cf30da , < 516614a371c26e3334625b4bca19a5362bf658d6 (git) Affected: 3c6a483275f47a2ef7119309ad3d791c10cf30da , < 8be3a7bf773700534a6e8f87f6ed2ed111254be5 (git) |
guessed | |
| Linux | Linux |
Affected:
2.6.38
Unaffected: 0 , < 2.6.38 (semver) Unaffected: 4.9.337 , ≤ 4.9.* (semver) Unaffected: 4.14.303 , ≤ 4.14.* (semver) Unaffected: 4.19.270 , ≤ 4.19.* (semver) Unaffected: 5.4.229 , ≤ 5.4.* (semver) Unaffected: 5.10.163 , ≤ 5.10.* (semver) Unaffected: 5.15.86 , ≤ 5.15.* (semver) Unaffected: 6.0.16 , ≤ 6.0.* (semver) Unaffected: 6.1.2 , ≤ 6.1.* (semver) Unaffected: 6.2 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/tty/serial/pch_uart.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "90ff030ca10b69feeebda1427550ebf9ed2ad868",
"status": "affected",
"version": "3c6a483275f47a2ef7119309ad3d791c10cf30da",
"versionType": "git"
},
{
"lessThan": "56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a",
"status": "affected",
"version": "3c6a483275f47a2ef7119309ad3d791c10cf30da",
"versionType": "git"
},
{
"lessThan": "dfd15c5550b9190d5b0f9bcacb3e6436322f3854",
"status": "affected",
"version": "3c6a483275f47a2ef7119309ad3d791c10cf30da",
"versionType": "git"
},
{
"lessThan": "d165388227aa7e46a9751b90bae6337b5335cdbb",
"status": "affected",
"version": "3c6a483275f47a2ef7119309ad3d791c10cf30da",
"versionType": "git"
},
{
"lessThan": "07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5",
"status": "affected",
"version": "3c6a483275f47a2ef7119309ad3d791c10cf30da",
"versionType": "git"
},
{
"lessThan": "6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02",
"status": "affected",
"version": "3c6a483275f47a2ef7119309ad3d791c10cf30da",
"versionType": "git"
},
{
"lessThan": "4f5d28865c665c9064de631a518f9bc8099d9ce4",
"status": "affected",
"version": "3c6a483275f47a2ef7119309ad3d791c10cf30da",
"versionType": "git"
},
{
"lessThan": "516614a371c26e3334625b4bca19a5362bf658d6",
"status": "affected",
"version": "3c6a483275f47a2ef7119309ad3d791c10cf30da",
"versionType": "git"
},
{
"lessThan": "8be3a7bf773700534a6e8f87f6ed2ed111254be5",
"status": "affected",
"version": "3c6a483275f47a2ef7119309ad3d791c10cf30da",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/tty/serial/pch_uart.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.38"
},
{
"lessThan": "2.6.38",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"version": "4.9.337",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.303",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.270",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.229",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.86",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"version": "6.0.16",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.9.337",
"versionStartIncluding": "2.6.38",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.303",
"versionStartIncluding": "2.6.38",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.270",
"versionStartIncluding": "2.6.38",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.229",
"versionStartIncluding": "2.6.38",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.163",
"versionStartIncluding": "2.6.38",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.86",
"versionStartIncluding": "2.6.38",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.0.16",
"versionStartIncluding": "2.6.38",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.2",
"versionStartIncluding": "2.6.38",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.2",
"versionStartIncluding": "2.6.38",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nserial: pch: Fix PCI device refcount leak in pch_request_dma()\n\nAs comment of pci_get_slot() says, it returns a pci_device with its\nrefcount increased. The caller must decrement the reference count by\ncalling pci_dev_put().\n\nSince \u0027dma_dev\u0027 is only used to filter the channel in filter(), we can\ncall pci_dev_put() before exiting from pch_request_dma(). Add the\nmissing pci_dev_put() for the normal and error path."
}
],
"providerMetadata": {
"dateUpdated": "2026-05-11T19:22:05.824Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/90ff030ca10b69feeebda1427550ebf9ed2ad868"
},
{
"url": "https://git.kernel.org/stable/c/56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a"
},
{
"url": "https://git.kernel.org/stable/c/dfd15c5550b9190d5b0f9bcacb3e6436322f3854"
},
{
"url": "https://git.kernel.org/stable/c/d165388227aa7e46a9751b90bae6337b5335cdbb"
},
{
"url": "https://git.kernel.org/stable/c/07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5"
},
{
"url": "https://git.kernel.org/stable/c/6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02"
},
{
"url": "https://git.kernel.org/stable/c/4f5d28865c665c9064de631a518f9bc8099d9ce4"
},
{
"url": "https://git.kernel.org/stable/c/516614a371c26e3334625b4bca19a5362bf658d6"
},
{
"url": "https://git.kernel.org/stable/c/8be3a7bf773700534a6e8f87f6ed2ed111254be5"
}
],
"title": "serial: pch: Fix PCI device refcount leak in pch_request_dma()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-50576",
"datePublished": "2025-10-22T13:23:30.250Z",
"dateReserved": "2025-10-22T13:20:23.761Z",
"dateUpdated": "2026-05-11T19:22:05.824Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2022-50576",
"date": "2026-09-17",
"epss": "0.00232",
"percentile": "0.1424"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2022-50576\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-22T14:15:42.560\",\"lastModified\":\"2026-06-17T05:23:49.347\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nserial: pch: Fix PCI device refcount leak in pch_request_dma()\\n\\nAs comment of pci_get_slot() says, it returns a pci_device with its\\nrefcount increased. The caller must decrement the reference count by\\ncalling pci_dev_put().\\n\\nSince \u0027dma_dev\u0027 is only used to filter the channel in filter(), we can\\ncall pci_dev_put() before exiting from pch_request_dma(). Add the\\nmissing pci_dev_put() for the normal and error path.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/tty/serial/pch_uart.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3c6a483275f47a2ef7119309ad3d791c10cf30da\",\"lessThan\":\"90ff030ca10b69feeebda1427550ebf9ed2ad868\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c6a483275f47a2ef7119309ad3d791c10cf30da\",\"lessThan\":\"56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c6a483275f47a2ef7119309ad3d791c10cf30da\",\"lessThan\":\"dfd15c5550b9190d5b0f9bcacb3e6436322f3854\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c6a483275f47a2ef7119309ad3d791c10cf30da\",\"lessThan\":\"d165388227aa7e46a9751b90bae6337b5335cdbb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c6a483275f47a2ef7119309ad3d791c10cf30da\",\"lessThan\":\"07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c6a483275f47a2ef7119309ad3d791c10cf30da\",\"lessThan\":\"6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c6a483275f47a2ef7119309ad3d791c10cf30da\",\"lessThan\":\"4f5d28865c665c9064de631a518f9bc8099d9ce4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c6a483275f47a2ef7119309ad3d791c10cf30da\",\"lessThan\":\"516614a371c26e3334625b4bca19a5362bf658d6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c6a483275f47a2ef7119309ad3d791c10cf30da\",\"lessThan\":\"8be3a7bf773700534a6e8f87f6ed2ed111254be5\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/tty/serial/pch_uart.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.38\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.38\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.9.337\",\"lessThanOrEqual\":\"4.9.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.14.303\",\"lessThanOrEqual\":\"4.14.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.19.270\",\"lessThanOrEqual\":\"4.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.229\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.163\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.86\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.0.16\",\"lessThanOrEqual\":\"6.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.2\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/07f4ca68b0f6bf84b6b391c14b59fd179fcde9c5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4f5d28865c665c9064de631a518f9bc8099d9ce4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/516614a371c26e3334625b4bca19a5362bf658d6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/56e5a7c5ee3f0dc8978b5df2b1a98a1b060c5e2a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6f7d82380fbeaed3a940efc33c23f0c4bbd0fc02\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8be3a7bf773700534a6e8f87f6ed2ed111254be5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/90ff030ca10b69feeebda1427550ebf9ed2ad868\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d165388227aa7e46a9751b90bae6337b5335cdbb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dfd15c5550b9190d5b0f9bcacb3e6436322f3854\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
"redhat_vex": {
"aggregate_severity": "None",
"current_release_date": "2026-06-30T10:31:44+00:00",
"cve": "CVE-2022-50576",
"id": "CVE-2022-50576",
"initial_release_date": "2022-01-01T00:00:00+00:00",
"product_status:known_not_affected": "274",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: serial: pch: Fix PCI device refcount leak in pch_request_dma()",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50576.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…