CVE-2022-50146

published 18 Jun 2025 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2d546db5c80c45cac3ccd929550244fd58f4ff58, Kernel 3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479, Kernel 8161e9626b50892eaedbd8070ecb1586ecedb109 and 2 more.

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]

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.16, >=2fd0c9d966cc11bb5f73556dd788d12f501d8755 <2d546db5c80c45cac3ccd929550244fd58f4ff58, >=2fd0c9d966cc11bb5f73556dd788d12f501d8755 <3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479, >=2fd0c9d966cc11bb5f73556dd788d12f501d8755 <8161e9626b50892eaedbd8070ecb1586ecedb109, >=2fd0c9d966cc11bb5f73556dd788d12f501d8755 <b03a8f1264ea8c363bec9ef6e37b467f27cb04ea, >=2fd0c9d966cc11bb5f73556dd788d12f501d8755 <e7599a5974d4c64eaae8009c3f2e47b9e3223e072d546db5c80c45cac3ccd929550244fd58f4ff58, 3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479, 8161e9626b50892eaedbd8070ecb1586ecedb109, b03a8f1264ea8c363bec9ef6e37b467f27cb04ea, e7599a5974d4c64eaae8009c3f2e47b9e3223e07

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50146 severity on Zeptric[![CVE-2022-50146](https://zeptric.io/badge/cve/CVE-2022-50146.svg)](https://zeptric.io/cve/CVE-2022-50146)