{"id":"CVE-2022-50146","aliases":["CVE-2022-50146"],"related":[],"kind":"vulnerability","state":"published","title":"PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors","summary":"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]","summarySource":"cvelist","descriptions":[{"lang":"en","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]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: PCI: dwc: Desasignar memoria EPC en errores de dw_pcie_ep_init(). Si dw_pcie_ep_init() no realiza ninguna acción después de inicializar la memoria EPC y asignar la región de memoria MSI, estas últimas acciones no se desharán, lo que provocará una fuga de memoria. Se ha añadido una ruta de limpieza en caso de error para corregir estas fugas. [bhelgaas: registro de confirmaciones]","source":"nvd"}],"published":"2025-06-18T11:03:07.031Z","modified":"2026-06-17T05:22:51.150Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"2fd0c9d966cc11bb5f73556dd788d12f501d8755","fixed":"e7599a5974d4c64eaae8009c3f2e47b9e3223e07","status":"affected"},{"type":"git","introduced":"2fd0c9d966cc11bb5f73556dd788d12f501d8755","fixed":"b03a8f1264ea8c363bec9ef6e37b467f27cb04ea","status":"affected"},{"type":"git","introduced":"2fd0c9d966cc11bb5f73556dd788d12f501d8755","fixed":"2d546db5c80c45cac3ccd929550244fd58f4ff58","status":"affected"},{"type":"git","introduced":"2fd0c9d966cc11bb5f73556dd788d12f501d8755","fixed":"3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479","status":"affected"},{"type":"git","introduced":"2fd0c9d966cc11bb5f73556dd788d12f501d8755","fixed":"8161e9626b50892eaedbd8070ecb1586ecedb109","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.16","status":"unaffected"},{"type":"semver","introduced":"5.10.137","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.61","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.18","lastAffected":"5.18.*","status":"unaffected"},{"type":"semver","introduced":"5.19.2","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.16","fixed":"5.10.137"},{"status":"affected","introduced":"5.11","fixed":"5.15.61"},{"status":"affected","introduced":"5.16","fixed":"5.18.18"},{"status":"affected","introduced":"5.19","fixed":"5.19.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e7599a5974d4c64eaae8009c3f2e47b9e3223e07","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b03a8f1264ea8c363bec9ef6e37b467f27cb04ea","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2d546db5c80c45cac3ccd929550244fd58f4ff58","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8161e9626b50892eaedbd8070ecb1586ecedb109","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50146","url":"https://www.cve.org/CVERecord?id=CVE-2022-50146","licence":"CVE Terms of Use","modified":"2026-05-11T19:13:43.087Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50146","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50146","licence":"Public domain","modified":"2026-06-17T05:22:51.150Z"}],"updatedAt":"2026-11-25T22:58:21.075Z","epss":{"score":0.00201,"percentile":0.10601,"date":"2026-12-01T12:00:22.000Z"}}