CVE-2022-50146
published 2025-06-18CVE-2022-50146: 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…
PriorityP416medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.16%
5.5th percentile
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]
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.2-1 (bookworm) | linux 6.0.2-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 2fd0c9d966cc11bb5f73556dd788d12f501d8755 < e7599a5974d4c64eaae8009c3f2e47b9e3223e07 | e7599a5974d4c64eaae8009c3f2e47b9e3223e07 |
| linux | linux | >= 2fd0c9d966cc11bb5f73556dd788d12f501d8755 < b03a8f1264ea8c363bec9ef6e37b467f27cb04ea | b03a8f1264ea8c363bec9ef6e37b467f27cb04ea |
| linux | linux | >= 2fd0c9d966cc11bb5f73556dd788d12f501d8755 < 2d546db5c80c45cac3ccd929550244fd58f4ff58 | 2d546db5c80c45cac3ccd929550244fd58f4ff58 |
| linux | linux | >= 2fd0c9d966cc11bb5f73556dd788d12f501d8755 < 3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479 | 3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479 |
| linux | linux | >= 2fd0c9d966cc11bb5f73556dd788d12f501d8755 < 8161e9626b50892eaedbd8070ecb1586ecedb109 | 8161e9626b50892eaedbd8070ecb1586ecedb109 |
| linux | linux_kernel | >= 0 < 5.10.140-1 | 5.10.140-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 4.16 < 5.10.137 | 5.10.137 |
| linux | linux_kernel | >= 5.11 < 5.15.61 | 5.15.61 |
| linux | linux_kernel | >= 5.16 < 5.18.18 | 5.18.18 |
| linux | linux_kernel | >= 5.19 < 5.19.2 | 5.19.2 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2022-50146: 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() f
osv·2025-06-18·CVSS 5.5
CVE-2022-50146 [MEDIUM] CVE-2022-50146: 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() f
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]
GHSA
GHSA-6hfv-88f5-hjf6: 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()
ghsa_unreviewed·2025-06-18
CVE-2022-50146 [MEDIUM] CWE-401 GHSA-6hfv-88f5-hjf6: 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()
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]
Red Hat
kernel: PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors
vendor_redhat·2025-06-18·CVSS 5.5
CVE-2022-50146 [MEDIUM] kernel: PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors
kernel: PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors
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]
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterpri
Debian
CVE-2022-50146: linux - In the Linux kernel, the following vulnerability has been resolved: PCI: dwc: D...
vendor_debian·2022·CVSS 5.5
CVE-2022-50146 [MEDIUM] CVE-2022-50146: linux - In the Linux kernel, the following vulnerability has been resolved: PCI: dwc: D...
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]
Scope: local
bookworm: resolved (fixed in 6.0.2-1)
bullseye: resolved (fixed in 5.10.140-1)
forky: resolved (fixed in 6.0.2-1)
sid: resolved (fixed in 6.0.2-1)
trixie: resolved (fixed in 6.0.2-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/2d546db5c80c45cac3ccd929550244fd58f4ff58https://git.kernel.org/stable/c/3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479https://git.kernel.org/stable/c/8161e9626b50892eaedbd8070ecb1586ecedb109https://git.kernel.org/stable/c/b03a8f1264ea8c363bec9ef6e37b467f27cb04eahttps://git.kernel.org/stable/c/e7599a5974d4c64eaae8009c3f2e47b9e3223e07
2025-06-18
Published