CVE-2022-50146

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

published June 18, 2025

CVSS
—
EPSS
0%
Percentile
8.5
In the wild
Unconfirmed
What it is

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]

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00193 · 8.5th percentile
Published
2025-06-18T11:03Z
EPSS history
Timeline
  • 18 JUN 11:03Z
    PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors
    cvelistv5