Vulnerability 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]
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.16, < 5.10.137 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/2d546db5c80c45cac3ccd929550244fd58f4ff58Patch
- https://git.kernel.org/stable/c/3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479Patch
- https://git.kernel.org/stable/c/8161e9626b50892eaedbd8070ecb1586ecedb109Patch
- https://git.kernel.org/stable/c/b03a8f1264ea8c363bec9ef6e37b467f27cb04eaPatch
- https://git.kernel.org/stable/c/e7599a5974d4c64eaae8009c3f2e47b9e3223e07Patch
FAQ
What is CVE-2022-50146?
CVE-2022-50146 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 ...
How severe is CVE-2022-50146?
CVE-2022-50146 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-50146?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.