CVE-2022-50146

Source
https://cve.org/CVERecord?id=CVE-2022-50146
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50146.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50146
Downstream
Related
Published
2025-06-18T11:03:07.031Z
Modified
2026-06-18T03:57:42.822565664Z
Summary
PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors
Details

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

PCI: dwc: Deallocate EPC memory on dwpcieep_init() errors

If dwpcieep_init() fails to perform any action after the EPC memory is initialized and the MSI memory region is allocated, the latter parts won't be undone thus causing a memory leak. Add a cleanup-on-error path to fix these leaks.

[bhelgaas: commit log]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50146.json"
}
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
2fd0c9d966cc11bb5f73556dd788d12f501d8755
Fixed
e7599a5974d4c64eaae8009c3f2e47b9e3223e07
Fixed
b03a8f1264ea8c363bec9ef6e37b467f27cb04ea
Fixed
2d546db5c80c45cac3ccd929550244fd58f4ff58
Fixed
3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479
Fixed
8161e9626b50892eaedbd8070ecb1586ecedb109

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.16.0
Fixed
5.10.137
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.61
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.18.18
Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
5.19.2

Database specific

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