CVE-2022-50146 Details
Description
In the Linux kernel, the following vulnerability has been resolved: PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors If dw_pcie_ep_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]
A vulnerability in the Linux kernel's PCI DWC component can lead to a memory leak. This issue arises when the 'dw_pcie_ep_init()' function fails to execute properly after initializing EPC memory and allocating the MSI memory region. In such cases, the allocated MSI memory is not released, causing a memory leak. The vulnerability has been addressed by adding a cleanup-on-error path to reverse these actions and prevent the leak.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2d546db5c80c45cac3ccd929550244fd58f4ff58 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8161e9626b50892eaedbd8070ecb1586ecedb109 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b03a8f1264ea8c363bec9ef6e37b467f27cb04ea | kernel.org | Patch |
| https://git.kernel.org/stable/c/e7599a5974d4c64eaae8009c3f2e47b9e3223e07 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.16, < 5.10.137 >= 5.11, < 5.15.61 >= 5.16, < 5.18.18 >= 5.19, < 5.19.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 17, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |