{"id":"CVE-2022-50146","published":"2025-06-18T11:03:07Z","modified":"2026-05-11T19:13:43Z","title":"PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors\n\nIf dw_pcie_ep_init() fails to perform any action after the EPC memory is\ninitialized and the MSI memory region is allocated, the latter parts won't\nbe undone thus causing a memory leak.  Add a cleanup-on-error path to fix\nthese leaks.\n\n[bhelgaas: commit log]","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00201,"percentile":0.10124,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e7599a5974d4c64eaae8009c3f2e47b9e3223e07","tags":[]},{"url":"https://git.kernel.org/stable/c/b03a8f1264ea8c363bec9ef6e37b467f27cb04ea","tags":[]},{"url":"https://git.kernel.org/stable/c/2d546db5c80c45cac3ccd929550244fd58f4ff58","tags":[]},{"url":"https://git.kernel.org/stable/c/3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479","tags":[]},{"url":"https://git.kernel.org/stable/c/8161e9626b50892eaedbd8070ecb1586ecedb109","tags":[]}],"priority":{"score":2.0,"factors":[{"name":"EPSS percentile","points":2.02}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2fd0c9d966cc11bb5f73556dd788d12f501d8755, < e7599a5974d4c64eaae8009c3f2e47b9e3223e07",">= 2fd0c9d966cc11bb5f73556dd788d12f501d8755, < b03a8f1264ea8c363bec9ef6e37b467f27cb04ea",">= 2fd0c9d966cc11bb5f73556dd788d12f501d8755, < 2d546db5c80c45cac3ccd929550244fd58f4ff58",">= 2fd0c9d966cc11bb5f73556dd788d12f501d8755, < 3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479",">= 2fd0c9d966cc11bb5f73556dd788d12f501d8755, < 8161e9626b50892eaedbd8070ecb1586ecedb109"]},{"vendor":"Linux","product":"Linux","versions":["4.16"]}],"euvd":{"id":"EUVD-2022-55412","exploited":false,"provenance":"source"}}