VYPR
Unrated severityNVD Advisory· Published Jun 18, 2025

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

CVE-2022-50146

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]

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

126

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.