CVE-2022-50146
PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors
- Published
- Updated
- Reserved
- Assigned by
- Linux
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]
Timeline
ID reserved
By Linux
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.19% · top 91% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
- affected 2fd0c9d966cc11bb5f73556dd788d12f501d8755 – < e7599a5974d4c64eaae8009c3f2e47b9e3223e07
- affected 2fd0c9d966cc11bb5f73556dd788d12f501d8755 – < b03a8f1264ea8c363bec9ef6e37b467f27cb04ea
- affected 2fd0c9d966cc11bb5f73556dd788d12f501d8755 – < 2d546db5c80c45cac3ccd929550244fd58f4ff58
- affected 2fd0c9d966cc11bb5f73556dd788d12f501d8755 – < 3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479
- affected 2fd0c9d966cc11bb5f73556dd788d12f501d8755 – < 8161e9626b50892eaedbd8070ecb1586ecedb109
- affected 4.16
- unaffected < 4.16
- unaffected 5.10.137 – ≤ 5.10.*
- unaffected 5.15.61 – ≤ 5.15.*
- unaffected 5.18.18 – ≤ 5.18.*
- unaffected 5.19.2 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References (5)
- https://git.kernel.org/stable/c/e7599a5974d4c64eaae8009c3f2e47b9e3223e07 (opens in a new tab)
- https://git.kernel.org/stable/c/b03a8f1264ea8c363bec9ef6e37b467f27cb04ea (opens in a new tab)
- https://git.kernel.org/stable/c/2d546db5c80c45cac3ccd929550244fd58f4ff58 (opens in a new tab)
- https://git.kernel.org/stable/c/3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479 (opens in a new tab)
- https://git.kernel.org/stable/c/8161e9626b50892eaedbd8070ecb1586ecedb109 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50146)Record last updated .